|
Lines 57-63
Link Here
|
| 57 |
[% Asset.js('js/i18n.js') | $raw %] |
57 |
[% Asset.js('js/i18n.js') | $raw %] |
| 58 |
</head> |
58 |
</head> |
| 59 |
<body id="sco_main" class="sco"> |
59 |
<body id="sco_main" class="sco"> |
| 60 |
<div id="wrapper"> |
60 |
|
| 61 |
[% INCLUDE 'masthead-sco.inc' %] |
61 |
[% INCLUDE 'masthead-sco.inc' %] |
| 62 |
|
62 |
|
| 63 |
<main class="main"> |
63 |
<main class="main"> |
|
Lines 85-99
Link Here
|
| 85 |
<div id="newcheckout" class="sco_entry"> |
85 |
<div id="newcheckout" class="sco_entry"> |
| 86 |
<form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sco/sco-main.pl"> |
86 |
<form id="scan_form" name="scan_form" method="post" action="/cgi-bin/koha/sco/sco-main.pl"> |
| 87 |
[% INCLUDE 'csrf-token.inc' %] |
87 |
[% INCLUDE 'csrf-token.inc' %] |
| 88 |
<legend |
88 |
<fieldset class="mb-3"> |
| 89 |
><h2> |
89 |
<legend> |
| 90 |
[% IF ( Koha.Preference('SCOAllowCheckin') ) %] |
90 |
<h2> |
| 91 |
<span>Check out, return, or renew an item:</span> |
91 |
[% IF ( Koha.Preference('SCOAllowCheckin') ) %] |
| 92 |
[% ELSE %] |
92 |
<span>Check out, return, or renew an item:</span> |
| 93 |
<span>Check out or renew an item:</span> |
93 |
[% ELSE %] |
| 94 |
[% END %] |
94 |
<span>Check out or renew an item:</span> |
| 95 |
</h2></legend |
95 |
[% END %] |
| 96 |
> |
96 |
</h2> |
|
|
97 |
</legend> |
| 97 |
<div class="row"> |
98 |
<div class="row"> |
| 98 |
<div class="col"> |
99 |
<div class="col"> |
| 99 |
<label for="barcode">Scan a new item or enter its barcode[% IF batch_checkouts_allowed %](or for <b>multiple checkouts only,</b> enter a barcode list, one barcode per line)[% END %]:</label> |
100 |
<label for="barcode">Scan a new item or enter its barcode[% IF batch_checkouts_allowed %](or for <b>multiple checkouts only,</b> enter a barcode list, one barcode per line)[% END %]:</label> |
|
Lines 117-122
Link Here
|
| 117 |
</div> |
118 |
</div> |
| 118 |
</div> |
119 |
</div> |
| 119 |
<!-- /.row --> |
120 |
<!-- /.row --> |
|
|
121 |
</fieldset> |
| 120 |
</form> |
122 |
</form> |
| 121 |
<!-- /#scan_form --> |
123 |
<!-- /#scan_form --> |
| 122 |
</div> |
124 |
</div> |
|
Lines 130-142
Link Here
|
| 130 |
[% END %] |
132 |
[% END %] |
| 131 |
</div> |
133 |
</div> |
| 132 |
<!-- / .row --> |
134 |
<!-- / .row --> |
| 133 |
</div> |
|
|
| 134 |
<!-- / .container-fluid --> |
| 135 |
|
135 |
|
| 136 |
<div class="container-fluid"> |
|
|
| 137 |
<div class="row"> |
136 |
<div class="row"> |
| 138 |
<div class="col order-first order-md-first order-lg-2"> |
137 |
<div class="col order-first order-md-first order-lg-2"> |
| 139 |
[% WRAPPER tabs %] |
138 |
[% WRAPPER tabs id="checkouts" %] |
| 140 |
[% WRAPPER tabs_nav %] |
139 |
[% WRAPPER tabs_nav %] |
| 141 |
[% WRAPPER tab_item tabname= "checkouts" bt_active= 1 %] |
140 |
[% WRAPPER tab_item tabname= "checkouts" bt_active= 1 %] |
| 142 |
<span>Checkouts ([% issues_count | html %])</span> |
141 |
<span>Checkouts ([% issues_count | html %])</span> |
|
Lines 154-160
Link Here
|
| 154 |
|
153 |
|
| 155 |
[% WRAPPER tab_panels %] |
154 |
[% WRAPPER tab_panels %] |
| 156 |
[% WRAPPER tab_panel tabname="checkouts" bt_active= 1 %] |
155 |
[% WRAPPER tab_panel tabname="checkouts" bt_active= 1 %] |
| 157 |
<div id="checkouts-tab" class="tab-pane show active" aria-labelledby="checkouts"> |
|
|
| 158 |
<div id="borrowerdetails"> |
156 |
<div id="borrowerdetails"> |
| 159 |
[% IF ( new_issue ) %] |
157 |
[% IF ( new_issue ) %] |
| 160 |
<div class="lastchecked"> |
158 |
<div class="lastchecked"> |
|
Lines 215-220
Link Here
|
| 215 |
<td> |
213 |
<td> |
| 216 |
<form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> |
214 |
<form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> |
| 217 |
[% INCLUDE 'csrf-token.inc' %] |
215 |
[% INCLUDE 'csrf-token.inc' %] |
|
|
216 |
<fieldset> |
| 218 |
<legend class="sr-only">Issue renews</legend> |
217 |
<legend class="sr-only">Issue renews</legend> |
| 219 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
218 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
| 220 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
219 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
|
Lines 242-253
Link Here
|
| 242 |
[% IF ISSUE.auto_renew %] |
241 |
[% IF ISSUE.auto_renew %] |
| 243 |
<br /><span>This item is scheduled for automatic renewal</span> |
242 |
<br /><span>This item is scheduled for automatic renewal</span> |
| 244 |
[% END %] |
243 |
[% END %] |
|
|
244 |
</fieldset> |
| 245 |
</form> |
245 |
</form> |
| 246 |
</td> |
246 |
</td> |
| 247 |
[% IF Koha.Preference('SCOAllowCheckin') %] |
247 |
[% IF Koha.Preference('SCOAllowCheckin') %] |
| 248 |
<td> |
248 |
<td> |
| 249 |
<form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> |
249 |
<form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> |
| 250 |
[% INCLUDE 'csrf-token.inc' %] |
250 |
[% INCLUDE 'csrf-token.inc' %] |
|
|
251 |
<fieldset> |
| 251 |
<legend class="sr-only">Issue renews</legend> |
252 |
<legend class="sr-only">Issue renews</legend> |
| 252 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
253 |
<input type="hidden" name="patronid" value="[% patronid | html %]" /> |
| 253 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
254 |
<input type="hidden" name="load_checkouts" value="[% load_checkouts | html %]" /> |
|
Lines 255-260
Link Here
|
| 255 |
<input type="submit" value="Check in item" name="confirm" class="btn btn-info btn-sm return" /> |
256 |
<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="op" value="cud-returnbook" /> |
| 257 |
<input type="hidden" name="confirmed" value="" /> |
258 |
<input type="hidden" name="confirmed" value="" /> |
|
|
259 |
</fieldset> |
| 258 |
</form> |
260 |
</form> |
| 259 |
</td> |
261 |
</td> |
| 260 |
[% END %] |
262 |
[% END %] |
|
Lines 274-280
Link Here
|
| 274 |
[% END # / IF issues_count %] |
276 |
[% END # / IF issues_count %] |
| 275 |
</div> |
277 |
</div> |
| 276 |
<!-- / #borrowerdetails --> |
278 |
<!-- / #borrowerdetails --> |
| 277 |
</div> |
|
|
| 278 |
[% END # /tab_panel %] |
279 |
[% END # /tab_panel %] |
| 279 |
[% WRAPPER tab_panel tabname="holds" %] |
280 |
[% WRAPPER tab_panel tabname="holds" %] |
| 280 |
[% IF HOLDS.count > 0 %] |
281 |
[% IF HOLDS.count > 0 %] |
|
Lines 727-730
Link Here
|
| 727 |
</div> |
728 |
</div> |
| 728 |
[% END %] |
729 |
[% END %] |
| 729 |
[% END %] |
730 |
[% END %] |
| 730 |
</div> |
|
|
| 731 |
- |