Lines 224-231
Link Here
|
224 |
<h3>Bundle had missing items</h3> |
224 |
<h3>Bundle had missing items</h3> |
225 |
<p>Bundle contents list updated</p> |
225 |
<p>Bundle contents list updated</p> |
226 |
<p> |
226 |
<p> |
227 |
<a class="btn btn-default btn-xs" role="button" data-toggle="modal" href="#bundleContentsModal"><i class="fa fa-eye" aria-hidden="true"></i> View updated contents list</a> |
227 |
<a class="btn btn-default btn-xs bundle-contents" role="button" data-itemnumber="[% item.itemnumber | html %]" href="#bundleContentsModal"><i class="fa fa-eye bundle-contents-icon" aria-hidden="true"></i><i class="fa fa-spinner fa-pulse fa-fw bundle-contents-spinner" style="display:none"></i> View updated contents list</a> |
228 |
<a class="btn btn-default btn-xs" role="button" data-toggle="modal" href="#bundleMissingModal"><i class="fa fa-eye" aria-hidden="true"></i> View list of missing items</a> |
228 |
<a class="btn btn-default btn-xs bundle-missing" role="button" data-toggle="modal" href="#bundleMissingModal"><i class="fa fa-eye" aria-hidden="true"></i> View list of missing items</a> |
229 |
</p> |
229 |
</p> |
230 |
</div> |
230 |
</div> |
231 |
[% END %] |
231 |
[% END %] |
Lines 386-392
Link Here
|
386 |
<div class="dialog message"> |
386 |
<div class="dialog message"> |
387 |
<h3>Bundle verified</h3> |
387 |
<h3>Bundle verified</h3> |
388 |
<p>The bundle content was verified</p> |
388 |
<p>The bundle content was verified</p> |
389 |
<p><a class="btn btn-default btn-xs" role="button" data-toggle="modal" href="#bundleContentsModal"><i class="fa fa-eye" aria-hidden="true"></i> View contents list</a></p> |
389 |
<p><a class="btn btn-default btn-xs bundle-contents" role="button" data-itemnumber="[% item.itemnumber | html %]" href="#bundleContentsModal"><i class="fa fa-eye bundle-contents-icon" aria-hidden="true"></i><i class="fa fa-spinner fa-pulse fa-fw bundle-contents-spinner" style="display:none"></i> View contents list</a></p> |
390 |
</div> |
390 |
</div> |
391 |
[% END %] |
391 |
[% END %] |
392 |
[% END # /BLOCK all_checkin_messages %] |
392 |
[% END # /BLOCK all_checkin_messages %] |
Lines 1359-1364
Link Here
|
1359 |
</script> |
1359 |
</script> |
1360 |
[% Asset.js("js/resolve_claim_modal.js") | $raw %] |
1360 |
[% Asset.js("js/resolve_claim_modal.js") | $raw %] |
1361 |
[% END %] |
1361 |
[% END %] |
|
|
1362 |
[% Asset.js("js/bundle_contents_modal.js") | $raw %] |
1363 |
[% INCLUDE 'timepicker.inc' %] |
1362 |
|
1364 |
|
1363 |
<script> |
1365 |
<script> |
1364 |
function Dopop(link) { |
1366 |
function Dopop(link) { |
Lines 1588-1610
Link Here
|
1588 |
"bInfo": false, |
1590 |
"bInfo": false, |
1589 |
"order": [[ 1, 'asc' ], [ 0, 'asc' ]] |
1591 |
"order": [[ 1, 'asc' ], [ 0, 'asc' ]] |
1590 |
})); |
1592 |
})); |
1591 |
|
|
|
1592 |
// print modals |
1593 |
$('.modal.printable').on('shown.bs.modal', function() { |
1594 |
$('.modal-dialog', this).addClass('focused'); |
1595 |
$('body').addClass('modalprinter'); |
1596 |
|
1597 |
if ($(this).hasClass('autoprint')) { |
1598 |
window.print(); |
1599 |
} |
1600 |
}).on('hidden.bs.modal', function() { |
1601 |
$('.modal-dialog', this).removeClass('focused'); |
1602 |
$('body').removeClass('modalprinter'); |
1603 |
}); |
1604 |
|
1605 |
$('.printModal').click(function() { |
1606 |
window.print(); |
1607 |
}); |
1608 |
}); |
1593 |
}); |
1609 |
</script> |
1594 |
</script> |
1610 |
|
1595 |
|