<div class="innerBanner container-fluid mb-5">
	<div class="row h-100 align-items-center">
		<div class="col-md-4 col-lg-6">
			<h2 class="whiteColor mb-0">TENDERS</h2>
		</div>
		<div class="col-md-8 col-lg-6">
			<ul class="breadcrumb">
				<li><a href="<?php echo base_url(); ?>">Home</a></li>
				<li><a href="javascript:;">TENDERS</a></li>
			</ul>
		</div>
	</div>
</div>
<div class="container-fluid">
	<div class="row">
		<div class="col-lg-12 order-lg-12 mb-5" id="innerData">
			<div class="row">
				<h1 class="col-12 mb-4"><span>TENDERS</span></h1>
				<div class="col-12" id="circulars">
					<div class="table-responsive">
						<table class="table table-bordered">
							<tr class="grayGradientBg">
								<th>Date</th>
								<th colspan="2">Tender Name</th>
							</tr>
              <?php if($tenders !== "No Data"){
                foreach($tenders as $val){
              ?>
							<tr>
								<td class="date"><?php echo date("d M Y",strtotime($val->createdDate)); ?></td>
								<td><p class="mb-1"><?php echo $val->name; ?></p>
								</td>
								<td>
									<a href="<?php echo base_url().$val->filepath; ?>" target="_blank" class="downloadIcon rounded-circle"></a>
								</td>
							</tr>
              <?php  } }else{ ?>
							<tr>
							<td colspan="3"> Data Not Available.</td>
							</tr>
							<?php } ?>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>