ISIP contracts (Chatelet)

>>> from lino import startup
>>> startup('lino_welfare.projects.mathieu.settings.demo')
>>> from lino.api.doctest import *
>>> ses = rt.login('robin')
>>> translation.activate('en')

Contracts

>>> rt.show(isip.Contracts)
... 
==== ============== ============ ========================= ================== =====================
 ID   applies from   date ended   Client                    Responsible (IS)   Contract Type
---- -------------- ------------ ------------------------- ------------------ ---------------------
 2    08/08/2013     01/12/2014   AUSDEMWALD Alfons (116)   Mélanie Mélard     VSE Arbeitssuche
 6    23/03/2014     29/01/2015   EVERS Eberhart (127)      Caroline Carnol    VSE Ausbildung
 9    13/04/2014     19/02/2015   FAYMONVILLE Luc (130*)    Hubert Huppertz    VSE Vollzeitstudium
 11   27/03/2014     02/02/2015   HILGERS Hildegard (133)   Alicia Allmanns    VSE Ausbildung
 14   11/05/2014     19/03/2015   JONAS Josef (139)         Hubert Huppertz    VSE Vollzeitstudium
 16   14/11/2013     09/03/2015   LAZARUS Line (144)        Mélanie Mélard     VSE Ausbildung
 19   29/12/2013     23/04/2015   MEESSEN Melissa (147)     Mélanie Mélard     VSE Vollzeitstudium
 21   23/02/2013     18/06/2014   RADERMACHER Fritz (158)   Alicia Allmanns    VSE Ausbildung
 23   16/01/2014     11/05/2015   RADERMACHER Hedi (161)    Mélanie Mélard     VSE Lehre
 26   20/02/2014     15/06/2015   BRECHT Bernd (177)        Hubert Huppertz    VSE Ausbildung
 29   20/03/2014     13/07/2015   JEANÉMART Jérôme (181)    Hubert Huppertz    VSE Vollzeitstudium
==== ============== ============ ========================= ================== =====================

This contract has a slave table EntriesByContract which contains non-ascii characters:

>>> obj = isip.Contract.objects.get(id=1)
>>> rt.show(isip.EntriesByContract, obj)
=================== ============
 Short description   Date
------------------- ------------
 Évaluation 1        29/10/2012
 Évaluation 2        29/11/2012
 Évaluation 3        31/12/2012
 Évaluation 4        31/01/2013
 Évaluation 5        28/02/2013
 Évaluation 6        28/03/2013
 Évaluation 7        29/04/2013
 Évaluation 8        29/05/2013
 Évaluation 9        01/07/2013
 Évaluation 10       01/08/2013
=================== ============