Quotes

Quote Number {{$addedInvoice->quote_id ?? ''}}

Quote Date {{$addedInvoice->quote_date ? \Carbon\Carbon::parse($addedInvoice->quote_date)->format('d-m-Y') : ''}}

Quote To

{{$addedInvoice->client->user->name ?? ''}}

(+91) {{$addedInvoice->client->user->phone ?? ''}}

Quote From

{{$settings->company_name ?? ''}}

{{$settings->address ?? ''}}
{{$settings->email ?? ''}}
(+91) {{$settings->phone ?? ''}}

@foreach ($addedInvoice->quotesItem as $index => $data) @endforeach
No. Item Description Price Quantity Amount
{{ $index + 1 }}
{{$data->product_name ?? ''}} {{$data->price ?? ''}} {{$data->quantity ?? ''}} {{$data->total ?? ''}}
SubTotal ₹{{number_format($addedInvoice->amount ?? 0, 2)}}
Discount @php $totalDiscount = 0; $total = $addedInvoice->amount; 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)}}
Grand Total ₹ {{number_format(floor($total - $totalDiscount) ?? 0, 2)}}