View | Details | Raw Unified | Return to bug 19933
Collapse All | Expand All

(-)a/circ/circulation.pl (-4 lines)
Lines 555-563 foreach my $flag ( sort keys %$flags ) { Link Here
555
    }
555
    }
556
}
556
}
557
557
558
my $amountold = $flags ? $flags->{'CHARGES'}->{'message'} || 0 : 0;
559
$amountold =~ s/^.*\$//;    # remove upto the $, if any
560
561
my $total = $patron ? $patron->account->balance : 0;
558
my $total = $patron ? $patron->account->balance : 0;
562
559
563
if ( $patron && $patron->category->category_type eq 'C') {
560
if ( $patron && $patron->category->category_type eq 'C') {
Lines 639-645 $template->param( Link Here
639
    borrowernumber    => $borrowernumber,
636
    borrowernumber    => $borrowernumber,
640
    branch            => $branch,
637
    branch            => $branch,
641
    was_renewed       => scalar $query->param('was_renewed') ? 1 : 0,
638
    was_renewed       => scalar $query->param('was_renewed') ? 1 : 0,
642
    amountold         => $amountold,
643
    barcodes          => $barcodes,
639
    barcodes          => $barcodes,
644
    stickyduedate     => $stickyduedate,
640
    stickyduedate     => $stickyduedate,
645
    duedatespec       => $duedatespec,
641
    duedatespec       => $duedatespec,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-2 lines)
Lines 603-609 No patron matched <span class="ex">[% message | html %]</span> Link Here
603
          <input type="hidden" name="debt_confirmed" value="[% debt_confirmed %]" />
603
          <input type="hidden" name="debt_confirmed" value="[% debt_confirmed %]" />
604
                [% IF ( CHARGES ) %]
604
                [% IF ( CHARGES ) %]
605
                        <input type="hidden" name="charges" value="yes" />
605
                        <input type="hidden" name="charges" value="yes" />
606
                        <input type="hidden" name="oldamount" value="[% amountold %]" />
607
                [% END %]
606
                [% END %]
608
</fieldset>
607
</fieldset>
609
[% IF ( issue ) %]
608
[% IF ( issue ) %]
610
- 

Return to bug 19933