|
@@ -8,6 +8,7 @@
|
|
|
* Copyright (C) 2012-2014 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
|
|
|
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
|
|
|
* Copyright (C) 2017-2018 Ferran Marcet <fmarcet@2byte.es>
|
|
|
+ * Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
|
|
|
*
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
@@ -1079,7 +1080,7 @@ class pdf_crabe extends ModelePDFFactures
|
|
|
$pdf->SetXY($col1x, $tab2_top + 0);
|
|
|
$pdf->MultiCell($col2x-$col1x, $tab2_hl, $outputlangs->transnoentities("TotalHT"), 0, 'L', 1);
|
|
|
|
|
|
- $total_ht = (($conf->multicurrency->enabled && isset($object->mylticurrency_tx) && $object->mylticurrency_tx != 1) ? $object->multicurrency_total_ht : $object->total_ht);
|
|
|
+ $total_ht = (($conf->multicurrency->enabled && isset($object->multicurrency_tx) && $object->multicurrency_tx != 1) ? $object->multicurrency_total_ht : $object->total_ht);
|
|
|
$pdf->SetXY($col2x, $tab2_top + 0);
|
|
|
$pdf->MultiCell($largcol2, $tab2_hl, price($sign * ($total_ht + (! empty($object->remise)?$object->remise:0)), 0, $outputlangs), 0, 'R', 1);
|
|
|
|
|
@@ -1811,4 +1812,3 @@ class pdf_crabe extends ModelePDFFactures
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-
|