@php $site_favicon = get_attachment_image_by_id(get_static_option('site_favicon'),"full",false); @endphp @if ($site_favicon) @endif {{-- Header --}} @if(get_static_option('site_logo')) @endif

{{ __('Order Invoice') }}

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

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

{{-- Seller - Buyer --}}
{{ __('Freelancer') }} {{ __('Client') }}
@if($order?->freelancer->fullname)

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

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

{{ __('Email') }}: {{ $order?->freelancer->email }}

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

{{ __('Phone') }}: {{ $order->freelancer->phone }}

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

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

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

{{ __('Email') }}: {{ $order?->freelancer->email }}

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

{{ __('Phone') }}: {{ $order->user->phone }}

@endif
{{-- Table --}} {{-- Items --}} {{-- Summary --}}
{{ __('Description') }} {{ __('Quantity') }} {{ __('Price') }} {{ __('Sub total') }}

{{ __('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)) }}
{{ __('Transaction fee') }} {{ float_amount_with_currency_symbol($order->transaction_amount) }}
{{ __('Commission amount') }} {{ float_amount_with_currency_symbol($order->commission_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