Koha::Cash::Register::Cashup - Koha Cash Register Cashup Object class
my $cashup = Koha::Cash::Register::Actions::Cashup->search( $where, $attr );
Returns a list of cash register cashup.
my $summary = $cashup->summary;
Return a hashref containing a summary of transactions that make up this cashup.
Fetch the accountlines associated with this cashup
Internal method to determine the session boundaries for this cashup. Returns ($session_start, $session_end) timestamps.
Internal method to determine the effective end timestamp of the session this cashup closes.
For a one-phase cashup, the session ends at $self->timestamp. For a two-phase workflow (a preceding CASHUP_START with no intervening CASHUP), the session ends at the CASHUP_START timestamp so that transactions made between CASHUP_START and CASHUP are excluded from this cashup's summary.
Returns the session end timestamp.
This method returns the mapping for representing a Koha::Cash::Register::Cashup object on the API.
Martin Renvoize <martin.renvoize@ptfs-europe.com>