{{$addedQuote->branch->company->name}}

Products Order's
Contact No: {{ $addedQuote->branch->company->phone ?? ''}}
{{--
GST No - {{$addedQuote->branch->gst_no ?? ''}}
Contact No: {{ $addedQuote->branch->company->phone ?? ''}}
--}}
To: {{$addedQuote->client->user->name ?? ''}}
Address: @php $address = $addedQuote->client->clientAddress->where('oprtnl_flag', 'A')->value('address') @endphp {{$address ?? ''}}
Order No: {{ $addedQuote->order_id ?? ''}}
Order Date: {{ $addedQuote->order_date ? \Carbon\Carbon::parse($addedQuote->order_date)->format('d-m-Y') : '' }}
{{-- --}} @php $subtotal = 0; $pageSubtotal = 0; $pageCount = 0; @endphp @foreach ($addedQuote->ordersItem as $index => $product) @php $total = $product->quantity * $product->price; // $gstAmount = ($product->total * $product->quoteItemTaxes->sum('tax')) / 100; // $totalWithGst = $total + $gstAmount; $subtotal += $total; $pageSubtotal += $total; @endphp {{-- --}} @if (($index + 1) % 18 == 0)
S.No Description HSN Code Qty RateGST(%)Total
{{ $index + 1 }} {{ $product->product_name ?? '' }} {{ $product->product->code}} {{ $product->quantity . '(' . ($product->product->category->unitOfMass->name ?? '') . ')' ?? '' }} ₹ {{ number_format($product->price ?? '', 2) }} {{ number_format($product->quoteItemTaxes->sum('tax') ?: 0, 2) }} @php $total = $product->total; @endphp ₹ {{ number_format($total, 2) }}

...Continue

{{$addedQuote->branch->company->name}}

Products Order's
Contact No: {{ $addedQuote->branch->company->phone ?? ''}}
{{--
GST No - {{$addedQuote->branch->gst_no ?? ''}}
Contact No: {{ $addedQuote->branch->company->phone ?? ''}}
--}}
To: {{$addedQuote->client->user->name ?? ''}}
Address: {{$address ?? ''}}
Order No: {{ $addedQuote->order_id ?? ''}}
Order Date: {{ $addedQuote->order_date ? \Carbon\Carbon::parse($addedQuote->order_date)->format('d-m-Y') : '' }}
{{-- --}} @php $pageSubtotal = 0; $pageCount++; @endphp @endif @endforeach
S.No Description HSN Code Qty RateGST(%)Total