@extends('organizations.layouts.default') @section('title') / Details @endsection @section('content')
{!! htmlScriptTagJsApi() !!}

Details
Status :

{{ config('dropdown.tender_application_status.' . $model->application_status) }}

@if ($model->tenders->org_id == auth()->user()->memberable_id) {!! htmlScriptTagJsApi() !!}

Change Status

@method('PUT') @csrf {{ ym_radio([ 'label' => '', 'name' => 'application_status', 'value' => 2, 'checked' => $model->application_status == 2 ? true : false, 'option' => config('dropdown.tender_application_status.2'), ]) }} {{ ym_radio([ 'label' => '', 'name' => 'application_status', 'value' => 3, 'checked' => $model->application_status == 3 ? true : false, 'option' => config('dropdown.tender_application_status.3'), ]) }} {{ ym_radio([ 'label' => '', 'name' => 'application_status', 'value' => 4, 'checked' => $model->application_status == 4 ? true : false, 'option' => config('dropdown.tender_application_status.4'), ]) }} {!! html()->button('Submit')->type('submit')->class('bg-brandBlue text-white py-1 px-4 rounded m-auto') !!}
@endif
Applicant : {{ $model->applicants->name ?? '-' }}
Applied On: {{ \Carbon\Carbon::parse($model->apply_date)->format('jS M, Y') }}
@if (isset($model->tc_document_file))
Technical Proposal: FILE-TP
@endif @if (isset($model->fc_document_file))
Financial Proposal: FILE-FP
@endif
Application Details : {!! $model->cover_letter !!}
@if (count($model->documents) > 0)
Applied Documents
@forelse ($model->documents as $doc) @empty @endforelse
{{ __('table.sn') }} Document Title Document File External Link Remarks
{{ $loop->index + 1 }}. {{ $doc->document_title }} @if ($doc->document_file) FILE @else - @endif {{ $doc->document_external_link ?? '-' }} {{ $doc->remarks }}
{{ __('table.no_data') }}
@endif
@endsection