@extends('layouts.admin') @section('content')
| Type | Pax | No. of cabins | Price | Action |
|---|---|---|---|---|
|
@if($c->featured_image)
{{ $c->name }}
@if($c->type || $c->code)
{{ collect([$c->type, $c->code])->filter()->join(' · ') }}
@endif
|
{{ $c->max_adults }} adult{{ $c->max_adults === 1 ? '' : 's' }}@if($c->max_children) + {{ $c->max_children }} child{{ $c->max_children === 1 ? '' : 'ren' }}@endif | {{ $c->total_available }} | @if($c->offer_price && $c->regular_price && $c->offer_price < $c->regular_price) ৳{{ $c->offer_price }} ৳{{ $c->regular_price }} @else ৳{{ $c->offer_price ?: $c->regular_price }} @endif | |
| No cabin types added yet. | ||||
| Trip | Destination | Date | Pax | Status | Action |
|---|---|---|---|---|---|
|
{{ $t->name }}
@if($t->adult_price)
৳{{ $t->adult_price }}
@endif
|
{{ $t->destination?->name ?? 'Any destination' }} |
{{ $t->departure_at->format('d M Y, h:i A') }}
Return {{ $t->return_at->format('d M Y, h:i A') }}
|
{{ $t->available_seats }}/{{ $t->total_capacity }} | {{ \App\Models\ShipTrip::STATUSES[$t->status] ?? $t->status }} | |
| No trips added yet. | |||||