Browse Source

[Backend] Adaptation export Evoliz : inclure TVA #913

feature/souke
Guillaume 1 year ago
parent
commit
95f8580550
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      backend/controllers/DocumentController.php

+ 4
- 2
backend/controllers/DocumentController.php View File

@@ -256,7 +256,8 @@ class DocumentController extends BackendController
'TVA',
'Total TVA',
'Total HT',
'Créateur',
'Classification vente',
'Code Classification vente',
];

foreach ($documentManager->getProductsOrders($document) as $productOrderArray) {
@@ -311,7 +312,8 @@ class DocumentController extends BackendController
$productOrder->taxRate->value * 100, // TVA
$tva, // Total TVA
$priceTotal, // Total HT
'', // Créateur
'', // Classification vente
'01', // Code Classification vente
];
}
}

Loading…
Cancel
Save