{{ $booking->id }} |
{{ $booking->user->name ?? 'N/A' }} |
{{ $booking->service->name ?? 'N/A' }}
@if ($booking->subService)
({{ $booking->subService->name ?? 'N/A' }})
@endif
|
{{ $booking->approved_date ? $booking->approved_date->format('d/m/Y') : 'N/A' }} |
@if($booking->status == 'Menunggu Sebut Harga')
{{$booking->status}}
@elseif($booking->status == 'Tolak')
{{$booking->status}}
@else
Lulus
@endif
|
{{-- View Quotation --}}
@if ($booking->quotation_exists) {{-- Have Quotation --}}
@if ($booking->status === 'Tolak')
@else
@endif
@else {{-- No Quotation --}}
@endif
|
@endforeach
@else