Header Image

QUOTATION LETTER

Number: {{ $quotation->quotation_number }}

Date: {{ \Carbon\Carbon::parse($quotation->quotation_date)->format('F d, Y') }}

To: {{ $quotation->user->nama_perusahaan ?? 'Company Name' }}

Dear {{ $quotation->recipient_contact_person }},

With reference to your letter number {{ $referenceNumber }}, PT. Simplay Abyakta Mediatek is pleased to submit our quotation with the following terms & conditions:

@foreach ($quotation->quotationProducts as $index => $product) @endforeach
No. Name of Equipment Merk Type QTY Unit Price Total Price
{{ $index + 1 }} {{ $product->equipment_name ?? 'N/A' }} {{ $product->merk_type ?? 'N/A' }} {{ $product->quantity ?? 0 }} {{ number_format($product->unit_price, 2) }} {{ number_format($product->total_price, 2) }}
Sub Total Price {{ number_format($quotation->subtotal_price, 2) }}
Discount ({{ $quotation->discount ?? 0 }}%) -{{ number_format($quotation->subtotal_price * ($quotation->discount / 100), 2) }}
Sub Total II (After Discount) {{ number_format($quotation->total_after_discount, 2) }}
PPN ({{ $quotation->ppn ?? 10 }}%) {{ number_format($quotation->total_after_discount * ($quotation->ppn / 100), 2) }}
Grand Total Price {{ number_format($quotation->grand_total, 2) }}

Notes:

@php // Convert string to array if needed $notes = is_array($quotation->notes) ? $quotation->notes : explode("\n", $quotation->notes); @endphp @if (!empty($notes))
    @foreach ($notes as $index => $note)
  1. {{ $note }}
  2. @endforeach
@else

No additional notes.

@endif

Terms & Conditions:

@php // Convert string to array if needed $terms_conditions = is_array($quotation->terms_conditions) ? $quotation->terms_conditions : explode("\n", $quotation->terms_conditions); @endphp @if (!empty($terms_conditions))
    @foreach ($terms_conditions as $index => $term)
  1. {{ $term }}
  2. @endforeach
@else

No specific terms and conditions.

@endif

Kind Regards,

PT. Simplay Abyakta Mediatek

Signature

{{ $quotation->authorized_person_name ?? 'Signer Name' }}

{{ $quotation->authorized_person_position ?? 'Position' }}