{{ $title ?? 'Invoice' }}

@if($pricing_type == 'hourly') @else @endif @if(isset($discount_amount) && $discount_amount > 0) @endif @if(isset($referral_applied) && $referral_applied == 1 && isset($referral_discount) && $referral_discount > 0) @endif
Service Provider {{ $provider_name ?? 'N/A' }}
Client {{ $client_name ?? 'N/A' }}
Project ID {{ $clientTask->id ?? 'N/A' }}
Service Request ID {{ $sr_id ?? 'N/A' }}
Job Start At {{ $job_start_at ? \Carbon\Carbon::parse($job_start_at)->format('m-d-Y h:i:s A') : 'N/A' }}
Job End At {{ $job_end_at ? \Carbon\Carbon::parse($job_end_at)->format('m-d-Y h:i:s A') : 'N/A' }}
Category {{ $category ?? 'N/A' }}
Sub Category {{ $sub_category ?? 'N/A' }}
Pricing Type {{ $pricing_type ?? 'N/A' }}
Rate @if($pricing_type == 'fixed') ${{ round($rate ?? 0, 2) }} @elseif($pricing_type == 'hourly') ${{ round($rate ?? 0, 2) }} / Hr @else N/A @endif
Worked hours {{ round($hours ?? 0, 2) }}
Service provider total ${{ round($service_provider_total ?? 0, 2) }}
Service provider total ${{ round($service_provider_total ?? 0, 2) }}
Tax ${{ round($tax ?? 0, 2) }}
Platform Fee ${{ round($platform_fee ?? 0, 2) }}
Expenses ${{ round($expenses_rate ?? 0, 2) }}
Tip ${{ round($tip ?? 0, 2) }}
Total ${{ round($total1 ?? 0, 2) }}
Promo Code Discount -${{ round($discount_amount ?? 0, 2) }} ({{ $promo_code_title ?? 'N/A' }})
Referral Discount -${{ round($referral_discount ?? 0, 2) }} ({{ $referral_code ?? 'N/A' }})
Total Charged ${{ round($total ?? 0, 2) }}