Est. No: {{ $estimation->estimation_number }}
Est. Date: {{ date('d-M-y', strtotime($estimation->estimation_date)) }}
| Name | : {{ $estimation->customer?->name }} |
| Contact | : {{ $estimation->customer?->contact_number }} |
| Plate No. | : {{ $estimation->customerVehicle ? $estimation->customerVehicle->plate_number :' ' }} |
| Emirates | : {{ $estimation->customerVehicle->emirates }} |
| Customer TRN | : {{ $estimation->customer?->vat_number }} |
| Brand | : {{ $estimation->customerVehicle->vehicleBrand->vehicle_brand }} |
| VIN No. | : {{ $estimation->customerVehicle->vin_number }} |
| Model | : {{ $estimation->customerVehicle->vehicleModel->vehicle_model }} |
| KM's In | : {{ $estimation->vehicle_km_in }} |
| Sr. No. | Description |
|---|---|
| {{ $i . '.' }} | {{ $estimation_detail->job_description }} |
| Sr. No. | Description | Qty/Time | Unit Price | Total | Vat (5%) | Net Amount |
|---|---|---|---|---|---|---|
| {{ $i . '.' }} | {{ $estimation_detail->sparePart->part_description }} | {{ $estimation_detail->quantity }} | {{ $estimation_detail->sp_selling_price }} | {{ $estimation_detail->quantity * $estimation_detail->sp_selling_price }} | @if ($estimation->show_vat == 'yes') {{ $estimation_detail->quantity * $estimation_detail->sp_selling_price * 0.05 }} @else {{ 0 }} @endif | @if ($estimation->show_vat == 'yes') {{ $estimation_detail->quantity * $estimation_detail->sp_selling_price + $estimation_detail->quantity * $estimation_detail->sp_selling_price * 0.05 }} @else {{ $estimation_detail->quantity * $estimation_detail->sp_selling_price }} @endif |
| {{ $i . '.' }} | {{ $estimation_detail->service->service_name }} | {{ $estimation_detail->s_time }} | {{ $estimation_detail->s_selling_price }} | {{ $estimation_detail->s_selling_price * $estimation_detail->s_time }} | @if ($estimation->show_vat == 'yes') {{ $estimation_detail->s_selling_price * $estimation_detail->s_time * 0.05 }} @else {{ 0 }} @endif | @if ($estimation->show_vat == 'yes') {{ $estimation_detail->s_selling_price * $estimation_detail->s_time + $estimation_detail->s_selling_price * $estimation_detail->s_time * 0.05 }} @else {{ $estimation_detail->s_selling_price * $estimation_detail->s_time }} @endif |
| {{ $i . '.' }} | {{ $estimation_sublet_service->service->service_name }} | {{ $estimation_sublet_service->ss_time }} | {{ $estimation_sublet_service->ss_selling_price }} | {{ $estimation_sublet_service->ss_time * $estimation_sublet_service->ss_selling_price }} | @if ($estimation->show_vat == 'yes') {{ $estimation_sublet_service->ss_time * $estimation_sublet_service->ss_selling_price * 0.05 }} @else {{ 0 }} @endif | @if ($estimation->show_vat == 'yes') {{ $estimation_sublet_service->ss_time * $estimation_sublet_service->ss_selling_price + $estimation_sublet_service->ss_time * $estimation_sublet_service->ss_selling_price * 0.05 }} @else {{ $estimation_sublet_service->ss_time * $estimation_sublet_service->ss_selling_price }} @endif |
| Remark : |
Gross Amount AED
|
{{ $total_spare_part + $total_service + $total_sublet_service }} | ||||
|
5% VAT
|
{{ $total_vat }} | |||||
|
Total Amount In Words : @php $total_amount = $total_spare_part + $total_service + $total_sublet_service + $total_vat; $formatter = new NumberFormatter('en', NumberFormatter::SPELLOUT); $amount_in_words = $formatter->format($total_amount); // Capitalize the first letter of each word $amount_in_words = ucwords($amount_in_words); // Ensure the first letter of the amount is capitalized $amount_in_words = ucfirst($amount_in_words); // Handle fractional part $num = explode('.', $total_amount); $fractional_part = isset($num[1]) ? ' And ' . $formatter->format($num[1]) . ' Fils Only' : ' Only'; @endphp AED {{ $amount_in_words }}{{ $fractional_part }} |
Net Total AED
|
{{ number_format($total_spare_part + $total_service + $total_sublet_service + $total_vat, 2) }} | ||||