Bug 26403: (QA follow-up) Add missing debit and credit types to includes
This adds the missing debit and credit types to the includes, namely:
DISCOUNT, PURCHASE, PAYOUT, and VOID.
I sorted them as they appear in the GUI (alphabetically) so it's a little
easier to spot missing ones.
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c76533c5a1)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
d6632c1d1c
commit
ef4b61dd08
|
|
@ -23,22 +23,25 @@
|
|||
[%- CASE 'RENT_DAILY_RENEW' -%]<span>Renewal of daily rental item</span>
|
||||
[%- CASE 'RESERVE' -%]<span>Hold fee</span>
|
||||
[%- CASE 'RESERVE_EXPIRED' -%]<span>Hold waiting too long</span>
|
||||
[%- CASE 'Payout' -%]<span>Payout</span>
|
||||
[%- CASE 'PAYOUT' -%]<span>Payment from library to patron</span>
|
||||
[%- CASE 'VOID' -%]<span>Credit has been voided</span>
|
||||
[%- CASE -%]<span>[% debit_type.description | html %]</span>
|
||||
[%- END -%]
|
||||
[%- END -%]
|
||||
|
||||
[%- BLOCK credit_type_description -%]
|
||||
[%- SWITCH credit_type.code -%]
|
||||
[%- CASE 'PAYMENT' -%]<span>Payment</span>
|
||||
[%- CASE 'WRITEOFF' -%]<span>Writeoff</span>
|
||||
[%- CASE 'FORGIVEN' -%]<span>Forgiven</span>
|
||||
[%- CASE 'CANCELLATION' -%]<span>Cancelled charge</span>
|
||||
[%- CASE 'CREDIT' -%]<span>Credit</span>
|
||||
[%- CASE 'DISCOUNT' -%]<span>Discount</span>
|
||||
[%- CASE 'FORGIVEN' -%]<span>Forgiven</span>
|
||||
[%- CASE 'LOST_FOUND' -%]<span>Lost item fee refund</span>
|
||||
[%- CASE 'OVERPAYMENT' -%]<span>Overpayment refund</span>
|
||||
[%- CASE 'REFUND' -%]<span>Refund</span>
|
||||
[%- CASE 'CANCELLATION' -%]<span>Cancelled charge</span>
|
||||
[%- CASE 'PAYMENT' -%]<span>Payment</span>
|
||||
[%- CASE 'PROCESSING_FOUND' -%]<span>Lost item processing fee refund</span>
|
||||
[%- CASE 'PURCHASE' -%]<span>Purchase</span>
|
||||
[%- CASE 'REFUND' -%]<span>Refund</span>
|
||||
[%- CASE 'WRITEOFF' -%]<span>Writeoff</span>
|
||||
[%- CASE -%]<span>[% credit_type.description | html %]</span>
|
||||
[%- END -%]
|
||||
[%- END -%]
|
||||
|
|
|
|||
|
|
@ -25,22 +25,25 @@
|
|||
[%- CASE 'RENT_DAILY_RENEW' -%]<span>Renewal of daily rental item</span>
|
||||
[%- CASE 'RESERVE' -%]<span>Hold fee</span>
|
||||
[%- CASE 'RESERVE_EXPIRED' -%]<span>Hold waiting too long</span>
|
||||
[%- CASE 'Payout' -%]<span>Payout</span>
|
||||
[%- CASE 'PAYOUT' -%]<span>Payment from library to patron</span>
|
||||
[%- CASE 'VOID' -%]<span>Credit has been voided</span>
|
||||
[%- CASE -%]<span>[% debit_type.description | html %]</span>
|
||||
[%- END -%]
|
||||
[%- END -%]
|
||||
|
||||
[%- BLOCK credit_type_description -%]
|
||||
[%- SWITCH credit_type_code -%]
|
||||
[%- CASE 'PAYMENT' -%]<span>Payment</span>
|
||||
[%- CASE 'WRITEOFF' -%]<span>Writeoff</span>
|
||||
[%- CASE 'FORGIVEN' -%]<span>Forgiven</span>
|
||||
[%- CASE 'CANCELLATION' -%]<span>Cancelled charge</span>
|
||||
[%- CASE 'CREDIT' -%]<span>Credit</span>
|
||||
[%- CASE 'DISCOUNT' -%]<span>Discount</span>
|
||||
[%- CASE 'FORGIVEN' -%]<span>Forgiven</span>
|
||||
[%- CASE 'LOST_FOUND' -%]<span>Lost item fee refund</span>
|
||||
[%- CASE 'OVERPAYMENT' -%]<span>Overpayment refund</span>
|
||||
[%- CASE 'REFUND' -%]<span>Refund</span>
|
||||
[%- CASE 'CANCELLATION' -%]<span>Cancelled charge</span>
|
||||
[%- CASE 'PAYMENT' -%]<span>Payment</span>
|
||||
[%- CASE 'PROCESSING_FOUND' -%]<span>Lost item processing fee refund</span>
|
||||
[%- CASE 'PURCHASE' -%]<span>Purchase</span>
|
||||
[%- CASE 'REFUND' -%]<span>Refund</span>
|
||||
[%- CASE 'WRITEOFF' -%]<span>Writeoff</span>
|
||||
[%- CASE -%]<span>[% credit_type.description | html %]</span>
|
||||
[%- END -%]
|
||||
[%- END -%]
|
||||
|
|
|
|||
Loading…
Reference in New Issue