This commit is contained in:
jhartworks
2025-01-31 14:27:12 +01:00
parent 2926baf133
commit ebe6991832
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -44,8 +44,13 @@ class CounterTable extends IPSModule {
$cost = 0.0;
$cost = $cnt->Monthly * $price;
$style ='';
if ($cnt->Monthly > $cnt->Limit){
$style = 'style="background-color:yellow;"';
}
$dataoutput .= '
<tr style="background-color:white;">
<tr '.$style.'>
<td style="text-align:left;">
'.$cnt->Name.'