Fix phpunit
This commit is contained in:
parent
3a81318c15
commit
470cbb52f8
@ -1503,8 +1503,9 @@ class Facture extends CommonInvoice
|
|||||||
$use_all_lines = empty($lines);
|
$use_all_lines = empty($lines);
|
||||||
$num = count($object->lines);
|
$num = count($object->lines);
|
||||||
for ($i = 0; $i < $num; $i++) {
|
for ($i = 0; $i < $num; $i++) {
|
||||||
|
if (!$use_all_lines && !in_array($object->lines[$i]->id, $lines)) {
|
||||||
if (!$use_all_lines && !in_array($object->lines[$i]->id, $lines)) continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$line = new FactureLigne($this->db);
|
$line = new FactureLigne($this->db);
|
||||||
|
|
||||||
|
|||||||
@ -1705,8 +1705,7 @@ if ($ispaymentok) {
|
|||||||
$postactionmessages[] = $msg;
|
$postactionmessages[] = $msg;
|
||||||
$ispostactionok = -1;
|
$ispostactionok = -1;
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// Nothing done
|
// Nothing done
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user