@extends('front.layout.master') @section('content')

{{ $tender->getTranslation('title', app()->getLocale()) }}

{{ __('generic.Ref No') }}: {{ $tender->tender_code ?? $tender->id }}

{{ __('generic.Open Date') }}: {{ optional($tender->open_date)->format('d M Y') }}

{{ __('generic.Close Date') }}: {{ optional($tender->close_date)->format('d M Y') }}

@php $statusColors = [ 'active' => 'bg-green-100 text-green-800', 'closed' => 'bg-gray-100 text-gray-800', 'awarded' => 'bg-blue-100 text-blue-800', 'cancelled' => 'bg-red-100 text-red-800', ]; $statusLabel = __('generic.Status'); $statusClass = $statusColors[$tender->status] ?? 'bg-gray-100 text-gray-800'; @endphp {{ $statusLabel }}: {{ __(ucfirst($tender->status)) }}

{{ __('generic.Tender Details') }}

{!! $tender->details !!}
@if($tender->pdf || $tender->excel)

{{ __('generic.Attachments') }}

@if($tender->pdf)
PDF

{{ basename($tender->pdf) }}

{{ __('generic.PDF File') }}

@endif @if($tender->excel)
XLS

{{ basename($tender->excel) }}

{{ __('generic.Excel File') }}

@endif
@endif

{{ __('generic.Need Assistance?') }}

{{ __('generic.If you have any questions about the tender process or require additional information, please don\'t hesitate to contact us.') }}

@endsection