Koha::Cash::Register - Koha cashregister Object class
Return the library linked to this cash register
Return a set of cashup actions linked to this cash register
Return a set of cashup actions linked to this cash register
Return a set of accountlines linked to this cash register
my $lines = Koha::Cash::Registers->find($id)->outstanding_accountlines;
Return a set of accountlines linked to this cash register since the last cashup action
Local store method to prevent direct manipulation of the 'branch_default' field
Set the current cash register as the branch default
Drop the current cash register as the branch default
my $action = $cash_register->add_cashup( { manager_id => $logged_in_user->id, amount => $cash_register->outstanding_accountlines->total } );
Add a new cashup action to the till, returns the added action.
Martin Renvoize <martin.renvoize@ptfs-europe.com>