@php $logoPath = public_path('image/logo2.png'); $logoBase64 = ''; if (file_exists($logoPath)) { $logoData = base64_encode(file_get_contents($logoPath)); $logoMime = mime_content_type($logoPath); $logoBase64 = 'data:' . $logoMime . ';base64,' . $logoData; } @endphp @if($logoBase64) @else @endif

TAX INVOICE

#{{ $invoice_number }}

Dr.Job Dr.Job
BILLED TO @if($billing_info) @endif @if($payment->tax_id || ($billing_info && $billing_info->tax_id)) @else @endif
{{ $company->name ?? ($billing_info->business_name ?? 'NA') }}
{{ ($billing_info->first_name ?? '') . ' ' . ($billing_info->last_name ?? '') }}
{{ $billing_info->additional_email ?? 'N/A' }}
{{ $billing_info->address_line_1 ?? '' }}
Tax ID: {{ $payment->tax_id ?? $billing_info->tax_id }}
Tax ID: 00
Date issued {{ $payment->created_at->format('M d, Y') }}
Order number {{ $payment->order_number ?? $payment->transaction_id ?? $invoice_number }}
Service Quantity Unit price (USD) Total (USD)
Plan {{ $plan->title ?? 'Subscription Plan' }}
@if($plan) {{ $plan->active_jobs == 0 ? 'Unlimited' : $plan->active_jobs }} Active Jobs
1 {{ $plan->type == 1 ? 'Month' : 'Year' }} Duration
{{ $payment->subscribe_type == 1 ? 'Monthly' : ($payment->subscribe_type == 2 ? 'Yearly' : 'One-time') }} Subscription
@endif
Subscription Period: {{ $payment->period_start ? $payment->period_start->format('M d, Y') : 'N/A' }} - {{ $payment->period_end ? $payment->period_end->format('M d, Y') : 'N/A' }}
1 {{ number_format($payment->usd_subtotal ?? $payment->usd_price ?? $payment->subtotal ?? $payment->amount, 2) }} {{ number_format($payment->usd_subtotal ?? $payment->usd_price ?? $payment->subtotal ?? $payment->amount, 2) }}
@if($payment->transaction_fee) @endif
Subtotal {{ number_format($payment->usd_subtotal ?? $payment->usd_price ?? $payment->subtotal ?? $payment->amount, 2) }}
VAT (5%) {{ number_format($payment->usd_vat_amount ?? $payment->vat_amount ?? 0, 2) }}
Transaction Fee {{ number_format($payment->transaction_fee, 2) }}
Total (USD) {{ number_format($payment->usd_total_amount ?? $payment->amount, 2) }}


Method Date Total (USD)
{{ ucfirst($payment->payment_method ?? 'N/A') }} {{ $payment->created_at->format('M d, Y') }} {{ number_format($payment->usd_total_amount ?? $payment->amount, 2) }}

Purchased on {{ str_replace(['http://', 'https://'], '', config('site_info.frontend_url', 'employer.drjobpro.com')) }} through Dr Job FZ LLC

@if($payment->tax_id || ($billing_info && $billing_info->tax_id))

5% VAT is collected on all Dr Job FZ LLC fees (TRN: {{ $payment->tax_id ?? $billing_info->tax_id }})

@endif

Have an invoice or billing question? Contact us

By Billing@drjobs.ae