|
|
|
|
|
|
|
|
'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 |
|
|
]; |
|
|
]; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |