@include('alertsInfo')

Active Tenders

@forelse ($tenders as $tender)

Tender No: {{ $tender->tender_no }}

Tender Title: {{ $tender->title }}

Start Date: {{ date('Y-m-d', strtotime($tender->start_date)) }}

End Date: {{ date('Y-m-d', strtotime($tender->end_date)) }}

Tender Stage: {{ str_replace('_', ' ', $tender->stage) }}

@forelse ($companies as $company ) @empty @endforelse
Sr No Company Name Phone No Address
{{$loop->iteration}} {{$company_detail?$company_detail->name:""}} {{$company_detail?$company_detail->phone_no:""}} {{$company_detail?$company_detail->address:""}}
None of any company apply for this tender.
@empty
None of any tender is active.
@endforelse

Close Tenders

@forelse ($close_tenders as $tender)

Tender No: {{ $tender->tender_no }}

Tender Title: {{ $tender->title }}

Opening Time: {{ date('Y-m-d', strtotime($tender->opening_date)) .', '.date('H:i', strtotime($tender->opening_time)) }}

@forelse ($companies as $company ) @empty @endforelse
Sr No Company Name Phone No Address
{{$loop->iteration}} {{$company_detail?$company_detail->name:""}} {{$company_detail?$company_detail->phone_no:""}} {{$company_detail?$company_detail->address:""}}
None of any company apply for this tender.
@empty
None of any tender close yet.
@endforelse