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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-2 / +19 lines)
Lines 21-26 Link Here
21
<script type="text/javascript">
21
<script type="text/javascript">
22
//<![CDATA[
22
//<![CDATA[
23
$(document).ready(function() {
23
$(document).ready(function() {
24
        if($('#barcodelist').length) {
25
            $('#barcodelist').focus();
26
        } else if ($('#checkoutrenew').length) {
27
            $('#checkoutrenew').focus();
28
        } else if ($('#printslipshortcut').length) {
29
            $('#printslipshortcut').focus();
30
        }
31
32
        $('#printslipshortcut').on('click', function(){
33
            $('#printslip').click();
34
        });
35
24
        $("#issuest").dataTable($.extend(true, {}, dataTablesDefaults, {
36
        $("#issuest").dataTable($.extend(true, {}, dataTablesDefaults, {
25
            "sDom": 't',
37
            "sDom": 't',
26
            "aaSorting": [],
38
            "aaSorting": [],
Lines 52-57 $(document).ready(function() { Link Here
52
64
53
<div class="yui-g">
65
<div class="yui-g">
54
66
67
[% IF ( borrowernumber ) %]
68
[% INCLUDE 'members-toolbar.inc' %]
69
[% END %]
70
55
[% IF NOT batch_allowed %]
71
[% IF NOT batch_allowed %]
56
  <div class="dialog message">You are not allowed to use batch checkout for this patron</div>
72
  <div class="dialog message">You are not allowed to use batch checkout for this patron</div>
57
[% ELSIF NOT checkout_infos %]
73
[% ELSIF NOT checkout_infos %]
Lines 256-263 $(document).ready(function() { Link Here
256
      <input type="hidden" name="debt_confirmed" value="1" />
272
      <input type="hidden" name="debt_confirmed" value="1" />
257
      <input type="hidden" name="branch" value="[% branch %]" />
273
      <input type="hidden" name="branch" value="[% branch %]" />
258
      <input type="hidden" name="batch" value="1" />
274
      <input type="hidden" name="batch" value="1" />
259
      <input type="submit" class="approve" value="Checkout or renew" />
275
      <input type="submit" id="checkoutrenew" class="approve" value="Checkout or renew" />
260
    </form>
276
    </form>
277
    [% ELSE %]
278
        <p><a href="#" id="printslipshortcut">Print slip</a></p>
261
    [% END %]
279
    [% END %]
262
280
263
[% END %]
281
[% END %]
264
- 

Return to bug 15116