Cosmetic bug : if no rows found , throw a warning
This commit is contained in:
parent
a44642a43b
commit
fa530b7b0e
1 changed files with 2 additions and 1 deletions
|
|
@ -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;">';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue