Final prep for production
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
}
|
||||
|
||||
// Default: create
|
||||
if ($barcode === '' || !$warehouse_id || $zone === '' || $aisle === '' || $rack === '') {
|
||||
if ($barcode === '' || !$warehouse_id || $rack === '') {
|
||||
$answer['message'] = 'Location barcode data is incomplete.';
|
||||
http_response_code(400);
|
||||
exit(json_encode($answer));
|
||||
|
||||
@@ -247,8 +247,8 @@
|
||||
label_action: 'create',
|
||||
barcode: payload,
|
||||
warehouse_id: item.warehouse_id,
|
||||
zone: advanced ? item.zone : item.rack,
|
||||
aisle: advanced ? item.aisle : item.rack,
|
||||
zone: item.zone || '',
|
||||
aisle: item.aisle || '',
|
||||
rack: item.rack
|
||||
},
|
||||
onSuccess: function() {
|
||||
|
||||
@@ -521,6 +521,7 @@
|
||||
</script>
|
||||
<style>
|
||||
.barcode-label { max-width: 420px; background: #fff; color: #111; }
|
||||
.barcode-label svg { max-width: 100%; height: auto; }
|
||||
.table-scroll {
|
||||
max-height: calc(100vh - 320px);
|
||||
overflow-y: auto;
|
||||
|
||||
Reference in New Issue
Block a user