Bugzilla – Attachment 78635 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.39 KB, created by
Martin Renvoize (ashimema)
on 2018-09-14 08:19:24 UTC
(
hide
)
Description:
Bug 12310: (QA follow-up) Fix typo: unformating => unformatting
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2018-09-14 08:19:24 UTC
Size:
5.39 KB
patch
obsolete
>From 65ac429921c92ad145e500e2b7a0440020914681 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] Bug 12310: (QA follow-up) Fix typo: unformating => > unformatting > >--- > .../intranet-tmpl/prog/en/includes/decimal-input-js.inc | 2 +- > .../intranet-tmpl/prog/en/modules/members/mancredit.tt | 2 +- > .../intranet-tmpl/prog/en/modules/members/maninvoice.tt | 2 +- > .../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 d3b14aec2d..d76e519b7b 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 1eca188990..c039503f5e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >@@ -45,7 +45,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 a119579116..85d57751b1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >@@ -57,7 +57,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 | html %]">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 420904f015..855f5ad91f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >@@ -101,7 +101,7 @@ > <li> > <label for="paid">Collect from patron: </label> > <!-- default to paying all --> >- <input name="paid" id="paid" class="decimal-unformating" value="[% amountoutstanding | html %]" /> >+ <input name="paid" id="paid" class="decimal-unformatting" value="[% amountoutstanding | html %]" /> > </li> > [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %] > [% IF payment_types %] >@@ -157,7 +157,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 | html %]" /> >+ <input name="amountwrittenoff" id="amountwrittenoff" class="decimal-unformatting" value="[% amountoutstanding | $Price on_editing => 1 | html %]" /> > </li> > </ol> > </fieldset> >@@ -198,7 +198,7 @@ > <label for="paid">Collect from patron: </label> > [% END %] > <!-- 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.18.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 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