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

'TVA', 'TVA',
'Total TVA', 'Total TVA',
'Total HT', 'Total HT',
'Créateur',
'Classification vente',
'Code Classification vente',
]; ];


foreach ($documentManager->getProductsOrders($document) as $productOrderArray) { foreach ($documentManager->getProductsOrders($document) as $productOrderArray) {
$productOrder->taxRate->value * 100, // TVA $productOrder->taxRate->value * 100, // TVA
$tva, // Total TVA $tva, // Total TVA
$priceTotal, // Total HT $priceTotal, // Total HT
'', // Créateur
'', // Classification vente
'01', // Code Classification vente
]; ];
} }
} }

Loading…
Cancel
Save