Bugzilla – Attachment 168036 Details for
Bug 23674
Allowing notes on all entries in patron Transactions table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23674: Add ability to add a note to pay individual fine from paycollect.tt
Bug-23674-Add-ability-to-add-a-note-to-pay-individ.patch (text/plain), 2.50 KB, created by
Lucas Gass (lukeg)
on 2024-06-24 17:33:36 UTC
(
hide
)
Description:
Bug 23674: Add ability to add a note to pay individual fine from paycollect.tt
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-06-24 17:33:36 UTC
Size:
2.50 KB
patch
obsolete
>From 1398d9b6a3b303b9183fd2e3ec97d53f09ee62ab Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 24 Jun 2024 17:31:58 +0000 >Subject: [PATCH] Bug 23674: Add ability to add a note to pay individual fine > from paycollect.tt > >--- > .../intranet-tmpl/prog/en/modules/members/paycollect.tt | 4 ++++ > members/paycollect.pl | 5 ++++- > 2 files changed, 8 insertions(+), 1 deletion(-) > >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 2f70b35ebb..f5b8bcf74a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt >@@ -186,6 +186,10 @@ > <label for="collected">Amount tendered: </label> > <input name="collected" id="collected" type="text" step="0.01" min="0" value="[% amountoutstanding | $Price on_editing => 1 %]"/> > </li> >+ <li> >+ <label for="pay_individual_note">Note: </label> >+ <input name="pay_individual_note" id="pay_individual_note" type="text" /> >+ </li> > <li> > <label>Change to give: </label> > <span id="change">0.00</span> >diff --git a/members/paycollect.pl b/members/paycollect.pl >index ddea7cb4cd..44b3e83133 100755 >--- a/members/paycollect.pl >+++ b/members/paycollect.pl >@@ -70,6 +70,7 @@ my $total_due = $account->outstanding_debits->total_outstanding; > > my $total_paid = $input->param('paid'); > my $total_collected = $input->param('collected'); >+my $note = $input->param('pay_individual_note'); > > my $selected_lines = $input->param('selected'); # comes from pay.pl > my $pay_individual = $input->param('pay_individual'); >@@ -100,6 +101,7 @@ if ( $pay_individual || $writeoff_individual ) { > itemnumber => $itemnumber, > individual_description => $description, > payment_note => $payment_note, >+ note => $note, > ); > } elsif ($selected_lines) { > $total_due = $input->param('amt'); >@@ -165,7 +167,8 @@ if ( $total_paid and $total_paid ne '0.00' ) { > note => $payment_note, > interface => C4::Context->interface, > payment_type => $payment_type, >- cash_register => $cash_register_id >+ cash_register => $cash_register_id, >+ note => $note, > } > ); > $payment_id = $pay_result->{payment_id}; >-- >2.39.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 23674
:
168035
|
168036
|
168174
|
168177
|
168178
|
168180
|
168213
|
168329
|
168330
|
169782
|
169783
|
169784
|
169785
|
169786
|
169787
|
169788
|
174300
|
174301
|
174302
|
174303
|
174304
|
174305
|
174306
|
174307
|
174308