Group Product
@if(Session::has('response'))
{!!Session::get('response')['message']!!}
@endif
{{-- {{$groupProducts->product_support}} --}}
{{-- {{$groupProducts}} --}}
{{-- {{$products->links()}} --}}
| SL | Product Set Name | Product | discount | Regular Rate | Total | Status | Action |
|---|---|---|---|---|---|---|---|
| {{++$loop->index}} | {{$gp->group_product_name}} |
@forelse ($gp->product_support as $item)
@php
$total = $total + $item->product->rate;
if($loop->index % 2 === 0){
@endphp
{{$item->product->product_name}}
@php
}elseif ($loop->index % 3 === 0) {
@endphp
{{$item->product->product_name}}
@php }else{
@endphp
{{$item->product->product_name}}
@php
}
@endphp
@empty
No data @endforelse |
{{$gp->discount}} | {{$total}} | {{$gp->total}} |
|
|
| No data founds! | |||||||