@if(!empty($business_logo)) 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
{{ $estimate->title ?? 'BODY & PAINT REPAIR ESTIMATE' }}
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)
• {{ $catGroup['category'] }}
@foreach($catGroup['items'] as $item) @endforeach
{{ $item['index'] }}. {{ $item['description'] }} {{ $item['amount'] }}
@endforeach @endif
@if(!empty($estimate_settings['show_total']) && !empty($estimate->total_amount) && $estimate->total_amount > 0)
TOTAL ESTIMATED AMOUNT: {{ @num_format($estimate->total_amount) }}
@endif