| Your Recent Tour history | |||
|---|---|---|---|
| Location | Tour Date | Duration | Status |
| {{$th->tour_location}} | {{$th->from_date}} | @php $f = strtotime($th->from_date); $t = strtotime($th->to_date); $datediff = $t - $f; echo round($datediff / (60 * 60 * 24))+1; @endphp Days | {{ $th->status == 1 ? 'Active' : ($th->status == 2 ? 'rejected' : ($th->status == 3 ? 'pending' : 'Completed' ) )}} |