{{ $title ?? 'Invoice' }}

@if($pricing_type == 'hourly') @else @endif @if($is_cancelled && $pricing_type == 'fixed' && $total > 0) @endif @if(isset($tip) && $tip > 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) }} Fr @elseif($pricing_type == 'hourly') ${{ round($rate ?? 0, 2) }} / Hr @else N/A @endif
Worked hours {{ $hours ?? 1 }}
Service provider total @if($pricing_type == 'fixed') ${{ round($rate ?? 0, 2) }} @elseif($pricing_type == 'hourly') ${{ round($rate ?? 0, 2) }} @else N/A @endif
Service provider total ${{ round($rate ?? 0, 2) }}
Tax ${{ $tax ?? '0.00' }}
Platform Fee ${{ $platform_fee ?? '0.00' }}
Cancellation Charges ({{ $cancellation_percentage ?? 50 }}%) ${{ $cancellation_amount ?? '0.00' }}
Tip ${{ round($tip, 2) }}
Total ${{ $total ?? '0.00' }}
@if($pricing_type == 'fixed')

Cancellation Information: This task was cancelled. A cancellation fee of 50% of the original amount has been applied according to our cancellation policy.

@endif