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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-8 / +17 lines)
Lines 181-186 Link Here
181
                                                                    <th>Call number</th>
181
                                                                    <th>Call number</th>
182
                                                                    <th class="psort">Due</th>
182
                                                                    <th class="psort">Due</th>
183
                                                                    <th class="all no-sort">Renew</th>
183
                                                                    <th class="all no-sort">Renew</th>
184
                                                                    [% IF Koha.Preference('SCOAllowCheckin') %]
185
                                                                        <th class="all no-sort">Check in</th>
186
                                                                    [% END %]
184
                                                                    [% UNLESS ( nofines ) %]
187
                                                                    [% UNLESS ( nofines ) %]
185
                                                                        <th>Fines</th>
188
                                                                        <th>Fines</th>
186
                                                                    [% END %]
189
                                                                    [% END %]
Lines 235-253 Link Here
235
                                                                                    [% ELSE %]
238
                                                                                    [% ELSE %]
236
                                                                                        <span>No renewals allowed</span>
239
                                                                                        <span>No renewals allowed</span>
237
                                                                                    [% END %]
240
                                                                                    [% END %]
238
                                                                                    [% IF Koha.Preference('SCOAllowCheckin') %]
239
                                                                                        <div>
240
                                                                                            <input type="submit" value="Check in item" name="confirm" class="btn btn-info btn-sm return" />
241
                                                                                            <input type="hidden" name="op" value="cud-returnbook" />
242
                                                                                            <input type="hidden" name="confirmed" value="" />
243
                                                                                        </div>
244
                                                                                    [% END %]
245
                                                                                [% END %]
241
                                                                                [% END %]
246
                                                                                [% IF ISSUE.auto_renew %]
242
                                                                                [% IF ISSUE.auto_renew %]
247
                                                                                    <br /><span>This item is scheduled for automatic renewal</span>
243
                                                                                    <br /><span>This item is scheduled for automatic renewal</span>
248
                                                                                [% END %]
244
                                                                                [% END %]
249
                                                                            </form>
245
                                                                            </form>
250
                                                                        </td>
246
                                                                        </td>
247
                                                                        [% IF Koha.Preference('SCOAllowCheckin') %]
248
                                                                            <td>
249
                                                                                <form action="/cgi-bin/koha/sco/sco-main.pl" method="post">
250
                                                                                    [% INCLUDE 'csrf-token.inc' %]
251
                                                                                    <legend class="sr-only">Issue renews</legend>
252
                                                                                    <input type="hidden" name="patronid" value="[% patronid | html %]" />
253
                                                                                    <input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" />
254
                                                                                    <input type="hidden" name="barcode" value="[% ISSUE.barcode | html %]" />
255
                                                                                    <input type="submit" value="Check in item" name="confirm" class="btn btn-info btn-sm return" />
256
                                                                                    <input type="hidden" name="op" value="cud-returnbook" />
257
                                                                                    <input type="hidden" name="confirmed" value="" />
258
                                                                                </form>
259
                                                                            </td>
260
                                                                        [% END %]
251
                                                                        [% UNLESS ( nofines ) %]
261
                                                                        [% UNLESS ( nofines ) %]
252
                                                                            <td> [% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %] </td>
262
                                                                            <td> [% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %] </td>
253
                                                                        [% END %]
263
                                                                        [% END %]
254
- 

Return to bug 26479