@extends('layouts.admin') @section('content')
Title | {{ $journey->title }} |
---|---|
Created By | {{ $journey->user->name ?? 'Unknown' }} |
Destination | {{ $journey->destination ?? 'Unknown' }} |
Accommodation | {{ $journey->accommodation ?? 'Unknown' }} |
Acc. hyperlink | @if($journey->accommodation_link) View @else No Link @endif |
Map | @if($journey->map_link) View @else No Link @endif |
Start Date | {{ $journey->start_date ? \Carbon\Carbon::parse($journey->start_date)->format('d M Y') : 'N/A' }} |
End Date | {{ $journey->end_date ? \Carbon\Carbon::parse($journey->end_date)->format('d M Y') : 'N/A' }} |
Created | {{ $journey->created_at->format('d M Y, h:i A') }} |
Updated | {{ $journey->updated_at->format('d M Y, h:i A') }} |
Name | |
---|---|
{{ $p->name }} | {{ $p->email }} |
No participants added.
@endifSl No | Checklist |
---|---|
{{ $loop->iteration }} | {{ $checklist->item }} |
AED {{ $estimatedCost->price_range }}
@elseNo cost estimated.
@endifSL | Item |
---|---|
{{ $loop->iteration }} | @if($cost->items->isNotEmpty())
@php
// Get the first item that is a main item (parent_id is null)
$mainItem = $cost->items->firstWhere('parent_id', null);
$subItems = $cost->items->where('parent_id', '!=', null);
@endphp
@if($mainItem)
{{ $mainItem->item }}: AED {{ $mainItem->price }}
@else
No main item found.
@endif
@else
No items available.
@endif
@if($subItems->isNotEmpty())
|