Perundurai - {{ $settings->phone ?? '' }}
Inv#{{ $addedInvoice->invoice_id ?? '' }} | Date: {{ $addedInvoice->invoice_date ? \Carbon\Carbon::parse($addedInvoice->invoice_date)->format('d-m-Y') : '' }} |
No. | --}}Menu Items | Price | Qty | Amount |
---|---|---|---|---|
{{ $index + 1 }} | --}}{{ $index + 1 }}.{{ $data->product_name ?? '' }} | {{ $data->price ?? '' }} | {{ $data->quantity ?? '' }} | {{ $data->total ?? '' }} |
SubTotal | {{ $addedInvoice->amount ?? '0' }} | |||
Tax | @php $totalTax = 0; foreach ($addedInvoice->invoiceItems as $item) { if ($item->invoiceItemTaxes) { foreach ($item->invoiceItemTaxes as $tax) { $totalTax += ($item->total * $tax->tax) / 100; } } } @endphp ₹{{ number_format($totalTax, 2) }} | |||
Discount | @php $totalDiscount = 0; $total = $addedInvoice->amount + $totalTax; if ($addedInvoice->discount_type == 1) { $totalDiscount = $addedInvoice->discount; } elseif ($addedInvoice->discount_type == 2) { $discountAmount = ($total * $addedInvoice->discount) / 100; $totalDiscount = $discountAmount; } else { $totalDiscount = 0; } @endphp ₹ {{number_format($totalDiscount ?? 0, 2)}} | |||
Redeemed Amount | {{$redeemed_value ?? ''}} | |||
Grand Total | {{number_format(floor(($total - $totalDiscount) - ($settings->loyalty_config == 'A' ? $redeemed_value : 0)) ?? 0, 2)}} | |||
Total Menu-item's Qty | @php $sumQty = 0; foreach ($addedInvoice->invoiceItems as $item) { $sumQty += $item->quantity; } @endphp{{ $sumQty ?? 0}} |
Thank you! Visit again.
Order's Copy
Perundurai - {{ $settings->phone ?? '' }}
Inv#{{ $addedInvoice->invoice_id ?? '' }} | Date: {{ $addedInvoice->invoice_date ? \Carbon\Carbon::parse($addedInvoice->invoice_date)->format('d-m-Y') : '' }} |
No. | --}}Menu Items | Price | Qty | Amount |
---|---|---|---|---|
{{ $index + 1 }} | --}}{{ $index + 1 }}.{{ $data->product_name ?? '' }} | {{ $data->price ?? '' }} | {{ $data->quantity ?? '' }} | {{ $data->total ?? '' }} |
SubTotal | {{ $addedInvoice->amount ?? '0' }} | |||
Tax | @php $totalTax = 0; foreach ($addedInvoice->invoiceItems as $item) { if ($item->invoiceItemTaxes) { foreach ($item->invoiceItemTaxes as $tax) { $totalTax += ($item->total * $tax->tax) / 100; } } } @endphp ₹{{ number_format($totalTax, 2) }} | |||
Discount | @php $totalDiscount = 0; $total = $addedInvoice->amount + $totalTax; if ($addedInvoice->discount_type == 1) { $totalDiscount = $addedInvoice->discount; } elseif ($addedInvoice->discount_type == 2) { $discountAmount = ($total * $addedInvoice->discount) / 100; $totalDiscount = $discountAmount; } else { $totalDiscount = 0; } @endphp ₹ {{number_format($totalDiscount ?? 0, 2)}} | |||
Redeemed Amount | {{$redeemed_value ?? ''}} | |||
Grand Total | {{number_format(floor(($total - $totalDiscount) - ($settings->loyalty_config == 'A' ? $redeemed_value : 0)) ?? 0, 2)}} | |||
Total Menu-item's Qty | @php $sumQty = 0; foreach ($addedInvoice->invoiceItems as $item) { $sumQty += $item->quantity; } @endphp{{ $sumQty ?? 0}} |
Thank you! Visit again.