ranjith-dev #442
@@ -105,12 +105,11 @@ class PalletPrintController extends Controller
|
||||
->pluck('wire_packing_number')
|
||||
->values();
|
||||
|
||||
|
||||
$index = $completedPallets->search($pallet);
|
||||
|
||||
$currentPalletNo = ($index !== false) ? $index + 1 : 0;
|
||||
$currentPalletNo = ($index != false) ? $index + 1 : 0;
|
||||
|
||||
$boxLabel = $currentPalletNo . '/' . $totalBoxes;
|
||||
$boxLabel = $currentPalletNo.'/'.$totalBoxes;
|
||||
|
||||
// $completedPallets = WireMasterPacking::where('plant_id', $plant)
|
||||
// ->select('wire_packing_number')
|
||||
@@ -178,7 +177,6 @@ class PalletPrintController extends Controller
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
|
||||
|
||||
// public function print(Request $request, $pallet, $plant)
|
||||
// {
|
||||
// $customerId = $request->query('customer');
|
||||
@@ -205,7 +203,6 @@ class PalletPrintController extends Controller
|
||||
// $customerCode = $customer->customer_po ?? '';
|
||||
// $customerName = $customer->customer_name ?? '';
|
||||
|
||||
|
||||
// $totalBoxes = WireMasterPacking::where('plant_id', $plant)
|
||||
// ->where('customer_po_master_id', $customerId)
|
||||
// ->distinct('wire_packing_number')
|
||||
@@ -223,7 +220,6 @@ class PalletPrintController extends Controller
|
||||
// ->pluck('wire_packing_number')
|
||||
// ->values();
|
||||
|
||||
|
||||
// $index = $completedPallets->search($pallet);
|
||||
|
||||
// $currentPalletNo = ($index !== false) ? $index + 1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user