浏览代码

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

dev
父节点
当前提交
bca8a151fe
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      backend/controllers/DistributionController.php

+ 2
- 2
backend/controllers/DistributionController.php 查看文件

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

正在加载...
取消
保存