{{ __('Purchase Invoice') }}

{{ get_option('app_name') }}

#{{ $item->order?->order_number }}

{{ __('Purchase Date') }}:{{ $item->created_at->format(get_option('app_date_format')) }}

{{ __('From') }}:
@if(get_option('app_name')) {{ get_option('app_name') }}
@endif @if(get_option('app_email')) {{ get_option('app_email') }}
@endif @if(get_option('app_contact_number')) {{ get_option('app_contact_number') }}
@endif @if(get_option('tax_system_enable') && get_option('tax_number')) {{ __('Tax Number') }}: {{ get_option('tax_number') }}
@endif
{{ __('To') }}:
@if($item->order?->user?->name) {{ $item->order?->user?->name }}
@endif @if($item->order?->user?->email) {{ $item->order?->user?->email }}
@endif @if($item->order?->user?->phone_number) {{ $item->order?->user?->phone_number }}
@endif @if($item->order?->user?->address) {{ $item->order?->user?->address }} @endif
@if($item->order->tax > 0) @endif
{{ __('Name') }} {{ __('Purchase Date') }} {{ __('Payment Method') }} {{ __('Amount') }}
{{ $item->course ? @$item->course->title : '' }} {{ $item->product_id ? @$item->product->title : '' }} {{ $item->consultationSlot ? @$item->consultationSlot->user->instructor->full_name : '' }} {{ $item->created_at->format(get_option('app_date_format')) }} {{ ucwords($item->order?->payment_method) }} @if(get_currency_placement() == 'after') {{ $item->unit_price }} {{ get_currency_code() }} @else {{ get_currency_code() }} {{ $item->unit_price }} @endif
{{ __('Subtotal') }} @if(get_currency_placement() == 'after') {{ $item->unit_price }} {{ get_currency_code() }} @else {{ get_currency_code() }} {{ $item->unit_price }} @endif
{{ __('Tax')}} {{get_option('tax_amount')}}% {{__('of')}} {{$item->unit_price}} @if(get_currency_placement() == 'after') {{ $item->order->tax }} {{ get_currency_code() }} @else {{ get_currency_code() }} {{ $item->order->tax }} @endif
{{ __('Total') }} @if(get_currency_placement() == 'after') {{ $item->order->grand_total }} {{ get_currency_code() }} @else {{ get_currency_code() }} {{ $item->order->grand_total }} @endif

{{ __('We thank you for your business and continued use of') }} {{ get_option('app_name') }}

{{ __('Thank you from') }} {{ get_option('app_name') }} {{ __('family') }}