Bugzilla – Attachment 129534 Details for
Bug 29684
Warning File not found: js/locale_data.js
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29684: fix warn about not found file js/locale_data.js
Bug-29684-fix-warn-about-not-found-file-jslocaleda.patch (text/plain), 2.98 KB, created by
Peter Vashchuk
on 2022-01-17 14:32:13 UTC
(
hide
)
Description:
Bug 29684: fix warn about not found file js/locale_data.js
Filename:
MIME Type:
Creator:
Peter Vashchuk
Created:
2022-01-17 14:32:13 UTC
Size:
2.98 KB
patch
obsolete
>From 0d650990257a3914e3415a0f462e620a0d4a578a Mon Sep 17 00:00:00 2001 >From: Petro Vashchuk <stalkernoid@gmail.com> >Date: Mon, 17 Jan 2022 16:31:08 +0200 >Subject: [PATCH] Bug 29684: fix warn about not found file js/locale_data.js > >To reproduce (paycollect.pl): >1) Prepare or use some existing patron with outstanding fines, go to >the accounting section and open page where you make payment towards all >fines. >2) The error message should have appeared in your log file about >"File not found : default/js/locale_data.js". >3) Apply the patch. >4) Open the edit page again, ensure that the new error massage like >that didn't appear. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt | 4 ++-- > members/paycollect.pl | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >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 938a283d7b..a7518f86a8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >@@ -124,7 +124,7 @@ > <input type="hidden" name="amount" id="amount" value="[% amount | html %]" /> > <input type="hidden" name="amountoutstanding" id="amountoutstanding" value="[% amountoutstanding | html %]" /> > <input type="hidden" name="accountlines_id" id="accountlines_id" value="[% accountlines_id | html %]" /> >- <input type="hidden" name="title" id="title" value="[% title | html %]" /> >+ <input type="hidden" name="title" id="title" value="[% borrower_data.title | html %]" /> > <input type="hidden" name="change_given" id="change_given" /> > > <fieldset class="rows"> >@@ -203,7 +203,7 @@ > <input type="hidden" name="debit_type_code" id="debit_type_code" value="[% debit_type_code | html %]" /> > <input type="hidden" name="amount" id="amount" value="[% amount | html %]" /> > <input type="hidden" name="accountlines_id" id="accountlines_id" value="[% accountlines_id | html %]" /> >- <input type="hidden" name="title" id="title" value="[% title | html %]" /> >+ <input type="hidden" name="title" id="title" value="[% borrower_data.title | html %]" /> > <input type="hidden" name="payment_note" id="payment_note" value="[% payment_note | html %]" /> > <input type="hidden" name="amountoutstanding" id="amountoutstanding" value="[% amountoutstanding | html %]" /> > <input type="hidden" name="confirm_writeoff" id="confirm_writeoff" value="1" /> >diff --git a/members/paycollect.pl b/members/paycollect.pl >index d5cbd60bfc..478602328e 100755 >--- a/members/paycollect.pl >+++ b/members/paycollect.pl >@@ -239,7 +239,7 @@ if ( $total_paid and $total_paid ne '0.00' ) { > $total_paid = '0.00'; #TODO not right with pay_individual > } > >-$template->param(%$borrower); >+$template->param(borrower_data => $borrower); > > if ( $input->param('error_over') ) { > $template->param( error_over => 1, total_due => scalar $input->param('amountoutstanding') ); >-- >2.31.1
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 29684
:
128571
|
128675
|
129532
|
129534
|
129536
|
130184
|
130185
|
130186
|
130210
|
130211
|
130212
|
130413
|
130417
|
130421
|
130477
|
131510
|
131511
|
131512
|
131513
|
131514
|
131515