20130722 (Monday, 22 July 2013)¶
ExpectedGuests, WaitingGuests, CreateClientEvent¶
Worked on the
welfare.reception.WaitingGuestsstart to be ready.
New action “Appointment” (pcsw.Clients.create_event = CreateClientEvent()) for checking in visitors without appointment. This action is currently declared show_in_workflow, so it is not in the top toolbar but in the workflow buttons (Status tab).
Checkin in will reassign the event¶
Worked on CreateClientEvent. Lino can now handle a client checkin without prior appointment.
The basic idea is to simply first create an appointment.
Let’s say that Theresia is reception clerk and the client wants to see Alicia.
Theresia opens the Detail of the Client and clicks on “Appointment”, selects Alicia as user, then OK.
Lino won’t store directly Alicia as responsible user. That’s because we have the rule: when somebody creates a calendar event for a colleague, then the colleague must first accept her responsibility for that event by clicking “Accept” in the “My assigned events” table.
But when a client is physically present and checked in, then that rule is not realistic, there will be a real-time solution. That’s why the reception clerk has the right to shortcut that responsibility.
New warning “Checkin in will reassign the event from Theresia to Alicia”
New field SiteConfig.client_calender needed because CreateClientEvent must set this, otherwise the Guest won’t get created.
Reading Belgian eID cards¶
Re-vamped once more an old topic (see 2013-01-05).
Most Lino-Welfare users, but especially those of the
need to electronically read Belgian eID cards of clients and
store the data of these cards (name, birth date, picture,…)
in their database.
Note that I still don’t really understand what the MW actually does: it “offers components for using the Belgian eID on your computer.”, but what does that mean concretely?
Should I write my own applet which accesses the smartcard directly? Johan obviously started a project like that, eid-nomw-sdk-applet, but that was in September 2012 and I have no news since then.
eid-viewer seems to be the current GUI viewer.
commons-eid-viewer: Next-Gen eID viewer built upon the robust commons-eid classes. Only one commit “first experiments” from June 12, 2013 Owner: .
commons-eid: The Commons eID Library provides a very generic library to handle the Belgian eID. The library can be used both for desktop applications as well as browser based applets.
This last one sounds interesting. But the README says:
The following is required for compiling the Commons eID software: * Oracle Java 1.6.0_33 * Apache Maven 3.0.4 * Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy
So before continuing in this direction I’d have to learn about Maven. Okay… not feeling ready for this right now…
Final sprint before release¶
welfare.reception module isn’t yet perfect,
but tonight we plan to release Lino-Welfare 1.1.8.
The confirmation “Client X started waiting for user Y” at the end of CreateClientEvent mentions the wrong user when you use the Event Detail to click on “checkin”.
Maybe a direct button “Checkin” on Client which create an appointment without using the deviation via assigned_to. But also check whether the client truly doesn’t have any appointment.
Checkin action should check for valid eid card and issue a warning when appropriate.