Fixing style errors.
This commit is contained in:
parent
b2cd5fc3ca
commit
82cb267fb8
@ -1428,7 +1428,7 @@ class pdf_sponge extends ModelePDFFactures
|
|||||||
// Total remise
|
// Total remise
|
||||||
$total_line_remise = 0;
|
$total_line_remise = 0;
|
||||||
foreach ($object->lines as $i => $line) {
|
foreach ($object->lines as $i => $line) {
|
||||||
$total_line_remise += (float)pdfGetLineTotalDiscountAmount($object, $i, $outputlangs, 2); // TODO: add this method to core/lib/pdf.lib
|
$total_line_remise += (float) pdfGetLineTotalDiscountAmount($object, $i, $outputlangs, 2); // TODO: add this method to core/lib/pdf.lib
|
||||||
// Gestion remise sous forme de ligne négative
|
// Gestion remise sous forme de ligne négative
|
||||||
if ($line->total_ht < 0) {
|
if ($line->total_ht < 0) {
|
||||||
$total_line_remise += -$line->total_ht;
|
$total_line_remise += -$line->total_ht;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user