@if(isset($invoice) && count($invoice)) @foreach($invoice as $key => $value)
@if ($loop->first)

Add to invoice

@endif
...
{{$value->product_name ?? ""}}
${{number_format($value->total, 2)}}
Item code: {{$value->product_code ?? ""}}
Repeats: {{ucwords($value->repeats_allowed ?? "")}}

{{$value->suggested_use ?? ""}}

Qty: {{$value->quantity ?? ""}}
@endforeach @endif @if(isset($recommended) && count($recommended)) @foreach($recommended as $key => $value)
@if ($loop->first)

Recommend to client

@endif
...
{{$value->product_name ?? ""}}
${{number_format($value->total, 2)}}
Item code: {{$value->product_code ?? ""}}
Repeats: {{ucwords($value->repeats_allowed ?? "")}}

{{$value->suggested_use ?? ""}}

Qty: {{$value->quantity ?? ""}}
@endforeach @endif