--- a/busui/owa/modules/base/templates/report_latest_visits.tpl +++ b/busui/owa/modules/base/templates/report_latest_visits.tpl @@ -1,1 +1,12 @@ - +<?php if(!empty($visits)):?> +<table style="width:100%;"> + <?php foreach($visits->resultsRows as $row): ?> + <TR> + <?php include('row_visitSummary.tpl');?> + </TR> + <?php endforeach; ?> +</table> + <?php //echo $this->makePaginationFromResultSet($visits);?> +<?php else:?> + There were no visits during this time period. +<?php endif;?>