Cosmetic bug : if no rows found , throw a warning

This commit is contained in:
sparkyx 2021-10-11 10:21:00 +02:00
parent a44642a43b
commit fa530b7b0e

View file

@ -182,12 +182,13 @@ echo nbm( $diff);
<td>
<?php echo _('Diff. cumul.'); $cum=0.0; ?>
</td>
<?php $strColorCell="";?>
<?php for ($h=0;$h<count($aPeriode);$h++):?>
<?php
$diff= bcsub($aReal[$i][$e][$h],$estm[$i][$e][$h]);
$cum=bcadd($diff,$cum);
$strColorCell="";
if ($cum ==0)
{
$strColorCell= '<td style="text-align:right;">';