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

(-)a/circ/circulation.pl (-4 lines)
Lines 540-548 foreach my $flag ( sort keys %$flags ) { Link Here
540
    }
540
    }
541
}
541
}
542
542
543
my $amountold = $flags ? $flags->{'CHARGES'}->{'message'} || 0 : 0;
544
$amountold =~ s/^.*\$//;    # remove upto the $, if any
545
546
my $total = $patron ? $patron->account->balance : 0;
543
my $total = $patron ? $patron->account->balance : 0;
547
544
548
if ( $patron && $patron->category->category_type eq 'C') {
545
if ( $patron && $patron->category->category_type eq 'C') {
Lines 624-630 $template->param( Link Here
624
    borrowernumber    => $borrowernumber,
621
    borrowernumber    => $borrowernumber,
625
    branch            => $branch,
622
    branch            => $branch,
626
    was_renewed       => scalar $query->param('was_renewed') ? 1 : 0,
623
    was_renewed       => scalar $query->param('was_renewed') ? 1 : 0,
627
    amountold         => $amountold,
628
    barcodes          => $barcodes,
624
    barcodes          => $barcodes,
629
    stickyduedate     => $stickyduedate,
625
    stickyduedate     => $stickyduedate,
630
    duedatespec       => $duedatespec,
626
    duedatespec       => $duedatespec,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-2 lines)
Lines 728-734 No patron matched <span class="ex">[% message | html %]</span> Link Here
728
          <input type="hidden" name="debt_confirmed" value="[% debt_confirmed %]" />
728
          <input type="hidden" name="debt_confirmed" value="[% debt_confirmed %]" />
729
                [% IF ( CHARGES ) %]
729
                [% IF ( CHARGES ) %]
730
                        <input type="hidden" name="charges" value="yes" />
730
                        <input type="hidden" name="charges" value="yes" />
731
                        <input type="hidden" name="oldamount" value="[% amountold %]" />
732
                [% END %]
731
                [% END %]
733
</fieldset>
732
</fieldset>
734
[% IF ( issue ) %]
733
[% IF ( issue ) %]
735
- 

Return to bug 19933