{{ $company['company_name'] ?? 'OneSpot Solutions Ltd' }}
{{ $company['company_address'] ?? 'Nairobi, Kenya' }}
Phone: {{ $company['company_phone'] ?? '+254743456809' }}
Email: {{ $company['company_email'] ?? 'info@onespotsolutionsltd.co.ke' }}

QUOTATION

{{ $quotation->quotation_number }}
{{ $quotation->status === 'draft' ? 'OFFICIAL' : ucfirst($quotation->status) }}
@if($quotation->valid_until)
This quotation is valid until: {{ $quotation->valid_until->format('F d, Y') }}
@endif

Customer Information

{{ $quotation->customer_name }}

{{ $quotation->customer_email }}

{{ $quotation->customer_phone }}

@if($quotation->customer_address)

{{ $quotation->customer_address }}

@endif

Quotation Details

Date: {{ $quotation->created_at->format('F d, Y') }}

Service Type: {{ ucfirst($quotation->service_type ?? 'General') }}

@if($quotation->site_address)

Site Address: {{ $quotation->site_address }}

@endif @if($quotation->is_shop_customer)

Shop Customer Discount Applied

@endif
@if($quotation->service_description)

Service Description

{{ $quotation->service_description }}
@endif @foreach($quotation->items as $item) @endforeach
Type Description Qty Unit Price Subtotal
{{ $item->item_type }} {{ $item->description }} {{ $item->quantity }} KSh {{ number_format($item->unit_price, 2) }} KSh {{ number_format($item->subtotal, 2) }}
Products Total:
KSh {{ number_format($quotation->products_total, 2) }}
Installation/Services:
KSh {{ number_format($quotation->installation_total, 2) }}
@if($quotation->installation_discount > 0)
Discount ({{ $quotation->discount_percentage }}%):
- KSh {{ number_format($quotation->installation_discount, 2) }}
@endif
Grand Total:
KSh {{ number_format($quotation->total, 2) }}
@if($quotation->terms_conditions)

Terms & Conditions

{!! nl2br(e($quotation->terms_conditions)) !!}
@endif @if($quotation->notes)

Additional Notes

{{ $quotation->notes }}
@endif @if(($payment['mpesa_enabled'] ?? false) || ($payment['bank_enabled'] ?? false))

Payment Details

@if($payment['mpesa_enabled'] ?? false) @endif @if($payment['bank_enabled'] ?? false) @endif
M-PESA (Buy Goods & Services)
Till Number: {{ $payment['mpesa_till_number'] ?? '' }}
Bank Transfer
Bank: {{ $payment['bank_name'] ?? '' }}
Account Name: {{ $payment['bank_account_name'] ?? '' }}
Account No: {{ $payment['bank_account_number'] ?? '' }} @if(!empty($payment['bank_branch']))
Branch: {{ $payment['bank_branch'] }} @endif
@endif