@php $company = \App\Models\Company::getPrimary(); $termsConditions = \App\Models\TermsCondition::getActive(); @endphp Quotation - {{ $quotation->quotation_number }}
@if($company && $company->logo_path) Company Logo @else Company @endif

{{ $company ? strtoupper($company->company_name) : 'ALFA MACHINE TOOLS' }}

@if($company && $company->company_description) {{ $company->company_description }}
@else Manufacturer & Exporter of Engineering Machinery
Hydraulic & Pneumatic Power Press, Press Brake, Shearing Machine
@endif @if($company && ($company->city || $company->state)) {{ $company->address ?? '' }}{{ ($company->address && ($company->city || $company->state)) ? ', ' : '' }}{{ $company->city }}{{ ($company->city && $company->state) ? ', ' : '' }}{{ $company->state }} @else Rajkot Industrial Area, Gujarat, India @endif

To,
{{ $quotation->customer->customer_name }}
@if($quotation->customer->address){{ $quotation->customer->address }}
@endif @if($quotation->customer->city || $quotation->customer->state){{ $quotation->customer->city }}{{ $quotation->customer->city && $quotation->customer->state ? ', ' : '' }}{{ $quotation->customer->state }}
@endif @if($quotation->customer->mobile)Mobile No: {{ $quotation->customer->mobile }}
@endif
@if($quotation->valid_until) @endif
Quote No. : {{ $quotation->quotation_number }}
Date : {{ $quotation->quotation_date->format('d-m-Y') }}
Valid Until : {{ $quotation->valid_until->format('d-m-Y') }}

      SUBJECT : QUOTATION FOR {{ $quotation->items->count() > 0 ? $quotation->items->first()->product_name : 'Products/Services' }} @if($quotation->items->count() > 1) & {{ $quotation->items->count() - 1 }} more @endif

DEAR SIR ,

WE ARE PLEASED TO LEARN THAT YOU HAVE A REQUIREMENT {{ $quotation->items->count() ? $quotation->items->pluck('product_name')->join(', ') : 'Products/Services' }} BASED ON YOUR REQUIREMENT, WE ARE PLEASED TO SUBMIT OUR OFFERAS FOLLOWS.

OUR OFFER CONSISTS OF THE FOLLOWING:

WE HOPE YOU SHALL FIND THE OFFER AND TECHNICAL SPECIFICATION THERE IN, WELL IN LINE WITH YOUR REQUIREMENT. IF YOU HAVE ANY QUERY WITH OFFER, PLEASE DO NOT HESITATE TO CALL OR E-MAIL US.

THANK YOU ONCE AGAIN FOR CONSIDERING {{ $company ? strtoupper($company->company_name) : 'ALFA MACHINE TOOLS' }} FOR YOUR MACHINE REQUIREMENT. WE ASSURE YOU OF BEST SERVICE AND ATTENTION AT ALL TIMES.

For, {{ $company ? strtoupper($company->company_name) : 'ALFA MACHINE TOOLS' }}

@if($company && $company->phone_number) Contact : {{ $company->phone_number }}
@else Contact : +91 9227607851
@endif

