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

(-)a/circ/returns.pl (+7 lines)
Lines 241-246 if ($barcode) { Link Here
241
        $input{duedate}        = $duedate;
241
        $input{duedate}        = $duedate;
242
        $input{return_overdue} = 1 if ($duedate and $duedate lt $today->output('iso'));
242
        $input{return_overdue} = 1 if ($duedate and $duedate lt $today->output('iso'));
243
        push( @inputloop, \%input );
243
        push( @inputloop, \%input );
244
245
        my ( $od, $issue, $fines ) = GetMemberIssuesAndFines( $borrower->{'borrowernumber'} );
246
        if ($fines) {
247
            $template->param( fines => sprintf("%.2f",$fines) );
248
            $template->param( fineborrowernumber => $borrower->{'borrowernumber'} );
249
        }
250
244
    }
251
    }
245
    elsif ( !$messages->{'BadBarcode'} ) {
252
    elsif ( !$messages->{'BadBarcode'} ) {
246
        $input{duedate}   = 0;
253
        $input{duedate}   = 0;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl (-1 / +9 lines)
Lines 58-63 function Dopop(link) { Link Here
58
	<div class="dialog message">This item is part of a Rotating Collection and needs to be Transferred to <!-- TMPL_VAR NAME="collectionBranch" --></div>
58
	<div class="dialog message">This item is part of a Rotating Collection and needs to be Transferred to <!-- TMPL_VAR NAME="collectionBranch" --></div>
59
<!-- /TMPL_IF -->
59
<!-- /TMPL_IF -->
60
60
61
<!-- Patron has fines -->
62
<!-- TMPL_IF NAME="fines" -->
63
    <div class="dialog alert">
64
        <h3>Patron has outstanding fines of <!-- TMPL_VAR NAME="fines" -->.</h3>
65
        <p><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR NAME="fineborrowernumber" -->">Make payment</a>.</p>
66
    </div>
67
<!-- /TMPL_IF -->
68
69
61
<!-- TMPL_IF NAME="wrongbranch" -->
70
<!-- TMPL_IF NAME="wrongbranch" -->
62
<div class="dialog alert"><h3>Cannot Check In</h3><p>This item must be checked in at its home library. <strong>NOT CHECKED IN</strong></p>
71
<div class="dialog alert"><h3>Cannot Check In</h3><p>This item must be checked in at its home library. <strong>NOT CHECKED IN</strong></p>
63
</div>
72
</div>
64
- 

Return to bug 1962