Change 'Rack' to 'Bin'
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
if (isset($data['warehouse_to']) && $type === 'to') { $warehouse = (int)$data['warehouse_to']; $zone = $data['zone_to'] ?? $zone; $aisle = $data['aisle_to'] ?? $aisle; }
|
||||
|
||||
if (!empty($data['id'])) {
|
||||
$output = $whMgmt->getRacksAll($warehouse, $zone, $aisle);
|
||||
$output = $whMgmt->getBinsAll($warehouse, $zone, $aisle);
|
||||
} elseif ($type === 'to') {
|
||||
$output = $whMgmt->getRacksIn($warehouse, $zone, $aisle);
|
||||
$output = $whMgmt->getBinsIn($warehouse, $zone, $aisle);
|
||||
} elseif ($type === 'from') {
|
||||
$output = $whMgmt->getRacksOut(
|
||||
$output = $whMgmt->getBinsOut(
|
||||
$warehouse,
|
||||
$zone,
|
||||
$aisle,
|
||||
@@ -26,7 +26,7 @@
|
||||
$data['serial_number'] ?? null
|
||||
);
|
||||
} else {
|
||||
$output = $whMgmt->getRacksAll($warehouse, $zone, $aisle);
|
||||
$output = $whMgmt->getBinsAll($warehouse, $zone, $aisle);
|
||||
}
|
||||
|
||||
$answer['output'] = $output;
|
||||
|
||||
Reference in New Issue
Block a user