@component('mail::message', ['logo_file' => @$company_details[8]['field_value']]) # {{__('Invoice')}} - #{{@$invoice->id}} {{@$invoice->invoice_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')}}: {{@$invoice->invoice_title}}

{{-- Prepared for table starts --}}
{{__('Prepared For')}}: {{@$invoice->customer->first_contact->first_name}}{{@$invoice->customer->first_contact->last_name}}
{{@$invoice->customer->first_contact->title->name}}
{{@$invoice->customer->company_name}}
{{-- Prepared for table ends --}}
{{-- Prepared for table starts --}}
{{__('Prepared By')}}: {{@$invoice->user->name}}
{{@$invoice->user->email}}
{{@$invoice->user->phone}}

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

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

{{__('Note')}}:{{__('Invoice Due Date')}}: {{@$invoice->due_date}}

@php $url = config('app.url'); @endphp @component('mail::button', ['url' => $url.'/']) {{__('Pay Invoice')}} @endcomponent {{__('Thanks')}},
{{ config('app.name') }} @endcomponent