Bugzilla – Attachment 157623 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.18 KB, created by
David Nind
on 2023-10-22 18:53:49 UTC
(
hide
)
Description:
Bug 32595: Update price handling in UI edit form
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-10-22 18:53:49 UTC
Size:
2.18 KB
patch
obsolete
>From 6618dca5c90b5660ceb22ff57f2aa9b4b215f65a 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 > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../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 87d73fc747..8b4661cde5 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 >@@ -396,7 +396,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> >@@ -469,7 +469,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> >@@ -945,6 +945,13 @@ > $('.ill_checkout_due_date').show(); > } > }); >+ $("#ill_edit_action_form").validate({ >+ rules: { >+ price_paid: { >+ number: true >+ } >+ }, >+ }); > </script> > [% INCLUDE 'ill-list-table-strings.inc' %] > [% INCLUDE 'ill-batch-table-strings.inc' %] >-- >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