Bug 23674: Add ability to add a note to pay individual and write-off individual
To test: 1) Apply manual invoice to a patron account 2) Go to the patron record -> accounting -> transaction tab 3) Look for the "Pay" button under the actions column. Click this 4) Notice no place to enter note 5) Click the "Write off" button. Notice there is no place to enter note 6) Apply patch, restart_all 7) Notice that a "Note: " input appears in both the 'Pay' and 'Write off' tabs. 8) Write a not in the pay tab and confirm. Make sure this not shows up in the table. 9) Add another invoice and then test the note functionallity for the write-offs. Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
39ca8feb1a
commit
2fd4239a10
|
|
@ -154,7 +154,6 @@
|
|||
|
||||
<fieldset class="rows">
|
||||
<legend>Pay an individual charge</legend>
|
||||
<input type="hidden" name="payment_note" id="payment_note" value="[% payment_note | html %]" />
|
||||
<table>
|
||||
<thead
|
||||
><tr>
|
||||
|
|
@ -208,6 +207,10 @@
|
|||
[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
<li>
|
||||
<label> Note: </label>
|
||||
<input name="payment_note" id="payment_note" value="[% payment_note | html %]" />
|
||||
</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
|
||||
|
|
@ -247,7 +250,6 @@
|
|||
<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="payment_note" id="payment_note" value="[% payment_note | html %]" />
|
||||
<input type="hidden" name="amountoutstanding" id="amountoutstanding" value="[% amountoutstanding | html %]" />
|
||||
<input type="hidden" name="change_given" id="change_given" />
|
||||
<table>
|
||||
|
|
@ -279,6 +281,10 @@
|
|||
<!-- default to writing off all -->
|
||||
<input name="paid" id="amountwrittenoff" value="[% amountoutstanding | $Price on_editing => 1 %]" type="text" />
|
||||
</li>
|
||||
<li>
|
||||
<label> Note: </label>
|
||||
<input name="payment_note" id="payment_note" value="[% payment_note | html %]" />
|
||||
</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue