Bug 28854: Add ordering to checkin validation modal
This enhancement adds simple dataTable ordering to the verification modal table at bundle checkin time. Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
34c0fbe755
commit
a6dbcf995f
1 changed files with 8 additions and 1 deletions
|
@ -426,7 +426,7 @@
|
|||
<div class="modal-content">
|
||||
<form method="post">
|
||||
<div class="modal-header">
|
||||
<h3>Please confirm bundle contents</h3>
|
||||
<h3>Please confirm bundle contents for [% item.barcode | html %]</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
|
@ -1515,6 +1515,13 @@
|
|||
});
|
||||
});
|
||||
|
||||
$('#items-bundle-contents-table').dataTable($.extend(true, {}, dataTablesDefaults, {
|
||||
"bFilter": false,
|
||||
"bPaginate": false,
|
||||
"bInfo": false,
|
||||
"order": [[ 1, 'asc' ], [ 0, 'asc' ]]
|
||||
}));
|
||||
|
||||
// print modals
|
||||
$('.modal.printable').on('shown.bs.modal', function() {
|
||||
$('.modal-dialog', this).addClass('focused');
|
||||
|
|
Loading…
Reference in a new issue