Invoice #{{ $invoice->invoice_number }}

Company: {{ $invoice->company_name }}

Date: {{ date('d-m-Y', strtotime($invoice->created_at)) }}

@foreach ($items as $index => $item) @if ($index % 5 == 0 && $index != 0)
# Product Model Qty Price Total
@endif @endforeach
# Product Model Qty Price Total
{{ $index + 1 }} {{ $item->product_name }} {{ $item->model_number }} {{ $item->quantity }} {{ number_format($item->unit_price, 2) }} {{ number_format($item->total_price, 2) }}