@extends('organizations.layouts.default') @section('content')
@include('organizations.layouts.partials.breadcrumb') @include('organizations.layouts.components.create')
@include('organizations.tenders.search')
{{--
--}}
@if ($records->count() > 0 || request()->all() != null) @forelse ($records as $tender) @empty @endforelse
S.N Title Start-End Date Type Applications Status Action
{{ nepali_number(++$loop->index) }}. {{ $tender->title }} {{ \Carbon\Carbon::parse($tender->start_date)->format('jS M, Y') }} to {{ \Carbon\Carbon::parse($tender->end_date)->format('jS M, Y') }} {{ config('dropdown.opportunity_type.' . $tender->opportunity_type_id) }} {{ count($tender->applications->where('application_status', '!=', 0)) }} {{ config('dropdown.tender_status.' . $tender->tender_status) }}
@if ($tender->tender_status != 7)
@csrf
@endif
{{ __('table.no_data') }}
@else @include('organizations.tenders.no-tender-record') @endif
{{ $records->appends([ 'title' => request()->input('title'), 'published_on' => request()->input('published_on'), 'opportunity_type_id' => request()->input('opportunity_type_id'), 'tender_status' => request()->input('tender_status'), ])->links('pagination::tailwind') }}
@endsection