<%@ include file="inc_header.jsp"%>

<link rel="stylesheet" href="css/reports.css">

<script type="text/javascript">

	$(function() {
		var vendorStatusTable = $('#vendorStatusTable').DataTable({
			paging : false,
			autowidth : true,
			searching : false,
			ordering : false,
			info : false
		});
	})
</script>

<c:if test = "${not empty vendorsReportStatus.vendorCensusReportStatus}">

<div id="vendorStatusContainer">
	<p id="vendorStatusText" tabIndex="0"><b>Note:</b> All Home Telehealth census data is available in the database
	through the week ending ${vendorsReportStatus.lastDayOfReportWeek} except for the following:</p>
	<table id="vendorStatusTable" tabIndex="0" class="stripe dt-head-left dt-body-left hover cell-border">
		<thead>
			<tr>
				<th>Vendor</th>
				<th>Report Start Date</th>
				<th>Report End Date</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${vendorsReportStatus.vendorCensusReportStatus}" var="status">
				<tr>
					<td>${status.vendorName}</td>
					<td>${status.startDateAsString}</td>
					<td>${status.endDateAsString}</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</div>
</c:if>