@if(!empty($business_logo))
@else
{{ $business->name ?? 'autodoc' }}
we care for your car
@endif
@if(!empty($custom_addr))
{!! nl2br(e($custom_addr)) !!}
@elseif(!empty($loc)) @if(!empty($loc->name)) {{ $loc->name }}
@endif @if(!empty($loc->landmark)) {{ $loc->landmark }},
@endif @if(!empty($loc->city) || !empty($loc->state)) {{ $loc->city }}@if(!empty($loc->state)), {{ $loc->state }}@endif.
@endif @else NO 420/B,
THALAGALA,
KIRIWATHTHUDUWA.
@endif @if(!empty($custom_phone)) {{ $custom_phone }}
@elseif(!empty($loc->mobile)) (+94) {{ $loc->mobile }}
@elseif(!empty($loc->alternate_number)) (+94) {{ $loc->alternate_number }}
@endif @if(!empty($custom_email)) {{ $custom_email }} @elseif(!empty($loc->email)) {{ $loc->email }} @endif
@elseif(!empty($loc)) @if(!empty($loc->name)) {{ $loc->name }}
@endif @if(!empty($loc->landmark)) {{ $loc->landmark }},
@endif @if(!empty($loc->city) || !empty($loc->state)) {{ $loc->city }}@if(!empty($loc->state)), {{ $loc->state }}@endif.
@endif @else NO 420/B,
THALAGALA,
KIRIWATHTHUDUWA.
@endif @if(!empty($custom_phone)) {{ $custom_phone }}
@elseif(!empty($loc->mobile)) (+94) {{ $loc->mobile }}
@elseif(!empty($loc->alternate_number)) (+94) {{ $loc->alternate_number }}
@endif @if(!empty($custom_email)) {{ $custom_email }} @elseif(!empty($loc->email)) {{ $loc->email }} @endif
| VEHICLE REG NO | : | {{ $estimate->vehicle_reg_no ?? '-' }} |
| MAKE | : | {{ $estimate->brand ? $estimate->brand->name : '-' }} |
| MODEL/FRAME NO | : | {{ $estimate->model_frame_no ?? ($estimate->deviceModel ? $estimate->deviceModel->name : '-') }} |
| ESTIMATE NO | : | {{ $estimate->estimate_no }} |
| DATE | : | {{ !empty($estimate->estimate_date) ? date('d.m.Y', strtotime($estimate->estimate_date)) : date('d.m.Y') }} |
| INSURANCE COMPANY | : | {{ $estimate->insurance_company ?? '' }} |
@if(!empty($categorized_items) && count($categorized_items) > 0)
@foreach($categorized_items as $catGroup)
@foreach($catGroup['items'] as $item)
@endforeach
@endif
@if(!empty($estimate_settings['show_total']) && !empty($estimate->total_amount) && $estimate->total_amount > 0)
• {{ $catGroup['category'] }}
| {{ $item['index'] }}. {{ $item['description'] }} | {{ $item['amount'] }} |
TOTAL ESTIMATED AMOUNT: {{ @num_format($estimate->total_amount) }}
@endif