Bugzilla – Attachment 75958 Details for
Bug 12310
Decimal separators issues in patrons payments/fines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12310: (QA follow-up) Fix typo: unformating → unformatting
Bug-12310-QA-follow-up-Fix-typo-unformating--unfor.patch (text/plain), 5.46 KB, created by
Victor Grousset/tuxayo
on 2018-06-11 14:50:08 UTC
(
hide
)
Description:
Bug 12310: (QA follow-up) Fix typo: unformating → unformatting
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2018-06-11 14:50:08 UTC
Size:
5.46 KB
patch
obsolete
>From 93c4f1cbd469ce4832834888bdfedeed4256931b Mon Sep 17 00:00:00 2001 >From: Victor Grousset <victor.grousset@biblibre.com> >Date: Mon, 11 Jun 2018 11:33:29 +0200 >Subject: [PATCH] =?UTF-8?q?Bug=2012310:=20(QA=20follow-up)=20Fix=20typo:?= > =?UTF-8?q?=20unformating=20=E2=86=92=20unformatting?= >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/decimal-input-js.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt | 6 +++--- > 4 files changed, 6 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/decimal-input-js.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/decimal-input-js.inc >index d3b14ae..d76e519 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/decimal-input-js.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/decimal-input-js.inc >@@ -42,6 +42,6 @@ var decimal = (function() { > > // equivalent of $(document).ready, jQuery hasn't load yet so vanilla JS version > document.addEventListener("DOMContentLoaded", function() { >- $(".decimal-unformating").on("change", function() {decimal.handler_unformat_input(this)}); >+ $(".decimal-unformatting").on("change", function() {decimal.handler_unformat_input(this)}); > }); > </script> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >index 27d4e1e..7d6eb3a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >@@ -44,7 +44,7 @@ > <li><label for="barcode">Barcode: </label><input type="text" name="barcode" id="barcode" /></li> > <li><label for="desc">Description: </label><input type="text" name="desc" size="50" id="desc" /></li> > <li><label for="note">Note: </label><input type="text" name="note" size="50" id="note" /></li> >- <li><label for="amount">Amount: </label><input name="amount" id="amount" class="decimal-unformating" required="required" /> <span>Example:</span> 5[% Koha.Preference('DecimalSeparators') | truncate(1, '') %]12</li> >+ <li><label for="amount">Amount: </label><input name="amount" id="amount" class="decimal-unformatting" required="required" /> <span>Example:</span> 5[% Koha.Preference('DecimalSeparators') | truncate(1, '') %]12</li> > > </ol></fieldset> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >index 1171b1a..44d7bf0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >@@ -56,7 +56,7 @@ > <li><label for="barcode">Barcode: </label><input type="text" name="barcode" id="barcode" /></li> > <li><label for="desc">Description: </label><input type="text" name="desc" id="desc" size="50" /></li> > <li><label for="note">Note: </label><input type="text" name="note" size="50" id="note" /></li> >- <li><label for="amount">Amount: </label><input name="amount" id="amount" class="decimal-unformating" required="required" /> <span>Example:</span> 5[% Koha.Preference('DecimalSeparators') | truncate(1, '') %]12</li> >+ <li><label for="amount">Amount: </label><input name="amount" id="amount" class="decimal-unformatting" required="required" /> <span>Example:</span> 5[% Koha.Preference('DecimalSeparators') | truncate(1, '') %]12</li> > </ol></fieldset> > <fieldset class="action"><input type="submit" name="add" value="Save" /> <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber %]">Cancel</a></fieldset> > </form> >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 f4891b6..4fcd935 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >@@ -86,7 +86,7 @@ > <li> > <label for="paid">Collect from patron: </label> > <!-- default to paying all --> >- <input name="paid" id="paid" class="decimal-unformating" value="[% amountoutstanding %]" /> >+ <input name="paid" id="paid" class="decimal-unformatting" value="[% amountoutstanding %]" /> > </li> > [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] > [% IF payment_types %] >@@ -142,7 +142,7 @@ > <li> > <label for="paid">Writeoff amount: </label> > <!-- default to writing off all --> >- <input name="amountwrittenoff" id="amountwrittenoff" class="decimal-unformating" value="[% amountoutstanding | $Price on_editing => 1 %]" /> >+ <input name="amountwrittenoff" id="amountwrittenoff" class="decimal-unformatting" value="[% amountoutstanding | $Price on_editing => 1 %]" /> > </li> > </ol> > </fieldset> >@@ -169,7 +169,7 @@ > <li> > <label for="paid">Collect from patron: </label> > <!-- default to paying all --> >- <input name="paid" id="paid" class="decimal-unformating" value="[% total | format('%.2f') %]" /> >+ <input name="paid" id="paid" class="decimal-unformatting" value="[% total | format('%.2f') %]" /> > </li> > [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] > [% IF payment_types %] >-- >2.7.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 12310
:
28455
|
60530
|
60563
|
61357
|
61603
|
61604
|
62655
|
64671
|
64672
|
64673
|
64674
|
64675
|
64678
|
64679
|
64696
|
72104
|
72213
|
72983
|
73055
|
73215
|
73546
|
73657
|
73784
|
73785
|
73873
|
73874
|
73880
|
74524
|
74525
|
74526
|
74527
|
74528
|
74529
|
75123
|
75127
|
75128
|
75129
|
75130
|
75947
|
75948
|
75949
|
75950
|
75951
|
75952
|
75954
|
75955
|
75956
|
75957
|
75958
|
75959
|
76896
|
76933
|
77971
|
77972
|
77973
|
77995
|
78017
|
78631
|
78632
|
78633
|
78634
|
78635
|
78636
|
78637
|
78638