@extends("landingpage::themes.{$activeTheme}.layouts.app") @section('meta_title', $pageTitle ?? 'Current Tenders') @section('meta_description', $metaDescription ?? 'Find and apply for current tender opportunities.') @section('content')

{{ $pageTitle ?? 'Tenders' }}

@if(isset($metaDescription))

{{ $metaDescription }}

@endif
@if($tenders->isNotEmpty())
@foreach($tenders as $tender)

{{ $tender->title }}

@if($tender->company)

Company: {{ $tender->company->name }}

@endif

Location: {{ $tender->location ?? 'N/A' }}

{{ Str::limit($tender->description ?? 'No description provided.', 200) }}

Budget: {{ $tender->currency }} {{ number_format($tender->budget_min,0) }} - {{ number_format($tender->budget_max,0) }}

Deadline: {{ $tender->deadline ? $tender->deadline->format('F j, Y, g:i a') : 'Not specified' }}

View Details
@endforeach
{{-- Pagination Links --}}
{{ $tenders->links() }}
@else

No open tenders found at the moment. Please check back later.

@endif
@endsection