Merge pull request #13376 from fmarcet/11.0
FIX: Bank movements color is not showing
This commit is contained in:
commit
c1931a045e
@ -1157,14 +1157,14 @@ if ($resql)
|
|||||||
} else {
|
} else {
|
||||||
$color = '#'.$conf->global->BANK_COLORIZE_MOVEMENT_COLOR1;
|
$color = '#'.$conf->global->BANK_COLORIZE_MOVEMENT_COLOR1;
|
||||||
}
|
}
|
||||||
$backgroundcolor = 'style="background-color: '.$color.';"';
|
$backgroundcolor = 'style="background: '.$color.';"';
|
||||||
} else {
|
} else {
|
||||||
if (empty($conf->global->BANK_COLORIZE_MOVEMENT_COLOR2)) {
|
if (empty($conf->global->BANK_COLORIZE_MOVEMENT_COLOR2)) {
|
||||||
$color = '#7fdb86';
|
$color = '#7fdb86';
|
||||||
} else {
|
} else {
|
||||||
$color = '#'.$conf->global->BANK_COLORIZE_MOVEMENT_COLOR2;
|
$color = '#'.$conf->global->BANK_COLORIZE_MOVEMENT_COLOR2;
|
||||||
}
|
}
|
||||||
$backgroundcolor = 'style="background-color: '.$color.';"';
|
$backgroundcolor = 'style="background: '.$color.';"';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print '<tr class="oddeven" '.$backgroundcolor.'>';
|
print '<tr class="oddeven" '.$backgroundcolor.'>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user