{{__('Estimate')}} - #{{@$estimate->estimate_number}} {{@$estimate->estimate_date}}

{{-- Address Table starts --}}
{{@$company_details[0]['field_value']}}
{{@$company_details[1]['field_value']}}
{{@$company_details[2]['field_value']}}, {{@$company_details[3]['field_value']}}, {{@$company_details[4]['field_value']}} [{{@$company_details[5]['field_value']}}]
{{@$company_details[6]['field_value']}}
{{@$company_details[7]['field_value']}}
{{-- Address Table ends --}}
{{__('Subject')}}: {{@$estimate->estimate_title}}

{{-- Prepared for table starts --}}
{{__('Prepared For')}}: @if ($estimate->relation == 'Customer') {{@$estimate->contact->first_name}} {{@$estimate->contact->last_name}} @else {{@$estimate->lead->first_name}} {{@$estimate->lead->last_name}} @endif
{{-- Prepared for table ends --}}
{{-- Prepared for table starts --}}
{{__('Prepared By')}}: {{json_decode($estimate->estimate_owner_id)->name}}

{{__('Description')}}:
{{@$estimate->customer_notes}}

{{-- Prepared for table ends --}} {{-- estimate Products Table starts --}} {{-- @php print_r($products); @endphp --}} @foreach (json_decode($estimate->selected_products) as $product) @endforeach
{{__('Name')}} {{__('Price')}} {{__('Qty')}} {{__('Tax')}} {{__('Amount')}}
{{$product->name}} {{@$estimate->currency->symbol}} {{$product->price}} {{$product->quantity}} {{$product->tax_amount}} % {{@$estimate->currency->symbol}} {{$product->total_p_amount}}
{{__('Sub Total')}} {{@$estimate->currency->symbol}} {{@$estimate->sub_total}}
{{__('Discount')}} {{@$estimate->discount_type_selected}} {{@$estimate->discount_percentage}} % {{@$estimate->currency->symbol}} {{@$estimate->discount_value}}
{{__('Adjustments')}} {{@$estimate->currency->symbol}} {{@$estimate->adjustments}}
{{__('Total Amount')}} {{@$estimate->currency->symbol}} {{@$estimate->total_amount}}
{{-- estimate Products Table ends --}}

{{__('Note')}}:{{__('Estimate Due Date')}}: {{@$estimate->due_date}}

@php $url = config('app.url'); @endphp {{__('Thanks')}},
{{ config('app.name') }}