@if ($receive > 0)
{{ ++$sl }} |
{{ $spl['buyer_name'] }} |
{{ $spl['order_style'] }}
|
{{ $spl['item_name'] }}
|
{{ $spl['color_size'] }}
|
{{-- @php
$rack_no_items = App\Models\TrimsReceive::where('itemList_id', $spl['itemList_id'])
->where('buyer_id', $spl['buyer_id'])
->where('order_style', $spl['order_style'])
->where('color_size', $spl['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', $spl['itemList_id'])
->where('buyer_id', $spl['buyer_id'])
->where('order_style', $spl['order_style'])
->where('color_size', $spl['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 --}}
|
|
|
|
|
@endif
@endforeach