Bugzilla – Attachment 73874 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 : Follow up to keep the example text in fines
Bug-12310--Follow-up-to-keep-the-example-text-in-f.patch (text/plain), 3.21 KB, created by
Victor Grousset/tuxayo
on 2018-04-09 14:34:23 UTC
(
hide
)
Description:
Bug 12310 : Follow up to keep the example text in fines
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2018-04-09 14:34:23 UTC
Size:
3.21 KB
patch
obsolete
>From 5ea95ab36369a505809270975165400ed3019413 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Fri, 6 Apr 2018 14:15:59 +0000 >Subject: [PATCH] Bug 12310 : Follow up to keep the example text in fines > >This puts the example text back in with the correct decimal >separator. The example uses the first char of the syspref. > >TEST PLAN >--------- >1) set the I18N/L10N DecimalSeparators syspref to "," >2) go to a patron's fines tab. >3) open Create manual invoice and Create manual credit tabs >4) check both tabs > -- Example: 5.00 appears >5) apply this patch >6) reload the page and check both create tabs. > -- Example: 5,12 appears >7) set the I18N/L10N DecimalSeparators syspref to ".," >8) go back and check both tabs. > -- Example: 5.12 appears (only the first separator is picked) >9) optionnal: run koha qa test tools >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >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 859e08c..7951b9e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >@@ -41,7 +41,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" value="" step="any" min="0" /></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> > > </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 891d4b8..4b5ae24 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >@@ -53,7 +53,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 type="text" name="amount" id="amount" class="decimal-unformating" required="required"/></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> > </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> >-- >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