|
|
{{-- @php
$color_size = App\Models\TrimsReceive::where('itemList_id', $trimsChallanDataInput['itemList_id'])
->where('buyer_id', $trimsChallanDataInput['buyer_id'])
->where('order_style', $trimsChallanDataInput['order_style'])
->distinct()
->pluck('color_size')
->first();
@endphp --}}
|
{{-- @php
$rack_no_items = App\Models\TrimsReceive::where('itemList_id', $trimsChallanDataInput['itemList_id'])
->where('buyer_id', $trimsChallanDataInput['buyer_id'])
->where('order_style', $trimsChallanDataInput['order_style'])
->where('color_size', $trimsChallanDataInput['color_size'])
->pluck('rack_no'); // Retrieve only the rack_no values
$rack_no = implode(',', $rack_no_items->toArray());
// Explode the comma-separated string into an array and remove duplicate values
$rack_no_array = array_unique(explode(',', $rack_no));
// If you want to convert it back to a comma-separated string after removing duplicates:
$rack_no = implode(',', $rack_no_array);
// dd($rack_no);
@endphp --}}
|
{{-- @php
$self_bin_no_items = App\Models\TrimsReceive::where('itemList_id', $trimsChallanDataInput['itemList_id'])
->where('buyer_id', $trimsChallanDataInput['buyer_id'])
->where('order_style', $trimsChallanDataInput['order_style'])
->where('color_size', $trimsChallanDataInput['color_size'])
->pluck('self_bin_no'); // Retrieve only the self_bin_no values
$self_bin_no = implode(',', $self_bin_no_items->toArray());
// Explode the comma-separated string into an array and remove duplicate values
$self_bin_no_array = array_unique(explode(',', $self_bin_no));
// If you want to convert it back to a comma-separated string after removing duplicates:
$self_bin_no = implode(',', $self_bin_no_array);
@endphp --}}
|
@php
$uom_name = App\Models\TrimsReceive::where('itemList_id', $trimsChallanDataInput['itemList_id'])
->where('buyer_id', $trimsChallanDataInput['buyer_id'])
->where('order_style', $trimsChallanDataInput['order_style'])
->where('color_size', $trimsChallanDataInput['color_size'])
->where('rack_no', $trimsChallanDataInput['rack_no'])
->where('self_bin_no', $trimsChallanDataInput['self_bin_no'])
->distinct()
->pluck('uom_name')
->first();
$uom_id = App\Models\TrimsReceive::where('itemList_id', $trimsChallanDataInput['itemList_id'])
->where('buyer_id', $trimsChallanDataInput['buyer_id'])
->where('order_style', $trimsChallanDataInput['order_style'])
->where('color_size', $trimsChallanDataInput['color_size'])
->where('rack_no', $trimsChallanDataInput['rack_no'])
->where('self_bin_no', $trimsChallanDataInput['self_bin_no'])
->distinct()
->pluck('uom_id')
->first();
@endphp
|
@php
$booking_qty = App\Models\TrimsReceive::where('itemList_id', $trimsChallanDataInput['itemList_id'])
->where('buyer_id', $trimsChallanDataInput['buyer_id'])
->where('order_style', $trimsChallanDataInput['order_style'])
->where('color_size', $trimsChallanDataInput['color_size'])
->where('rack_no', $trimsChallanDataInput['rack_no'])
->where('self_bin_no', $trimsChallanDataInput['self_bin_no'])
->first()->booking_qty;
@endphp
|
@php
$receive_qty = App\Models\TrimsReceive::where('itemList_id', $trimsChallanDataInput['itemList_id'])
->where('buyer_id', $trimsChallanDataInput['buyer_id'])
->where('order_style', $trimsChallanDataInput['order_style'])
->where('color_size', $trimsChallanDataInput['color_size'])
->where('rack_no', $trimsChallanDataInput['rack_no'])
->where('self_bin_no', $trimsChallanDataInput['self_bin_no'])
->sum('receive_qty');
@endphp
|
|
|
Copy |
@endforeach