@php $pdf_generation_for = ['Original for Buyer']; @endphp @foreach($pdf_generation_for as $pdf_for)
@lang('lang_v1.expense_details')
@if(!empty($logo)) Logo @endif
{!!$expense->business->name!!}
{{ $expense->location->name }} @if(!empty($expense->location->landmark))
{{$expense->location->landmark}} @endif @if(!empty($expense->location->city) || !empty($expense->location->state) || !empty($expense->location->country)) {{implode(',', array_filter([$expense->location->city, $expense->location->state, $expense->location->country]))}} @endif
@if(!empty($expense->business->name)) {{ $expense->business->name }}
@endif @if(!empty($expense->location->name)) {!! $expense->location->name !!} @endif
@if(!empty($expense->contact_name)) @lang('contact.contact'): {{ $expense->contact_name }}
@endif @if(!empty($expense->contact_business_name)) {{ $expense->contact_business_name }}
@endif
@if(!empty($expense->driver_name) || !empty($expense->truck_plate_number)) @lang('lang_v1.transport_details'):
@if(!empty($expense->driver_name)) @lang('lang_v1.driver_name'): {{ $expense->driver_name }}
@endif @if(!empty($expense->truck_plate_number)) @lang('lang_v1.truck_plate_number'): {{ $expense->truck_plate_number }} @endif @endif

@lang('expense.expense_details') @lang('expense.expense_category') @lang('sale.total_amount')
{{ $expense->additional_notes ?? '' }} {{ $expense->category->name ?? '' }} {{ @num_format($expense->final_total) }}
@if(!empty($expense->additional_notes))

@lang('lang_v1.additional_notes'):
{{ $expense->additional_notes }}

@endif
@lang('purchase.net_total_amount'): {{ @num_format($expense->final_total) }}
@lang('sale.payment_status'): {{ ucfirst($expense->payment_status) }}
@lang('purchase.payment_method'): {{ ucfirst($expense->payment_method) }}
@lang('lang_v1.authorized_signatory')
@endforeach