Lines 50-60
Link Here
|
50 |
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> |
50 |
<div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"> |
51 |
[% END %] |
51 |
[% END %] |
52 |
<main> |
52 |
<main> |
53 |
<h1>Batch check out</h1> |
53 |
[% IF patron %] |
|
|
54 |
[% INCLUDE 'members-toolbar.inc' %] |
55 |
[% END %] |
56 |
|
57 |
<h1>Batch check out</h1> |
54 |
|
58 |
|
55 |
[% IF patron %] |
|
|
56 |
[% INCLUDE 'members-toolbar.inc' %] |
57 |
[% END %] |
58 |
|
59 |
|
59 |
[% IF patron and not batch_allowed %] |
60 |
[% IF patron and not batch_allowed %] |
60 |
<div class="dialog alert">You are not allowed to use batch checkout for this patron</div> |
61 |
<div class="dialog alert">You are not allowed to use batch checkout for this patron</div> |
Lines 83-129
Link Here
|
83 |
</div> |
84 |
</div> |
84 |
[% ELSIF patron and not checkout_infos %] |
85 |
[% ELSIF patron and not checkout_infos %] |
85 |
<form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/circ/circulation.pl"> |
86 |
<form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/circ/circulation.pl"> |
86 |
<fieldset id="circ_circulation_issue"> |
87 |
<div id="circ_circulation_issue"> |
87 |
<label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label> |
88 |
<fieldset> |
88 |
<fieldset class="rows"> |
89 |
<legend>Checking out to [% INCLUDE 'patron-title.inc' %]</legend> |
89 |
<legend>Use a file</legend> |
90 |
<ol> |
90 |
<ol> |
91 |
<li> |
91 |
<li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li> |
92 |
<label for="barcodelist">Enter barcodes (one barcode per line): </label> |
92 |
</ol> |
93 |
<textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea> |
93 |
</fieldset> |
94 |
</li> |
94 |
<fieldset class="rows"> |
95 |
<li> |
95 |
<legend>Or list barcodes one by one</legend> |
96 |
<label for="uploadfile">Or use a file: </label> |
96 |
<ol> |
97 |
<input type="file" id="uploadfile" name="uploadfile" /> |
97 |
<li> |
98 |
</li> |
98 |
<label for="barcodelist">Barcode list (one barcode per line): </label> |
99 |
</ol> |
99 |
<textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea> |
100 |
</fieldset> |
100 |
</li> |
101 |
|
101 |
</ol> |
102 |
[% IF Koha.Preference('SpecifyDueDate') || Koha.Preference('OnSiteCheckouts') %] |
102 |
</fieldset> |
103 |
<fieldset> |
103 |
[% IF Koha.Preference('SpecifyDueDate') || Koha.Preference('OnSiteCheckouts') %] |
104 |
<ol> |
104 |
<fieldset class="rows"> |
105 |
[% IF Koha.Preference('SpecifyDueDate') %] |
105 |
<ol> |
106 |
<li> |
106 |
[% IF Koha.Preference('SpecifyDueDate') %] |
107 |
<label for="duedatespec">Specify due date: [% INCLUDE 'date-format.inc' %]</label> |
107 |
<legend>Due date</legend> |
108 |
<input type="text" size="20" id="duedatespec" name="duedatespec" value="[% duedatespec | html %]" class="flatpickr" data-flatpickr-enable-time="true"/> |
108 |
<li> |
109 |
</li> |
109 |
<label for="duedatespec">Hard due date: [% INCLUDE 'date-format.inc' %]</label> |
110 |
[% END %] |
110 |
<input type="text" size="20" id="duedatespec" name="duedatespec" value="[% duedatespec | html %]" class="flatpickr" data-flatpickr-enable-time="true"/> |
111 |
[% IF Koha.Preference('OnSiteCheckouts') %] |
111 |
</li> |
112 |
<li class="radio"> |
112 |
[% END %] |
113 |
<div id="onsite_checkout-select"> |
113 |
[% IF Koha.Preference('OnSiteCheckouts') %] |
114 |
<input type="checkbox" id="onsite_checkout" name="onsite_checkout" class="circ_setting"/> |
114 |
<li> |
115 |
<label for="onsite_checkout">On-site checkout</label> |
115 |
<div id="onsite_checkout-select"> |
116 |
</div> |
116 |
<label for="onsite_checkout">On-site checkout:</label> |
117 |
</li> |
117 |
<input type="checkbox" id="onsite_checkout" name="onsite_checkout" class="circ_setting"/> |
118 |
[% END %] |
118 |
</div> |
119 |
</ol> |
119 |
</li> |
120 |
</fieldset> |
120 |
[% END %] |
121 |
[% END %] |
121 |
</ol> |
|
|
122 |
</fieldset> |
123 |
[% END %] |
124 |
|
122 |
|
125 |
<input type="hidden" name="op" value="show" /> |
123 |
<input type="hidden" name="op" value="show" /> |
126 |
</fieldset> |
124 |
</div> |
127 |
|
125 |
|
128 |
<fieldset class="action"> |
126 |
<fieldset class="action"> |
129 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
127 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% patron.borrowernumber | html %]" /> |
Lines 135-145
Link Here
|
135 |
|
133 |
|
136 |
[% ELSIF patron %] |
134 |
[% ELSIF patron %] |
137 |
[% IF confirmation_needed && CAN_user_circulate_force_checkout %] |
135 |
[% IF confirmation_needed && CAN_user_circulate_force_checkout %] |
138 |
<h3>Batch checkout confirmation [% IF patron %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] [% END %]</h3> |
136 |
<h3>Batch checkout confirmation</h3> |
139 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> |
137 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> |
140 |
[% ELSE %] |
138 |
[% ELSE %] |
141 |
<h3>Batch checkout information [% IF patron.borrowernumber %] for [% INCLUDE 'patron-title.inc' invert_name = 1 %] |[% batch | html %]|[% END %]</h3> |
139 |
<h3>Batch checkout results</h3> |
142 |
[% END %] |
140 |
[% END %] |
|
|
141 |
<div class="page-section"> |
143 |
<table id="checkout_infos"> |
142 |
<table id="checkout_infos"> |
144 |
<thead> |
143 |
<thead> |
145 |
<tr> |
144 |
<tr> |
Lines 308-320
Link Here
|
308 |
[% END %] |
307 |
[% END %] |
309 |
|
308 |
|
310 |
[% IF checkout_info.issue.date_due %] |
309 |
[% IF checkout_info.issue.date_due %] |
311 |
<li>Due on [% checkout_info.issue.date_due | $KohaDates as_due_date => 1 %]</li> |
310 |
<ul> |
|
|
311 |
<li>Due on [% checkout_info.issue.date_due | $KohaDates as_due_date => 1 %]</li> |
312 |
</ul> |
312 |
[% END %] |
313 |
[% END %] |
313 |
</td> |
314 |
</td> |
314 |
</tr> |
315 |
</tr> |
315 |
[% END %] |
316 |
[% END %] |
316 |
</tbody> |
317 |
</tbody> |
317 |
</table> |
318 |
</table> |
|
|
319 |
</div> |
318 |
|
320 |
|
319 |
[% IF confirmation_needed && CAN_user_circulate_force_checkout %] |
321 |
[% IF confirmation_needed && CAN_user_circulate_force_checkout %] |
320 |
<fieldset> |
322 |
<fieldset> |
321 |
- |
|
|