From a8dfd51a86a48399d3f3db6ed0b0e12fb1fcfddb Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 15 Apr 2021 18:58:33 +0000 Subject: [PATCH] Bug 27796: (QA follow-up) Missing filters Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart (cherry picked from commit d3683d873ad4cbc6a94cea2d4040675e2ddecd85) Signed-off-by: Fridolin Somers --- .../intranet-tmpl/prog/en/includes/transaction_types.inc | 8 ++++---- .../intranet-tmpl/prog/en/modules/members/boraccount.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/transaction_types.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/transaction_types.inc index 73d6253f53..267e5b30ed 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/transaction_types.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/transaction_types.inc @@ -7,8 +7,8 @@ [% IF payment_types.size > 0 %]
  • [% IF Koha.Preference('UseCashRegisters') %] - - [% IF type == 'refund' %] [% END %] @@ -18,8 +18,8 @@ Required [%- ELSE -%] - - [% IF type == 'refund' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt index 58b66747c1..6b96aaa7c7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt @@ -115,7 +115,7 @@ [% END %] [% IF CAN_user_updatecharges_refund && account.is_debit && ( account.amountoutstanding != account.amount ) && !(account.status == 'REFUNDED') && !(account.debit_type_code == 'PAYOUT') %] - + [% END %] [% IF CAN_user_updatecharges_discount && account.is_debit && ( account.amountoutstanding == account.amount ) && !(account.debit_type_code == 'PAYOUT') %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt index 2f4c2fd2dc..51f3b90b84 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt @@ -101,9 +101,9 @@ [% IF CAN_user_cash_management_anonymous_refund && !(credit.debit.status == 'REFUNDED' ) %] - + [% ELSIF CAN_user_updatecharges_refund && !(credit.debit.status == 'REFUNDED') && credit.debit.borrowernumber %] - + [% END %] @@ -190,7 +190,7 @@ [% IF CAN_user_cash_management_refund_cash_registers && !(credit.debit.status == 'REFUNDED') && !(credit.debit.debit_type_code == 'PAYOUT') %] - + [% END %] -- 2.39.5