[% IF ( error_registers ) %]
[% END %]
[% IF register.cashups %]
[% END %]
[% END %]
[% ELSE %]
[% IF ( error_cashup_permission ) %]
You do not have permission to perform cashup actions.
[% END %]
[% IF ( error_refund_permission ) %]
You do not have permission to perform refund actions.
[% END %]
[% IF ( CAN_user_cash_management_cashup ) %]
[% END %]
Transaction history for [% register.name | html %]
Summary
-
[% IF register.last_cashup %]
- Last cashup: [% register.last_cashup.timestamp | $KohaDates with_hours => 1 %] (Summary) [% END %]
- Float: [% register.starting_float | $Price %]
- Total income (cash): [% accountlines.credits_total * -1 | $Price %] ([% accountlines.credits_total(payment_type => [ 'CASH', 'SIP00' ]) * -1 | $Price %])
- Total outgoing (cash): [% accountlines.debits_total * -1 | $Price %] ([% accountlines.debits_total( payment_type => [ 'CASH', 'SIP00' ]) * -1 | $Price %])
- Total bankable: [% accountlines.total( payment_type => [ 'CASH', 'SIP00' ]) * -1 | $Price %]
Transactions since [% register.last_cashup.timestamp | $KohaDates with_hours => 1 %]
[% ELSE %]Transactions to date
[% END %]ID | DATA | Transaction | Description | Price | Total | Actions | [% FOREACH accountline IN accountlines %] [% IF accountline.is_credit %] [% FOREACH credit IN accountline.credit_offsets %] [% IF credit.debit %]
---|---|---|---|---|---|---|
[% accountline.accountlines_id | html %] | { "type": "credit", "identifier": "[%- accountline.credit_number | html -%]", "description": "[%- PROCESS account_type_description account=accountline -%] ([% AuthorisedValues.GetByCode( 'PAYMENT_TYPE', accountline.payment_type ) | html %])", "amount": "[% accountline.amount * -1 | $Price %]", "timestamp": "[% accountline.timestamp | $KohaDates with_hours => 1 %]" } | [%- PROCESS account_type_description account=credit.debit -%] [%- IF credit.debit.description -%] ([% credit.debit.description | html %])[%- END -%] [%- IF ( credit.debit.itemnumber ) -%] ([% credit.debit.item.biblio.title | html %])[%- END -%] | [% credit.debit.amount | $Price %] | [% IF CAN_user_cash_management_anonymous_refund && !(credit.debit.status == 'REFUNDED') && !(credit.debit.debit_type_code == 'PAYOUT') %] [% ELSIF CAN_user_updatecharges_refund && !(credit.debit.status == 'REFUNDED') && credit.debit.borrowernumber && !(credit.debit.debit_type_code == 'PAYOUT') %] [% END %] | ||
[% accountline.accountlines_id | html %] | { "type": "debit", "identifier": "[%- accountline.credit_number | html -%]", "description": "[%- PROCESS account_type_description account=accountline -%] ([% AuthorisedValues.GetByCode( 'PAYMENT_TYPE', accountline.payment_type ) | html %])", "amount": "[% accountline.amount * -1 | $Price %]", "timestamp": "[% accountline.timestamp | $KohaDates with_hours => 1 %]" } | [%- PROCESS account_type_description account=debit.credit -%] [%- IF debit.credit.description %][% debit.credit.description | html %][%- END -%] [%- IF ( debit.credit.itemnumber ) -%] ([% debit.credit.item.biblio.title | html %])[%- END -%] | [% debit.credit.amount | $Price %] | [%- IF debit.credit.credit_type_code == 'REFUND' -%] Details[%- END -%] | ||
Total income: | [% accountlines.total * -1 | $Price %] |
Older transactions
[% IF trange_f %]ID | DATA | Transaction | Description | Price | Total | Actions | [% FOREACH accountline IN past_accountlines %] [% IF accountline.is_credit %] [% FOREACH credit IN accountline.credit_offsets %] [% IF credit.debit %]
---|---|---|---|---|---|---|
[% accountline.accountlines_id | html %] | { "type": "credit", "identifier": "[%- accountline.credit_number | html -%]", "description": "[%- PROCESS account_type_description account=accountline -%] ([% AuthorisedValues.GetByCode( 'PAYMENT_TYPE', accountline.payment_type ) | html %])", "amount": "[% accountline.amount * -1 | $Price %]", "timestamp": "[% accountline.timestamp | $KohaDates with_hours => 1 %]" } | [%- PROCESS account_type_description account=credit.debit -%] [%- IF credit.debit.description -%] ([% credit.debit.description | html %])[%- END -%] [%- IF ( credit.debit.itemnumber ) -%] ([% credit.debit.item.biblio.title | html %])[%- END -%] | [% credit.debit.amount | $Price %] | [% IF CAN_user_cash_management_anonymous_refund && !(credit.debit.status == 'REFUNDED') && !(credit.debit.debit_type_code == 'PAYOUT') %] [% ELSIF CAN_user_updatecharges_refund && !(credit.debit.status == 'REFUNDED') && credit.debit.borrowernumber && !(credit.debit.debit_type_code == 'PAYOUT') %] [% END %] | ||
[% accountline.accountlines_id | html %] | { "type": "debit", "identifier": "[%- accountline.credit_number | html -%]", "description": "[%- PROCESS account_type_description account=accountline -%] ([% AuthorisedValues.GetByCode( 'PAYMENT_TYPE', accountline.payment_type ) | html %])", "amount": "[% accountline.amount * -1 | $Price %]", "timestamp": "[% accountline.timestamp | $KohaDates with_hours => 1 %]" } | [%- PROCESS account_type_description account=debit.credit -%] [%- IF debit.credit.description %][% debit.credit.description | html %][%- END -%] [%- IF ( debit.credit.itemnumber ) -%] ([% debit.credit.item.biblio.title | html %])[%- END -%] | [% debit.credit.amount | $Price %] | [%- IF debit.credit.credit_type_code == 'REFUND' -%] Details[%- END -%] | ||
Total income: | [% past_accountlines.total * -1 | $Price %] |
Cashup history
Date | Cashier | Amount | Actions |
---|