Client Information

Name: {{ $client->name }}

Phone: {{ $client->phone }}

Email: {{ $client->email }}

Address: {{ $client->address }}

Travel Report for {{ $client->name }}

@foreach($records as $record) @if($record->expenses->count()) @endif @endforeach
Purpose From To Start End Estimated (₹) Actual (₹)
{{ $record->travel_purpose }} {{ $record->travel_from }} {{ $record->travel_to }} {{ $record->start_date }} {{ $record->end_date }} {{ number_format($record->estimated_cost, 2) }} {{ number_format($record->expenses->sum('amount'), 2) }}
Expense Details: @foreach($record->expenses as $expense) @endforeach
Date Description Amount (₹)
{{ $expense->expense_date }} {{ $expense->description }} ₹{{ number_format($expense->amount, 2) }}

Total Estimated: ₹{{ number_format($totalEstimated, 2) }}

Total Actual: ₹{{ number_format($totalActual, 2) }}

Difference: ₹{{ number_format($totalActual - $totalEstimated, 2) }}

{{-- Footer with Office Address --}}