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

(-)a/opac/sco/sco-main.pl (-2 / +4 lines)
Lines 155-161 elsif ( $op eq "checkout" ) { Link Here
155
            hide_main                 => 1,
155
            hide_main                 => 1,
156
        );
156
        );
157
        if ($issue_error eq 'DEBT') {
157
        if ($issue_error eq 'DEBT') {
158
            $template->param(amount => $impossible->{DEBT});
158
            $template->param(amount => C4::Budgets->GetCurrency()->{symbol}.$impossible->{DEBT});
159
        }
159
        }
160
        #warn "issue_error: " . $issue_error ;
160
        #warn "issue_error: " . $issue_error ;
161
        if ( $issue_error eq "NO_MORE_RENEWALS" ) {
161
        if ( $issue_error eq "NO_MORE_RENEWALS" ) {
Lines 187-192 elsif ( $op eq "checkout" ) { Link Here
187
            "circ_error_$issue_error" => 1,
187
            "circ_error_$issue_error" => 1,
188
            hide_main                 => 1,
188
            hide_main                 => 1,
189
        );
189
        );
190
        if ($issue_error eq 'DEBT') {
191
            $template->param(amount => C4::Budgets->GetCurrency()->{symbol}.$needconfirm->{DEBT});
192
        }
190
    } else {
193
    } else {
191
        if ( $confirmed || $issuenoconfirm ) {    # we'll want to call getpatroninfo again to get updated issues.
194
        if ( $confirmed || $issuenoconfirm ) {    # we'll want to call getpatroninfo again to get updated issues.
192
            # warn "issuing book?";
195
            # warn "issuing book?";
193
- 

Return to bug 8518