|
Lines 179-184
Link Here
|
| 179 |
<th>Schedule</th> |
179 |
<th>Schedule</th> |
| 180 |
<th>Notes</th> |
180 |
<th>Notes</th> |
| 181 |
<th>Actions</th> |
181 |
<th>Actions</th> |
|
|
182 |
<th></th> |
| 182 |
</tr> |
183 |
</tr> |
| 183 |
</thead> |
184 |
</thead> |
| 184 |
<tbody> |
185 |
<tbody> |
|
Lines 211-216
Link Here
|
| 211 |
<i class="fa fa-ban" aria-hidden="true"></i> Cancel this pickup</button> |
212 |
<i class="fa fa-ban" aria-hidden="true"></i> Cancel this pickup</button> |
| 212 |
</form> |
213 |
</form> |
| 213 |
</td> |
214 |
</td> |
|
|
215 |
<td></td> |
| 214 |
</tr> |
216 |
</tr> |
| 215 |
[% END %] |
217 |
[% END %] |
| 216 |
</tbody> |
218 |
</tbody> |
|
Lines 280-285
Link Here
|
| 280 |
<script>dayjs.extend(window.dayjs_plugin_isSameOrAfter)</script> |
282 |
<script>dayjs.extend(window.dayjs_plugin_isSameOrAfter)</script> |
| 281 |
<script>dayjs.extend(window.dayjs_plugin_customParseFormat)</script> |
283 |
<script>dayjs.extend(window.dayjs_plugin_customParseFormat)</script> |
| 282 |
[% INCLUDE 'calendar.inc' %] |
284 |
[% INCLUDE 'calendar.inc' %] |
|
|
285 |
[% INCLUDE 'datatables.inc' %] |
| 283 |
<script> |
286 |
<script> |
| 284 |
[% SET pickup_exists_in = [] %] |
287 |
[% SET pickup_exists_in = [] %] |
| 285 |
[% FOR p IN patron_curbside_pickups %] |
288 |
[% FOR p IN patron_curbside_pickups %] |
|
Lines 324-329
Link Here
|
| 324 |
}); |
327 |
}); |
| 325 |
|
328 |
|
| 326 |
$(document).ready(function() { |
329 |
$(document).ready(function() { |
|
|
330 |
$('#pickups-table').dataTable($.extend(true, {}, dataTablesDefaults, { |
| 331 |
"searching": false, |
| 332 |
"paging": false, |
| 333 |
"info": false, |
| 334 |
"autoWidth": false, |
| 335 |
"responsive": { |
| 336 |
"details": { "type": 'column',"target": -1 } |
| 337 |
}, |
| 338 |
"columnDefs": [ |
| 339 |
{ "className": 'dtr-control', "orderable": false, "targets": -1 } |
| 340 |
], |
| 341 |
})); |
| 327 |
$("#pickup-branch option").each(function(){ |
342 |
$("#pickup-branch option").each(function(){ |
| 328 |
if ( $(this).val() != "" && !policies[$(this).val()].enabled ) { |
343 |
if ( $(this).val() != "" && !policies[$(this).val()].enabled ) { |
| 329 |
$(this).prop("disabled", "disabled"); |
344 |
$(this).prop("disabled", "disabled"); |
| 330 |
- |
|
|