|
|
@@ -38,6 +38,7 @@ |
|
|
|
|
|
|
|
namespace backend\controllers; |
|
|
|
|
|
|
|
use common\helpers\CSV; |
|
|
|
use common\helpers\Price; |
|
|
|
use common\models\DeliveryNote; |
|
|
|
use common\models\Invoice; |
|
|
@@ -242,7 +243,8 @@ class DocumentController extends BackendController |
|
|
|
'TVA', |
|
|
|
'Total TVA', |
|
|
|
'Total HT', |
|
|
|
'Créateur', |
|
|
|
'Classification vente', |
|
|
|
'Code Classification vente', |
|
|
|
]; |
|
|
|
|
|
|
|
foreach($document->getProductsOrders() as $productOrderArray) { |
|
|
@@ -297,7 +299,8 @@ class DocumentController extends BackendController |
|
|
|
$productOrder->taxRate->value * 100, // TVA |
|
|
|
$tva, // Total TVA |
|
|
|
$priceTotal, // Total HT |
|
|
|
'', // Créateur |
|
|
|
'', // Classification vente |
|
|
|
'01', // Code Classification vente |
|
|
|
]; |
|
|
|
} |
|
|
|
} |