Pārlūkot izejas kodu

Merge branch 'dev'

prodstable
Guillaume Bourgeois pirms 4 gadiem
vecāks
revīzija
5a4c9cbc14
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      backend/controllers/DistributionController.php

+ 2
- 2
backend/controllers/DistributionController.php Parādīt failu

@@ -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
];

Notiek ielāde…
Atcelt
Saglabāt