CMXX - Updated firmwaretool to work with versions
This commit is contained in:
@@ -233,19 +233,10 @@ $view .= '<div class="content-block">
|
||||
<tr>
|
||||
<td style="width:25%;">'.$equipment_label5.'</td>
|
||||
<td>'.$responses->hw_version.'</td>
|
||||
</tr>';
|
||||
//SHOW SOFTWARE NAME WHEN AVAILABLE
|
||||
$software_name = '';
|
||||
if (isset($products_software) && $products_software !=''){
|
||||
foreach ($products_software as $products_soft){
|
||||
if ($products_soft->version == $responses->sw_version){
|
||||
$software_name = ' - '.$products_soft->software;
|
||||
}
|
||||
}
|
||||
}
|
||||
$view .= ' <tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:25%;">'.$equipment_label6.'</td>
|
||||
<td>'.$responses->sw_version.$software_name.'</td>
|
||||
<td>'.$responses->sw_version.'</td>
|
||||
</tr>';
|
||||
//SHOW ONLY SW_UPGRADE WHEN SET
|
||||
if (isset($products_software) && $products_software !=''){
|
||||
|
||||
Reference in New Issue
Block a user