Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
5376c771d7
@ -141,7 +141,7 @@ if ($result) {
|
|||||||
|
|
||||||
// Situation invoices handling
|
// Situation invoices handling
|
||||||
$line = new FactureLigne($db);
|
$line = new FactureLigne($db);
|
||||||
$line->fetch($obj->id);
|
$line->fetch($obj->rowid);
|
||||||
$prev_progress = $line->get_prev_progress();
|
$prev_progress = $line->get_prev_progress();
|
||||||
if ($obj->situation_percent == 0) { // Avoid divide by 0
|
if ($obj->situation_percent == 0) { // Avoid divide by 0
|
||||||
$situation_ratio = 0;
|
$situation_ratio = 0;
|
||||||
|
|||||||
@ -290,7 +290,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<tr clas="impair">';
|
print '<tr class="impair">';
|
||||||
print '<td colspan="3">'.$langs->trans("None").'</td>';
|
print '<td colspan="3">'.$langs->trans("None").'</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user