Welcome | Get started | Dive into Lino | Contribute | Topics | Reference | More

Contacts

This document specifies how the lino_tera.lib.contacts plugin is being used in Lino Tera.

This page is a tested document and the following instructions are used for initialization:

>>> from lino import startup
>>> startup('lino_book.projects.lydia.settings.doctests')
>>> from lino.api.doctest import *
>>> dd.plugins.contacts
lino_tera.lib.contacts (extends_models=['Person'], needs_plugins=['lino_xl.lib.countries', 'lino.modlib.system'])
class lino_tera.lib.contacts.Partner
pf_residence

The residence used to determine the fee for invoicing.

>>> rt.show(courses.Residences)
======= ======== =========
 value   name     text
------- -------- ---------
 10      inside   Inside
 20      ouside   Outside
======= ======== =========
pf_income

The income category used to determine the fee for invoicing.

>>> rt.show(courses.IncomeCategories)
======= ====== ======
 value   name   text
------- ------ ------
 10             A
 20             B
 30             C
 40             D
 50             E
======= ====== ======
pf_composition

The family composition used to determine the fee for invoicing.

>>> rt.show(courses.HouseholdCompositions)
======= =============== ====================================
 value   name            text
------- --------------- ------------------------------------
 10      no_child        No participant below 18
 20      one_child       One participant below 18
 30      more_children   More than one participant below 18
======= =============== ====================================