<?php $hourService = true; $pageTitle = 'View Submitted Hours'; require_once $_SERVER['DOCUMENT_ROOT'] . '/com/header.php'; $hoursArray = $hourService->getAllSubmittedHours(); if (count($hoursArray)) { viewSubmitted($hoursArray, false); } else { ?> <div class="alert alert-info">There have been no hours submitted in the last 5 days.</div> <?php } require_once $_SERVER['DOCUMENT_ROOT'] . '/com/footer.php';
<?php $hourService = true; $pageTitle = 'View Submitted Hours'; require_once $_SERVER['DOCUMENT_ROOT'] . '/com/printViewHeader.php'; $hoursArray = $hourService->getAllSubmittedHours(); if (count($hoursArray)) { viewSubmitted($hoursArray, true); } else { ?> <div class="alert alert-info">There have been no hours submitted in the last 5 days.</div> <?php } require_once $_SERVER['DOCUMENT_ROOT'] . '/com/printViewFooter.php';