Saturday, November 10, 2018

I continued working for Lino Tera on ticket #2651 (which is related to #2658). I realized that neither presences nor calendar entries (cal.Guest or cal.Event) are lino_xl.lib.invoicing.Invoiceable, but enrolment (lino_tera.lib.courses.Enrolment). Because not every presence is invoiceable, and only the enrolment (and its dossier) can decide this. There are dossiers for whom they invoice a maximum number of presences per month, if they come more often then it’s free. For family therapies they don’t invoice per presence but per calendar entry.