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

Return to bug 26479