@php $site_favicon = get_attachment_image_by_id(get_static_option('site_favicon'), 'full', false); $is_rtl = get_user_lang_direction() === 'rtl'; $alignEnd = $is_rtl ? 'text-right' : 'text-left'; @endphp @if ($site_favicon) @endif {{-- Header --}} @if (get_static_option('site_logo')) @endif @if ($is_rtl) @else @endif

{{ __('Order ID') }} #000{{ $order->id }}

{{ __('Invoice ID') }} #{{ $order->invoice_no }}

{{ __('Invoice Date') }}: {{ \Carbon\Carbon::now()->toDateString() }}

{{ __('Order Invoice') }}

{{ __('Order Invoice') }}

{{ __('Order ID') }} #000{{ $order->id }}

{{ __('Invoice ID') }} #{{ $order->invoice_no }}

{{ __('Invoice Date') }}: {{ \Carbon\Carbon::now()->toDateString() }}

{{-- Seller - Buyer --}} @if ($is_rtl) @else @endif @if ($is_rtl) @else @endif
{{ __('Client') }} {{ __('Freelancer') }} {{ __('Freelancer') }} {{ __('Client') }}
@if ($order?->user->fullname)

{{ $order?->user->fullname }}

@endif
@if ($order?->freelancer->fullname)

{{ $order?->freelancer->fullname }}

@endif
@if ($order?->freelancer->fullname)

{{ $order?->freelancer->fullname }}

@endif
@if ($order?->user->fullname)

{{ $order?->user->fullname }}

@endif
{{-- Table --}} @if ($is_rtl) @else @endif {{-- Items --}} @if ($is_rtl) @else @endif {{-- Summary --}} @if ($is_rtl) @else @endif @if ($is_rtl) @else @endif @if ($is_rtl) @else @endif
{{ __('Sub total') }} {{ __('Price') }} {{ __('Quantity') }} {{ __('Description') }}{{ __('Description') }} {{ __('Quantity') }} {{ __('Price') }} {{ __('Sub total') }}
{{ float_amount_with_currency_symbol($order->price - ($order->transaction_amount + $order->commission_amount)) }} {{ float_amount_with_currency_symbol($order->price - ($order->transaction_amount + $order->commission_amount)) }} 1

{{ __('Order Date:') }} {{ $order->created_at->toFormattedDateString() }}
{{ __('Payment Gateway:') }} @if ($order->payment_gateway == 'manual_payment') {{ ucfirst(str_replace('_', ' ', $order->payment_gateway)) }} @else {{ $order->payment_gateway == 'authorize_dot_net' ? __('Authorize.Net') : ucfirst($order->payment_gateway) }} @endif

{{ __('Order Date:') }} {{ $order->created_at->toFormattedDateString() }}
{{ __('Payment Gateway:') }} @if ($order->payment_gateway == 'manual_payment') {{ ucfirst(str_replace('_', ' ', $order->payment_gateway)) }} @else {{ $order->payment_gateway == 'authorize_dot_net' ? __('Authorize.Net') : ucfirst($order->payment_gateway) }} @endif

1 {{ float_amount_with_currency_symbol($order->price - ($order->transaction_amount + $order->commission_amount)) }} {{ float_amount_with_currency_symbol($order->price - ($order->transaction_amount + $order->commission_amount)) }}
{{ float_amount_with_currency_symbol($order->transaction_amount) }} {{ __('Transaction fee') }} {{ __('Transaction fee') }} {{ float_amount_with_currency_symbol($order->transaction_amount) }}
{{ float_amount_with_currency_symbol($order->commission_amount) }} {{ __('Commission amount') }} {{ __('Commission amount') }} {{ float_amount_with_currency_symbol($order->commission_amount) }}
{{ float_amount_with_currency_symbol($order->price) }} {{ __('Total amount') }} {{ __('Total amount') }} {{ float_amount_with_currency_symbol($order->price) }}

{{ __('Amount in words') }}: {{ \Terbilang::make($order->price) }}

@if ($order->description)

{{ __('Notes') }}: {{ __(Str::limit($order->description, 300)) ?? '' }}

@endif