Bugzilla – Attachment 154788 Details for
Bug 32595
Price format cost in ILL requests table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32595: Update price handling in UI edit form
Bug-32595-Update-price-handling-in-UI-edit-form.patch (text/plain), 2.13 KB, created by
Pedro Amorim
on 2023-08-25 09:22:17 UTC
(
hide
)
Description:
Bug 32595: Update price handling in UI edit form
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-08-25 09:22:17 UTC
Size:
2.13 KB
patch
obsolete
>From fbed67a0d41bba963fe96f7cdeee8f5bd838bc71 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 25 Aug 2023 09:08:40 +0000 >Subject: [PATCH] Bug 32595: Update price handling in UI edit form > >--- > .../intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >index ff7c86dc86..73ba6cc6e9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >@@ -385,7 +385,7 @@ > <!-- generic_confirm ends here --> > > [% ELSIF query_type == 'edit_action' %] >- <form method="POST" action="/cgi-bin/koha/ill/ill-requests.pl"> >+ <form method="POST" action="/cgi-bin/koha/ill/ill-requests.pl" id="ill_edit_action_form"> > <fieldset class="rows"> > <legend>Request details</legend> > <ol> >@@ -441,7 +441,7 @@ > </li> > <li class="price_paid"> > <label class="price_paid">Price paid:</label> >- <input name="price_paid" id="price_paid" type="text" value="[% request.price_paid | html %]"> >+ <input name="price_paid" id="price_paid" type="text" value="[% request.price_paid | $Price on_editing => 1 %]"> > </li> > <li class="req_id"> > <label class="req_id">Request ID:</label> >@@ -849,6 +849,13 @@ > $('.ill_checkout_due_date').show(); > } > }); >+ $("#ill_edit_action_form").validate({ >+ rules: { >+ price_paid: { >+ number: true >+ } >+ }, >+ }); > </script> > [% INCLUDE 'ill-list-table-strings.inc' %] > [% Asset.js("js/ill-list-table.js") | $raw %] >-- >2.30.2
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 32595
:
154717
|
154731
|
154780
|
154787
|
154788
|
157622
|
157623