{{ $invoice->branch->name }}
{{ $invoice->branch->address }}, {{ $invoice->branch->city }}, {{ $invoice->branch->state }}-{{ $invoice->branch->pincode }}
PH:{{ $invoice->branch->phone }}, E-mail : {{ $invoice->branch->email }}
Estimate Bill
Bill No: {{ $invoice->invoice_no }}
Customer: {{ $invoice->customer->name }}
No |
Description |
Qty |
Rate |
Total |
@php
$itemTotal = 0;
@endphp
@foreach($orders as $orderItems)
@php
$c++;
$itemRate = ($orderItems->item_total / $orderItems->quantity);
$itemTotal = $itemTotal + $itemRate;
@endphp
{{ $c }} |
{{ $orderItems->product->name }} |
{{ $orderItems->quantity }} {{ ucfirst(strtolower($orderItems->product->unit->unit)) }} |
{{ round($itemRate, 2) }} |
{{ round($orderItems->item_total, 2) }} |
@endforeach
Total
{{ collect($orders)->sum('quantity') }}
{{ round($itemTotal, 2) }}
{{ number_format(round(collect($orders)->sum('item_total')), 2, '.', '') }}
Rupees:
Net Amount
{{ number_format(round($invoice->grand_total), 2, '.', ''); }}