mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
42
apps/atlbiomed/modules/clientManager/templates/_deviceReport.php
Executable file
42
apps/atlbiomed/modules/clientManager/templates/_deviceReport.php
Executable file
@ -0,0 +1,42 @@
|
||||
<div class='regularCont'>
|
||||
<div class='innerCont'><table border="0">
|
||||
<tr>
|
||||
<td style='width: 100px'>Report
|
||||
</td>
|
||||
<td style='width: 100px'>Status
|
||||
</td>
|
||||
<td style='width: 200px'>
|
||||
Date
|
||||
</td>
|
||||
<td >
|
||||
Action
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
foreach($finalReport as $report){
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a target='_blank' href='/index.php/process/createPdf/id/<?php print $report->getId(); ?>'>View</a>
|
||||
</td>
|
||||
<td>
|
||||
<?php print ucwords($report->getPassFail()); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php print $report->formattedDate(); ?>
|
||||
</td>
|
||||
<td>
|
||||
<a href='javascript:void(0)' onclick='deleteReport(<?php print $report->getId(); ?>,<?php print $report->getClientId(); ?>)' >Delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
if(empty($finalReport)){
|
||||
?>
|
||||
<tr><td colspan='4'><div style='text-align:center;font-weight:bold;'>No Reports Found</div></td></tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user