CIM77 - Service reports alleen laatste 5
This commit is contained in:
@@ -900,16 +900,22 @@ function serviceEvents ($messages){
|
||||
<td><a href="index.php?page=render_service_report&historyID='.$message->historyID.'" class="btn_link">PDF</a></td>
|
||||
</tr>';
|
||||
}
|
||||
$view_data .= '</tbody>';
|
||||
|
||||
}
|
||||
//CHECK IF OUTPUT IS MORE THAN X (config setting)
|
||||
if (count($messages) == $page_rows_equipment_servicereporst){
|
||||
$view_data .= '<tr>
|
||||
<td><a href="index.php?page=servicereports&search='.$message->h_equipmentid.'" class="btn_link">'.$general_actions_more.'</a></td>
|
||||
</tr>';
|
||||
}
|
||||
|
||||
|
||||
if ($view_data == ''){
|
||||
$view_data = '<tr>
|
||||
<td colspan="4" style="text-align:center;">'.$service_report_no_text.'</td>
|
||||
</tr>';
|
||||
}
|
||||
|
||||
|
||||
$view_data .= '</tbody>';
|
||||
$view_footer = '</table>';
|
||||
|
||||
$view = $view_header.$view_data.$view_footer;
|
||||
|
||||
Reference in New Issue
Block a user