Contacts

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

A tested document

This is a tested document. 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'])
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
======= =============== ====================================