When paying a fine, the description is built out of the borrower's type and title, instead of the actual fine's description.
STEPS:
1) in the staff, go to a user with a fine to pay.
a) if none, go to a user and Fines>>"Create manual invoice" with a distinctive description.
2) In Fines>>Pay fines, click the "Pay" button on the line of the fine.
3) This will take you a "Pay an individual fine" screen, where the description will look like "Staff Mrs", for the category and title of the borrower.
Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
</tfoot>
<tbody><tr>
<td>
- [% description %] [% title %]
+ [% individual_description %]
</td>
<td>[% accounttype %]</td>
<td>[% notify_id %]</td>
$redirect .= get_for_redirect( 'amount', "amount$line_no", 1 );
$redirect .=
get_for_redirect( 'amountoutstanding', "amountoutstanding$line_no", 1 );
+ $redirect .= get_for_redirect( 'description', "description$line_no", 0 );
$redirect .= get_for_redirect( 'title', "title$line_no", 0 );
$redirect .= get_for_redirect( 'itemnumber', "itemnumber$line_no", 0 );
$redirect .= get_for_redirect( 'notify_id', "notify_id$line_no", 0 );
my $payment_note = uri_unescape $input->param('payment_note');
my $accountno;
my $accountlines_id;
+
if ( $individual || $writeoff ) {
if ($individual) {
$template->param( pay_individual => 1 );
amountoutstanding => $amountoutstanding,
title => $title,
itemnumber => $itemnumber,
- description => $description,
+ individual_description => $description,
notify_id => $notify_id,
notify_level => $notify_level,
payment_note => $payment_note,