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

(-)a/opac/sco/sco-main.pl (-3 / +6 lines)
Lines 111-116 if (C4::Context->preference('SelfCheckoutByLogin') && !$patronid) { Link Here
111
}
111
}
112
my $borrower = GetMemberDetails(undef,$patronid);
112
my $borrower = GetMemberDetails(undef,$patronid);
113
113
114
my $currencySymbol = "";
115
if ( defined C4::Budgets->GetCurrency() ) {
116
    $currencySymbol = C4::Budgets->GetCurrency()->{symbol};
117
}
114
118
115
my $branch = $issuer->{branchcode};
119
my $branch = $issuer->{branchcode};
116
my $confirm_required = 0;
120
my $confirm_required = 0;
Lines 154-160 elsif ( $op eq "checkout" ) { Link Here
154
            hide_main                 => 1,
158
            hide_main                 => 1,
155
        );
159
        );
156
        if ($issue_error eq 'DEBT') {
160
        if ($issue_error eq 'DEBT') {
157
            $template->param(amount => C4::Budgets->GetCurrency()->{symbol}.$impossible->{DEBT});
161
            $template->param(amount => $currencySymbol.$impossible->{DEBT});
158
        }
162
        }
159
        #warn "issue_error: " . $issue_error ;
163
        #warn "issue_error: " . $issue_error ;
160
        if ( $issue_error eq "NO_MORE_RENEWALS" ) {
164
        if ( $issue_error eq "NO_MORE_RENEWALS" ) {
Lines 187-193 elsif ( $op eq "checkout" ) { Link Here
187
            hide_main                 => 1,
191
            hide_main                 => 1,
188
        );
192
        );
189
        if ($issue_error eq 'DEBT') {
193
        if ($issue_error eq 'DEBT') {
190
            $template->param(amount => C4::Budgets->GetCurrency()->{symbol}.$needconfirm->{DEBT});
194
            $template->param(amount => $currencySymbol.$needconfirm->{DEBT});
191
        }
195
        }
192
    } else {
196
    } else {
193
        if ( $confirmed || $issuenoconfirm ) {    # we'll want to call getpatroninfo again to get updated issues.
197
        if ( $confirmed || $issuenoconfirm ) {    # we'll want to call getpatroninfo again to get updated issues.
194
- 

Return to bug 11773