Bugzilla – Attachment 69299 Details for
Bug 19466
Cardnumber auto calc is broken because field is required
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19466 - Check if cardnumber mandatory
Bug-19466---Check-if-cardnumber-mandatory.patch (text/plain), 1.28 KB, created by
Dilan Johnpullé
on 2017-11-22 23:19:00 UTC
(
hide
)
Description:
Bug 19466 - Check if cardnumber mandatory
Filename:
MIME Type:
Creator:
Dilan Johnpullé
Created:
2017-11-22 23:19:00 UTC
Size:
1.28 KB
patch
obsolete
>From 7eb46decdedb342e11f0b40bc19bed8b0e6290cc Mon Sep 17 00:00:00 2001 >From: David Bourgault <david.bourgault@inlibro.com> >Date: Wed, 22 Nov 2017 16:55:09 -0500 >Subject: [PATCH] Bug 19466 - Check if cardnumber mandatory >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Followed test plan and patch applies and functions as expected. >Signed-off-by: Dilan Johnpullé <dilan@calyx.net.au> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 8a17653..9c5c8b4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -651,7 +651,7 @@ $(document).ready(function() { > [% ELSE %] > <label for="cardnumber" class="validated"> > [% END %] >- [% IF autoMemberNum %] >+ [% IF autoMemberNum && !BorrowerMandatoryField.match('.*cardnumber.*') %] > Card number<br>(<u>leave blank for auto calc during registration</u>): </label> > [% ELSE %] > Card number: </label> >-- >2.1.4
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 19466
:
68099
|
69298
|
69299
|
70056
|
71473
|
71534
|
71558
|
74957