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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt (-2 / +2 lines)
Lines 149-155 $(document).ready(function(){ Link Here
149
   [% END %]
149
   [% END %]
150
   Please see a member of the library staff.
150
   Please see a member of the library staff.
151
</p>
151
</p>
152
[% IF ( returnitem ) %]
152
153
[% IF ( AllowSelfCheckReturns ) %]
153
[% IF ( AllowSelfCheckReturns ) %]
154
<form action="/cgi-bin/koha/sco/sco-main.pl" name="errorForm" class="inline" method="post">
154
<form action="/cgi-bin/koha/sco/sco-main.pl" name="errorForm" class="inline" method="post">
155
    <input type="hidden" name="op" value="returnbook" />
155
    <input type="hidden" name="op" value="returnbook" />
Lines 158-164 $(document).ready(function(){ Link Here
158
    <input type="submit" name="returnbook" value="Return this item" class="return" />
158
    <input type="submit" name="returnbook" value="Return this item" class="return" />
159
</form>
159
</form>
160
[% END %]
160
[% END %]
161
[% END %]
161
162
<form action="/cgi-bin/koha/sco/sco-main.pl" name="errorForm" class="inline" method="post">
162
<form action="/cgi-bin/koha/sco/sco-main.pl" name="errorForm" class="inline" method="post">
163
    <input type="hidden" name="op" value="" />
163
    <input type="hidden" name="op" value="" />
164
    <input type="hidden" name="patronid" value="[% patronid %]" />
164
    <input type="hidden" name="patronid" value="[% patronid %]" />
(-)a/opac/sco/sco-main.pl (-1 / +1 lines)
Lines 152-157 elsif ( $op eq "checkout" ) { Link Here
152
            "circ_error_$issue_error" => 1,
152
            "circ_error_$issue_error" => 1,
153
            title                     => $item->{title},
153
            title                     => $item->{title},
154
            hide_main                 => 1,
154
            hide_main                 => 1,
155
            barcode                   => $barcode,
155
        );
156
        );
156
        if ($issue_error eq 'DEBT') {
157
        if ($issue_error eq 'DEBT') {
157
            $template->param(amount => C4::Budgets->GetCurrency()->{symbol}.$impossible->{DEBT});
158
            $template->param(amount => C4::Budgets->GetCurrency()->{symbol}.$impossible->{DEBT});
158
- 

Return to bug 10358