Sales Order

{{-- --}} {{-- --}} {{-- --}} {{-- --}}
@php $logoPath = null; if (!empty($quotation->company?->company_logo)) { $tempPath = public_path($quotation->company->company_logo); if (file_exists($tempPath) && !is_dir($tempPath)) { $logoPath = $tempPath; } } if (!$logoPath) { $defaultLogo = public_path('assets/template/images/logo/pdf-logo.png'); if (file_exists($defaultLogo) && !is_dir($defaultLogo)) { $logoPath = $defaultLogo; } } @endphp @if ($logoPath) @endif

{{ $quotation->company->company_name }}

(Unit of SparkMed Engineering)

{{ $quotation->bill_from->address_line_1 ?? '' }} {{ $quotation->bill_from->city ?? '' }},{{ $quotation->bill_from->state ?? '' }} {{ $quotation->bill_from->pincode ?? '' }}

{{--

{{ $quotation->bill_from->city ?? '' }},{{ $quotation->bill_from->state ?? '' }} {{ $quotation->bill_from->pincode ?? '' }}

--}} {{--
Ph: {{ $quotation->company->primary_contact ?? '' }} Email: {{ $quotation->company->primary_email_address ?? '' }} / {{ $quotation->company->support_email ?? '' }}
--}}

Ph: {{ $quotation->company->primary_contact ?? '' }} Email: {{ $quotation->company->primary_email_address ?? '' }} / {{ $quotation->company->support_email ?? '' }} {{--

Ph: {{ $quotation->company->primary_contact ?? '' }}

Email: {{ $quotation->company->primary_email_address ?? '' }} / {{ $quotation->company->support_email ?? '' }}

--}}

GST: {{ $quotation->company->gst_vat_number ?? '' }}

Bill To

{{ $quotation->bill_to->address_line_1 ?? '' }},{{ $quotation->bill_to->address_line_2 ?? '' }},{{ $quotation->bill_to->city ?? '' }},{{ $quotation->bill_to->state ?? '' }} {{ $quotation->bill_to->pincode ?? '' }}

Ph: {{ $quotation->client->primary_contact_no ?? '' }} / {{ $quotation->client->whatsapp_no ?? '' }}

Email: {{ $quotation->client->primary_email_address ?? '' }}

Customer Name

{{ $quotation->client->name }}

Sales Order No

{{ $salesorder->sales_order_no ?? 'N/A' }}

Quotation ID

{{ $quotation->quotation_no }}

Quotation Date

{{ $quotation->quote_date }}

Ship To

{{ $quotation->ship_to->address_line_1 ?? '' }},{{ $quotation->ship_to->address_line_2 ?? '' }},{{ $quotation->ship_to->city ?? '' }},{{ $quotation->ship_to->state ?? '' }} {{ $quotation->ship_to->pincode ?? '' }}

Ph: {{ $quotation->client->primary_contact_no ?? '' }} / {{ $quotation->client->whatsapp_no ?? '' }}

Email: {{ $quotation->client->primary_email_address ?? '' }}

GSTIN

A87162273651110

Customer Reference ID

{{ $quotation->customer_ref_id }}

Terms of Payment

{{ $quotation->terms_of_payment }}

Tax Type

GST

Subject: {{ $quotation->subject }}

@php $totalTaxableValue = 0; $totalCGST = 0; $totalSGST = 0; $totalIGST = 0; $grandTotal = 0; @endphp @foreach ($quotation->quotationProducts as $index => $product) @php $taxableValue = $product->amount; $cgst = $product->cgst ?? 0; $sgst = $product->sgst ?? 0; $igst = $product->igst ?? 0; $lineTotal = $taxableValue + $cgst + $sgst + $igst; $totalTaxableValue += $taxableValue; $totalCGST += $cgst; $totalSGST += $sgst; $totalIGST += $igst; $grandTotal += $lineTotal; @endphp @endforeach {{-- OTHER CHARGES --}} @php $otherChargesTotal = 0; $otherChargesTax = 0; @endphp @foreach ($quotation->charges as $charge) @php $otherChargesTotal += $charge->amount; $otherChargesTax += $charge->gst ?? 0; @endphp @endforeach @if ($otherChargesTotal > 0) @endif @if ($quotation->overall_discount_amount > 0) @endif
S.No Product Name HSN Unit Price Qty Disc % Taxable GST IGST Amount
CGST SGST %
{{ $index + 1 }} {{ $product->product_name }} {{ $product->product->hsn_code ?? '-' }} {{ $product->master->value ?? 'NOS' }} ₹{{ number_format($product->rate, 2) }} {{ $product->quantity }} {{ $product->discount ?? '' }} ₹{{ number_format($taxableValue, 2) }} ₹{{ number_format($cgst, 2) }} ₹{{ number_format($sgst, 2) }} ₹{{ number_format($igst, 2) }} ₹{{ number_format($lineTotal, 2) }}
Sub Total : ₹{{ number_format($totalCGST, 2) }} ₹{{ number_format($totalSGST, 2) }} ₹{{ number_format($totalIGST, 2) }} ₹{{ number_format($grandTotal, 2) }}
Other Charges : ₹{{ number_format($otherChargesTotal, 2) }} Tax:₹{{ number_format($otherChargesTax, 2) }} ₹{{ number_format($otherChargesTotal + $otherChargesTax, 2) }}
Overall Discount @if ($quotation->overall_product_discount == 1) ({{ $quotation->overall_discount_amount }}%) @else (₹{{ number_format($quotation->overall_discount_amount, 2) }}) @endif : -₹{{ number_format($quotation->discount_amount ?? 0, 2) }}
Grand Total : ₹{{ number_format($quotation->total_amount, 2) }}

Amount Chargeable (in words)

{{ \App\Helpers\Helper::numberToWords($quotation->total_amount) }} Only

Bank Details

Price Details

Account Holder Name : {{ $quotation->bank->account_holder_name ?? 'N/A' }}
Bank Name : {{ $quotation->bank->bank_name ?? 'N/A' }}
Branch Name : {{ $quotation->bank->branch_name ?? 'N/A' }}
Account Number : {{ $quotation->bank->account_no ?? 'N/A' }}
IFSC Code : {{ $quotation->bank->ifsc ?? 'N/A' }}
Taxable Amount {{ number_format($quotation->total_tax_amount, 2) }}
GST (CGST, SGST) :18%
Total Amount :{{ number_format($quotation->total_amount, 2) }}
Total Amount {{ number_format($quotation->total_amount, 2) }}

Terms of Instructions

  • Delivery terms: 2-4 WEEKS from the date of your Purchase order along with PAYMENT IMMEDIATE 100%
  • {!! $quotation->company->standing_instruction !!}

Notes
{!! $quotation->company?->thanking_notes !!}

For {{ $quotation->company->company_name ?? 'N/A' }}

@php $esignPath = null; if (!empty($quotation->company?->esign)) { $tempSignPath = public_path($quotation->company->esign); if (file_exists($tempSignPath) && !is_dir($tempSignPath)) { $esignPath = $tempSignPath; } } @endphp @if ($esignPath) Authorized Signature @endif
(Authorized Signature) Date: 00/00/0000