From a6f538cbcd67303a8d7e8ff6f9ef79f68182649f Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 8 Jan 2020 12:48:55 +0000 Subject: [PATCH] Bug 24339: Remove SIP payment types from staff pay screens Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- .../prog/en/modules/members/boraccount.tt | 5 ++++- .../prog/en/modules/members/paycollect.tt | 10 ++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) 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 7427d41e38..4d7adbb41d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt @@ -143,12 +143,15 @@ Required [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] - [% IF payment_types %] + [% SET excluded = ['SIP00', 'SIP01', 'SIP02'] %] + [% IF payment_types > 3 %]
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt index fa358135e6..61220f1584 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -124,13 +124,16 @@ 0.00 [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] - [% IF payment_types %] + [% SET excluded = ['SIP00', 'SIP01', 'SIP02'] %] + [% IF payment_types.size > 3 %]
  • @@ -254,13 +257,16 @@ 0.00 [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] - [% IF payment_types %] + [% SET excluded = ['SIP00', 'SIP01', 'SIP02'] %] + [% IF payment_types.size > 3 %]
  • -- 2.39.5