[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE Price %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Cashup › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %]
[% IF ( error_registers ) %]

You must have at least one cash register associated with the library before you can record payments.

[% IF ( CAN_user_parameters_manage_cash_registers ) %]
[% END %]
[% ELSE %] [% IF ( error_cashup_permission ) %]
You do not have permission to perform cashup actions.
[% END %] [% IF CAN_user_cash_management_cashup %]
[% END %]

Cash summary for [% library.branchname | html %]

Summary

  • Total income (cash):
  • Total outgoing (cash):
  • Total bankable:
[% IF CAN_user_cash_management_cashup %] [% END %] [% SET bankable = 0, ctotal = 0, dtotal = 0, cctotal = 0, cdtotal = 0 %] [% FOREACH register IN registers %] [% IF CAN_user_cash_management_cashup %] [% END %] [% END %] [% IF CAN_user_cash_management_cashup %] [% END %]
Register name Register description Last cashup Float Bankable Income (cash) Outgoing (cash)Actions
[% register.name | html %] [% register.description | html %] [%- IF register.last_cashup -%] [% register.last_cashup.timestamp | $KohaDates with_hours => 1 %] (Summary) [%- ELSE -%] No last cashup [%- END -%] [% register.starting_float | $Price %] [% SET rbankable = ( register.outstanding_accountlines.total( payment_type => 'CASH') * -1 ) %] [% SET bankable = bankable + rbankable %] [% rbankable | $Price %] [% SET rctotal = ( register.outstanding_accountlines.credits_total * -1 ) %] [% SET rcctotal = ( register.outstanding_accountlines.credits_total( payment_type => 'CASH') * -1 ) %] [% rctotal | $Price %] ([% rcctotal | $Price %]) [% SET ctotal = ctotal + rctotal %] [% SET cctotal = cctotal + rcctotal %] [% SET rdtotal = ( register.outstanding_accountlines.debits_total * -1 ) %] [% SET rcdtotal = ( register.outstanding_accountlines.debits_total( payment_type => 'CASH') * -1 ) %] [% rdtotal | $Price %] ([% rcdtotal | $Price %]) [% SET dtotal = dtotal + rdtotal %] [% SET cdtotal = cdtotal + rcdtotal %]
Totals: [% bankable | $Price %] [% ctotal | $Price %] ([% cctotal | $Price %]) [% dtotal | $Price %] ([% cdtotal | $Price %])
[% END %]
[% INCLUDE 'modals/cashup_summary.inc' %] [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% Asset.js("js/cashup_modal.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]