Bugzilla – Attachment 98187 Details for
Bug 24525
Hide SIP payment types from the Point of Sale page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24525: Remove SIP payment types from point of sale
Bug-24525-Remove-SIP-payment-types-from-point-of-s.patch (text/plain), 1.90 KB, created by
David Nind
on 2020-01-30 21:26:05 UTC
(
hide
)
Description:
Bug 24525: Remove SIP payment types from point of sale
Filename:
MIME Type:
Creator:
David Nind
Created:
2020-01-30 21:26:05 UTC
Size:
1.90 KB
patch
obsolete
>From 0e578d2142cae2bb6ee9fa93b9b27c37326f8c1c Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 28 Jan 2020 14:05:35 +0000 >Subject: [PATCH] Bug 24525: Remove SIP payment types from point of sale > >This patch removes the SIP payments types from displaying in the select >options on the point of sale payment page. > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >index 6f87d8b510..647e57865b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >@@ -112,8 +112,11 @@ > <input type="hidden" name="change" value="0.00"/> > </li> > >- [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] >- [% IF payment_types %] >+ [% SET payment_types = [] %] >+ [% FOR pt IN AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] >+ [% NEXT IF pt.authorised_value.grep("^SIP[[:digit:]]{2}$").size() %] >+ [% payment_types.push(pt) %] >+ [% END %] > <li> > <label for="payment_type">Payment type: </label> > <select name="payment_type" id="payment_type"> >@@ -122,7 +125,6 @@ > [% END %] > </select> > </li> >- [% END %] > > [% IF Koha.Preference('UseCashRegisters') %] > <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 24525
:
98035
|
98187
|
98547
|
98548
|
98580
|
98581
|
98641