@foreach($quotation->items as $index => $item) @endforeach @if($quotation->tax_percent > 0) @endif @if($quotation->discount_amount > 0) @endif
No. Description Rate Unit Amount
{{ $index + 1 }} {{ $item->product_name }}
Model: {{ $item->product->product_model ?? 'N/A' }}
@php // Get all specs for this product model $allSpecs = \App\Models\Product::where('product_master_id', $item->product->product_master_id) ->where('product_model', $item->product->product_model) ->where('price', $item->product->price) ->get(); @endphp @if($allSpecs->count() > 0) Specifications:
@foreach($allSpecs as $spec) @if($spec->spec_name) • {{ $spec->spec_name }}: {{ $spec->spec_value }}{{ $spec->spec_unit ? ' ' . $spec->spec_unit : '' }}
@endif @endforeach @endif @if($item->description) Details: {{ substr($item->description, 0, 100) }}{{ strlen($item->description) > 100 ? '...' : '' }} @endif
₹{{ number_format($item->unit_price, 2) }} {{ $item->quantity }} ₹{{ number_format($item->total_price, 2) }}
Sub Total ₹{{ number_format($quotation->subtotal, 2) }}
@if($quotation->customer->gst_type == 'instate') (CGST+SGST) 9%+9% = {{ $quotation->tax_percent }}% @else (IGST) {{ $quotation->tax_percent }}% @endif ₹{{ number_format($quotation->tax_amount, 2) }}
Discount -₹{{ number_format($quotation->discount_amount, 2) }}
TOTAL ₹{{ number_format($quotation->total_amount, 2) }}
QUOTATION SUMMARY
@foreach($quotation->items as $item) @endforeach
Product Name Amount (With Tax) Discount
{{ $item->product_name }} ₹{{ number_format($item->final_total, 2) }} {{ $item->discount ?? '-' }}
GRAND TOTAL ₹{{ number_format($quotation->grand_total, 2) }} -
{{ $company ? strtoupper($company->company_name) : 'ALFA MACHINE TOOLS' }}, @if($company) {{ $company->address }}{{ $company->address && ($company->city || $company->state) ? ', ' : '' }}{{ $company->city }}{{ $company->city && $company->state ? ', ' : '' }}{{ $company->state }}{{ $company->postal_code ? '-' . $company->postal_code : '' }}
@if($company->email || $company->website) @if($company->email)Email: {{ $company->email }}@endif @if($company->email && $company->website)|@endif @if($company->website)Website: {{ $company->website }}@endif @endif @else B/h Glowtech Steel, Gondal Road, Plot No. 103, Kotharia, Rajkot-360004
Email: alfamachinetools01@gmail.com | Website: www.alfamachinetool.com @endif

TERMS & CONDITIONS

@forelse($termsConditions as $tc) @empty @endforelse
{{ strtoupper($tc->title) }} : {{ $tc->description }}
No terms and conditions configured. Please add them from the admin panel.
{{ $company ? strtoupper($company->company_name) : 'ALFA MACHINE TOOLS' }}, @if($company) {{ $company->address }}{{ $company->address && ($company->city || $company->state) ? ', ' : '' }}{{ $company->city }}{{ $company->city && $company->state ? ', ' : '' }}{{ $company->state }}{{ $company->postal_code ? '-' . $company->postal_code : '' }}
@if($company->email || $company->website) @if($company->email)Email: {{ $company->email }}@endif @if($company->email && $company->website)|@endif @if($company->website)Website: {{ $company->website }}@endif @endif @else B/h Glowtech Steel, Gondal Road, Plot No. 103, Kotharia, Rajkot-360004
Email: alfamachinetools01@gmail.com | Website: www.alfamachinetool.com @endif

OUR BANK DETAIL

@if($company && $company->bank_name) @else @endif @if($company && $company->bank_branch) @else @endif @if($company && $company->account_number) @else @endif @if($company && $company->ifsc_code) @else @endif @if($company && $company->gst_number) @else @endif
NAME {{ $company ? strtoupper($company->company_name) : 'ALFA MACHINE TOOLS' }}
BANK {{ $company->bank_name }}
BANK KOTAK BANK
BRANCH {{ $company->bank_branch }}
BRANCH Kalawad Road Branch, RAJKOT
ACCOUNT NUMBER {{ $company->account_number }}
ACCOUNT NUMBER 4712622406
IFSC CODE {{ $company->ifsc_code }}
IFSC CODE KKBK0002794
GST TIN {{ $company->gst_number }}
GST TIN 24AADFA5082H1ZP

We hope you will find above up to satisfaction and await your esteemed order at the earliest.

Thanks & Regards,

for ,{{ $company ? strtoupper($company->company_name) : 'ALFA MACHINE TOOLS' }}

AUTHORIZED SIGNATORY
Mobile : +91 XXXXXXXXXX

Please Visit Us :

@if($company && $company->web_logo_path) @else @endif {{ $company && $company->website ? $company->website : 'www.alfamachinetool.com' }}
@if($company && $company->phone_icon_path) @else @endif {{ $company && $company->phone_number ? $company->phone_number : '+91 9227607851' }}
@if($company && $company->mail_icon_path) @else @endif {{ $company && $company->email ? $company->email : 'info@alfamachinetools.com' }}
@if($company && $company->qr_code_path) QR Code @else QR Code @endif
ALFA MACHINE TOOLS, B/h Glowtech Steel, Gondal Road, Plot No. 103, Kotharia, Rajkot-360004
Email: alfamachinetools01@gmail.com | Website: www.alfamachinetool.com