Bugzilla – Attachment 96988 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.71 KB, created by
Martin Renvoize (ashimema)
on 2020-01-08 12:49:58 UTC
(
hide
)
Description:
Bug 24339: Remove SIP payment types from staff pay screens
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-01-08 12:49:58 UTC
Size:
3.71 KB
patch
obsolete
>From 01c00c737f8434cb10e348d272047f7409c208a5 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 > >--- > .../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 dc7f0cc544..71b571f88e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -140,12 +140,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.20.1
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