Group have only few information directly available to the user:
- the group number
- the journal used
- the kind of operation (
Statement for example), choosing the right
Group couldn’t easily be done, as all
Group are showed, and information directly available is inexistant (only the
number is usually useful).
Adding some computed fields on
Group could be easily done.
count: number of payments associated to the group.
amount: the total amount of the payments associated to the group.
paid amount: the total amount of the succeeded payments associated to the group.
complete: boolean for marking the group when all payments are in
complete field searchable would permit to filter out
Group which have been already completed.
Implementing the proposal via
Function fields should be straightful (with only getter, so read-only fields).
The fields would be displayed on form and list for
complete field, it could be using a stored Boolean instead of a Function.