@extends('b2c.layouts.app') @section('title', 'Sell Packages') @section('content')

Sell Packages

@unless($partner->canSell())
You can browse the catalogue now. Booking is enabled once your account is activated.
@endunless
@forelse($packages as $package) @php $image = $package->images->first()?->image_path; @endphp
@if($image) {{ $package->title }} @else
@endif
{{ $package->destinationRef?->name ?? $package->destination }} ยท {{ $package->duration_days }} days

{{ $package->title }}

from {{ number_format((float) ($package->adult_price ?: $package->base_price), 2) }} {{ $package->currency ?: 'BDT' }}
{{ $package->upcoming_departures_count }} upcoming departure{{ $package->upcoming_departures_count === 1 ? '' : 's' }}
View & book
@empty
No packages available to sell.
@endforelse
{{ $packages->links() }}
@endsection