@foreach ($orders as $order) @if ($logoPath != null)
{{ $company->address }}
PH:{{ $company->phone }}
GST:{{ $company->gst }}
| Party | {{ $order->debitLedger->name }} | ||
| NO | @if ($order->accounting_voucher_id != null) {{ $order->accountingVoucher->voucher_number }} @else {{ $order->order_code }} @endif | ||
| Date | @if ($order->accounting_voucher_id != null) {{ date('d-m-Y', strtotime($order->accountingVoucher->voucher_date)) }} @else {{ date('d-m-Y', strtotime($order->order_date)) }} @endif | Time | {{ \Carbon\Carbon::parse($order->created_at)->format('h:i A') }} |
| Item | Mrp | Qty | Tax% | Rate | Amount | |
| {{ $key + 1 }} | {{ $item->stockItem->name }} | {{ number_format($item->stockItem->getMrp($order->order_date)) }} | {{ $item->quantity }} | {{ $item->gst_per }} | {{ number_format($item->price_inc_tax, 2) }} | {{ number_format($item->total, 2) }} |
Grand Total |
{{ number_format($order->amount, 2) }} |
|||||
| Tax Rate | CGST | SGST |
|---|---|---|
| {{ $item->gst }}% | {{ $item->cgst }} | {{ $item->sgst }} |
Thank you for Shopping, Please Visit Again
Scan To Pay
@php $payment_link = $company->payment_upi_link; if ($payment_link != null) { $amount = $order->amount; $payment_link = str_replace('amount', $amount, $payment_link); $qrCode = SimpleSoftwareIO\QrCode\Facades\QrCode::format('png')->size(200)->generate($payment_link); $qrCodeBase64 = base64_encode($qrCode); $qrCodeDataUri = 'data:image/png;base64,' . $qrCodeBase64; } @endphp @if ($payment_link != null)