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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-1 / +16 lines)
Lines 77-82 Link Here
77
          </li>
77
          </li>
78
        </ol>
78
        </ol>
79
      </fieldset>
79
      </fieldset>
80
      [% IF Koha.Preference('SpecifyDueDate') %]
81
          <fieldset class="rows">
82
              <legend>Due date: </legend>
83
              <label for="duedatespec">Hard due date [% INCLUDE 'date-format.inc' %]:</label>
84
              <input type="text" size="20" id="duedatespec" name="duedatespec" value="[% duedatespec | $KohaDates with_hours => 1 %]" />
85
          </fieldset>
86
      [% END %]
80
      <input type="hidden" name="op" value="show" />
87
      <input type="hidden" name="op" value="show" />
81
      <fieldset class="action">
88
      <fieldset class="action">
82
        <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" />
89
        <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" />
Lines 274-279 Link Here
274
      <input type="hidden" name="issueconfirmed" value="1" />
281
      <input type="hidden" name="issueconfirmed" value="1" />
275
      <input type="hidden" name="debt_confirmed" value="1" />
282
      <input type="hidden" name="debt_confirmed" value="1" />
276
      <input type="hidden" name="branch" value="[% branch | html %]" />
283
      <input type="hidden" name="branch" value="[% branch | html %]" />
284
      <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
277
      <input type="hidden" name="batch" value="1" />
285
      <input type="hidden" name="batch" value="1" />
278
      <input type="submit" id="checkoutrenew" class="approve" value="Checkout or renew" />
286
      <input type="submit" id="checkoutrenew" class="approve" value="Checkout or renew" />
279
        </fieldset>
287
        </fieldset>
Lines 315-321 Link Here
315
                ],
323
                ],
316
                "bPaginate": false
324
                "bPaginate": false
317
            }));
325
            }));
326
327
            $("#duedatespec").datetimepicker({
328
                hour: 23,
329
                minute: 59
330
            }).on("change", function(e, value) {
331
                if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");}
332
            });
318
        });
333
        });
334
319
    </script>
335
    </script>
320
    [% INCLUDE 'str/members-menu.inc' %]
336
    [% INCLUDE 'str/members-menu.inc' %]
321
    [% Asset.js("js/members-menu.js") | $raw %]
337
    [% Asset.js("js/members-menu.js") | $raw %]
322
- 

Return to bug 16748