Bugzilla – Attachment 104620 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]
[19.11.x] Bug 24339: Remove SIP payment types from staff pay screens
1911x-Bug-24339-Remove-SIP-payment-types-from-staf.patch (text/plain), 2.34 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-05-08 20:52:32 UTC
(
hide
)
Description:
[19.11.x] Bug 24339: Remove SIP payment types from staff pay screens
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-05-08 20:52:32 UTC
Size:
2.34 KB
patch
obsolete
>From 31684bef169cd02519aa6cb76b41f92b3a48cd4a 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] [19.11.x] Bug 24339: Remove SIP payment types from staff pay > screens > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > .../prog/en/modules/members/paycollect.tt | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > >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 54eec334b4..daba24805d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >@@ -129,13 +129,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> >@@ -258,13 +261,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.26.2
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