@component('mail::message', ['logo_file' => @$company_details[8]['field_value']])
# {{__('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')}}: |
{{@$estimate->customer->first_contact->first_name}}{{@$estimate->customer->first_contact->last_name}}
|
|
{{@$estimate->customer->first_contact->title->name}} |
|
{{@$estimate->customer->company_name}} |
{{-- Prepared for table ends --}}
{{-- Prepared for table starts --}}
{{__('Prepared By')}}: |
{{@$estimate->user->name}}
|
|
{{@$estimate->user->email}} |
|
{{@$estimate->user->phone}} |
{{__('Description')}}:
{{@$estimate->customer_notes}}
{{-- Prepared for table ends --}}
{{-- estimate Products Table starts --}}
{{-- @php
print_r($products);
@endphp --}}
{{__('Name')}} |
{{__('Price')}} |
{{__('Qty')}} |
{{__('Tax')}} |
{{__('Amount')}} |
@foreach (json_decode($estimate->selected_products) as $product)
{{$product->name}} |
{{@$estimate->currency->symbol}} {{$product->price}} |
{{$product->quantity}} |
{{$product->tax_amount}} % |
{{@$estimate->currency->symbol}} {{$product->total_p_amount}} |
@endforeach
|
|
|
{{__('Sub Total')}} |
{{@$estimate->currency->symbol}} {{@$estimate->sub_total}} |
|
{{__('Discount')}} |
{{@$estimate->discount_type}} |
{{@$estimate->discount_percentage}} % |
{{@$estimate->currency->symbol}} {{@$estimate->discount_total}} |
|
|
|
{{__('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
@component('mail::button', ['url' => $url.'/estimate/toInvoice/'.$estimate->id.'/'.$estimate->invoiced_token])
{{__('Convert to Invoice')}}
@endcomponent
{{__('Thanks')}},
{{ config('app.name') }}
@endcomponent