Bugzilla – Attachment 152763 Details for
Bug 33028
Wrongly formatted monetary amounts in circulation rules break scripts and calculations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Revert "Bug 33028: Remove Price formatting as we are missing JS unformat"
Revert-Bug-33028-Remove-Price-formatting-as-we-are.patch (text/plain), 3.25 KB, created by
Martin Renvoize (ashimema)
on 2023-06-27 15:58:53 UTC
(
hide
)
Description:
Revert "Bug 33028: Remove Price formatting as we are missing JS unformat"
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-06-27 15:58:53 UTC
Size:
3.25 KB
patch
obsolete
>From 7697e05300bf87c4e2901b4889c5a916fbc53459 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 27 Jun 2023 16:23:27 +0100 >Subject: [PATCH] Revert "Bug 33028: Remove Price formatting as we are missing > JS unformat" > >This reverts commit c10aa96e4f1fac0f34e02caade3aa259d7233c71. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >index ec9126158a..68f9cb5a65 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >@@ -6,6 +6,7 @@ > [% USE Categories %] > [% USE ItemTypes %] > [% USE CirculationRules %] >+[% USE Price %] > [% SET footerjs = 1 %] > > [% SET branchcode = humanbranch || undef %] >@@ -286,11 +287,11 @@ > [% END %] > </td> > <td>[% decreaseloanholds | html %]</td> >- <td>[% fine | html %]</td> >+ <td>[% fine | $Price %]</td> > <td>[% chargeperiod | html %]</td> > <td>[% IF chargeperiod_charge_at %]Start of interval[% ELSE %]End of interval[% END %]</td> > <td>[% firstremind | html %]</td> >- <td>[% overduefinescap | html %]</td> >+ <td>[% overduefinescap | $Price %]</td> > <td> > [% IF cap_fine_to_replacement_price %] > <input type="checkbox" checked="checked" disabled="disabled" /> >@@ -386,7 +387,7 @@ > [% END %] > </td> > <td>[% recall_due_date_interval | html %]</td> >- <td>[% recall_overdue_fine | html %]</td> >+ <td>[% recall_overdue_fine | $Price %]</td> > <td>[% recall_shelf_time | html %]</td> > [% END %] > <td class="actions"> >@@ -1029,7 +1030,7 @@ > </td> > <td> > [% IF article_request_fee.defined && article_request_fee != '' %] >- [% article_request_fee | html %] >+ [% article_request_fee | $Price %] > [% ELSE %] > <span>0</span> > [% END %] >-- >2.41.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 33028
:
147058
|
147686
|
147687
|
147688
|
152441
|
152442
|
152443
|
152444
|
152445
|
152446
|
152509
|
152510
|
152511
|
152512
|
152513
|
152514
|
152515
|
152752
|
152753
|
152754
|
152755
|
152756
|
152757
|
152758
|
152759
|
152760
|
152761
|
152762
|
152763
|
152764
|
152803
|
152804
|
152805
|
152829
|
152928
|
152929
|
152930
|
152931
|
152932
|
152933
|
152934
|
152935
|
152936
|
153313
|
153314
|
153315
|
153316
|
153317
|
153318
|
153319
|
153320
|
153321
|
153322
|
153323
|
153619
|
153620
|
153632
|
153633
|
153634
|
153635
|
153636
|
153677