@extends('layouts.theme') @section('title','All Tenders') @section('style') @endsection @section('content')
@include('alertsInfo')
{{--
--}} {{--
--}}
Teners List
@if (Auth::user()->hasRole('Super Admin') ) Create Tender @endif

@if ( Auth::user()->hasRole('Super Admin') ) @endif @foreach ($tenders as $value) @if ( Auth::user()->hasRole('Super Admin') ) @endif @endforeach
Sr. # Tender No Start Date End Date Status Companies List Print Technical Print Financial Action
{{$count++}} {{$value->tender_no}} {{date('Y-m-d', strtotime($value->start_date))}} {{date('Y-m-d', strtotime($value->end_date))}} @if ( $value->is_active == 1) Active @elseif ($value->is_active == 2) Close @elseif ($value->is_active == 3) Open @endif @if ( $value->is_active == 3 ) View @endif Print Print {{-- View Detail --}} @if (Auth::user()->hasRole('Company')) View Detail @endif @if (Auth::user()->hasRole('Super Admin')) @if ( $value->is_active == 1 ) Close Tender @elseif ( $value->is_active == 2 ) Open Tender @elseif ( $value->is_active == 3 ) View Detail @endif @endif
{{--
--}} {{--
--}}
@include('tender/open-modal') @endsection @section('script') @endsection