Procházet zdrojové kódy

[backend] Tiller : adaptation au système de TVA

refactoring
Guillaume Bourgeois před 4 roky
rodič
revize
bca8a151fe
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      backend/controllers/DistributionController.php

+ 2
- 2
backend/controllers/DistributionController.php Zobrazit soubor

@@ -942,8 +942,8 @@ class DistributionController extends BackendController
foreach ($order->productOrder as $productOrder) {
$lines[] = [
'name' => $productOrder->product->name,
'price' => $productOrder->price * 100 * $productOrder->quantity,
'tax' => 5.5,
'price' => $productOrder->getPriceWithTax() * 100 * $productOrder->quantity,
'tax' => $productOrder->taxRate->value * 100,
'date' => $strDate,
'quantity' => $productOrder->quantity
];

Načítá se…
Zrušit
Uložit