Browse Source

[backend] Documents : correction problème quantités (rapport aux unités)

dev
Guillaume 4 years ago
parent
commit
59bac725b5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/views/document/download.php

+ 1
- 1
backend/views/document/download.php View File

<?php if(Yii::$app->controller->getClass() != 'DeliveryNote'): ?> <?php if(Yii::$app->controller->getClass() != 'DeliveryNote'): ?>
<td class="align-center"><?= Price::format($productOrder->getPrice()) ?></td> <td class="align-center"><?= Price::format($productOrder->getPrice()) ?></td>
<?php endif; ?> <?php endif; ?>
<td class="align-center"><?= $productOrder->quantity ?></td>
<td class="align-center"><?= $productOrder->quantity * Product::$unitsArray[$productOrder->unit]['coefficient'] ?></td>
<td class="align-center"><?= Product::strUnit($productOrder->unit, 'wording') ?></td> <td class="align-center"><?= Product::strUnit($productOrder->unit, 'wording') ?></td>
<?php if(Yii::$app->controller->getClass() != 'DeliveryNote'): ?> <?php if(Yii::$app->controller->getClass() != 'DeliveryNote'): ?>
<?php if(GlobalParam::getCurrentProducer()->taxRate->value != 0): ?> <?php if(GlobalParam::getCurrentProducer()->taxRate->value != 0): ?>

Loading…
Cancel
Save