Bugzilla – Attachment 97966 Details for
Bug 24339
SIP codes are missing from the default payment_types on installation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24339: Remove SIP payment types from staff pay screens
Bug-24339-Remove-SIP-payment-types-from-staff-pay-.patch (text/plain), 3.80 KB, created by
Jonathan Druart
on 2020-01-27 10:35:42 UTC
(
hide
)
Description:
Bug 24339: Remove SIP payment types from staff pay screens
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-01-27 10:35:42 UTC
Size:
3.80 KB
patch
obsolete
>From f644208350f370d1933254a383098a0bb3afdf1c Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >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 <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 5 ++++- > koha-tmpl/intranet-tmpl/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 @@ > <span class="required">Required</span> > </li> > [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] >- [% IF payment_types %] >+ [% SET excluded = ['SIP00', 'SIP01', 'SIP02'] %] >+ [% IF payment_types > 3 %] > <li> > <label for="transaction_type">Transaction type: </label> > <select name="transaction_type" id="transaction_type"> > [% FOREACH pt IN payment_types %] >+ [% UNLESS excluded.grep("^$pt.authorised_value\$").size %] > <option value="[% pt.authorised_value | html %]">[% pt.lib | html %]</option> >+ [% END %] > [% END %] > </select> > </li> >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 @@ > <span id="change">0.00</span> > </li> > [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] >- [% IF payment_types %] >+ [% SET excluded = ['SIP00', 'SIP01', 'SIP02'] %] >+ [% IF payment_types.size > 3 %] > <li> > <label for="payment_type">Payment type: </label> > <select name="payment_type" id="payment_type"> > <option value=""></option> > [% FOREACH pt IN payment_types %] >+ [% UNLESS excluded.grep("^$pt.authorised_value\$").size %] > <option value="[% pt.authorised_value | html %]">[% pt.lib | html %]</option> >+ [% END %] > [% END %] > </select> > </li> >@@ -254,13 +257,16 @@ > <span id="change">0.00</span> > </li> > [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] >- [% IF payment_types %] >+ [% SET excluded = ['SIP00', 'SIP01', 'SIP02'] %] >+ [% IF payment_types.size > 3 %] > <li> > <label for="payment_type">Payment type: </label> > <select name="payment_type" id="payment_type"> > <option value=""></option> > [% FOREACH pt IN payment_types %] >+ [% UNLESS excluded.grep("^$pt.authorised_value\$").size %] > <option value="[% pt.authorised_value | html %]">[% pt.lib | html %]</option> >+ [% END %] > [% END %] > </select> > </li> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24339
:
96976
|
96988
|
97676
|
97677
|
97962
|
97963
|
97965
| 97966 |
97967
|
104619
|
104620
|
104621