Lines 377-383
sub fine_items {
Link Here
|
377 |
); |
377 |
); |
378 |
|
378 |
|
379 |
$start = $start ? $start - 1 : 0; |
379 |
$start = $start ? $start - 1 : 0; |
380 |
$end = $end ? $end : scalar @fees - 1; |
380 |
$end = $end ? $end - 1 : scalar @fees - 1; |
381 |
|
381 |
|
382 |
my $av_field_template = $server ? $server->{account}->{av_field_template} : undef; |
382 |
my $av_field_template = $server ? $server->{account}->{av_field_template} : undef; |
383 |
$av_field_template ||= "[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]"; |
383 |
$av_field_template ||= "[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]"; |
Lines 388-393
sub fine_items {
Link Here
|
388 |
for ( my $i = $start; $i <= $end; $i++ ) { |
388 |
for ( my $i = $start; $i <= $end; $i++ ) { |
389 |
my $fee = $fees[$i]; |
389 |
my $fee = $fees[$i]; |
390 |
|
390 |
|
|
|
391 |
next unless $fee; |
392 |
|
391 |
my $output; |
393 |
my $output; |
392 |
$tt->process( \$av_field_template, { accountline => $fee }, \$output ); |
394 |
$tt->process( \$av_field_template, { accountline => $fee }, \$output ); |
393 |
push( @return_values, { barcode => $output } ); |
395 |
push( @return_values, { barcode => $output } ); |
394 |
- |
|
|