Browse Source

[Administration] Documents : possibilité d'afficher le prix au kg dans la colonne "Prix unitaire" des PDF

feature/souke
Guillaume Bourgeois 1 year ago
parent
commit
5ea9f800b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/views/document/_download_product_line.php

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

<?php $priceUnitReferenceString = Price::format($priceUnitReference, $documentPriceDecimals).' / kg' ?> <?php $priceUnitReferenceString = Price::format($priceUnitReference, $documentPriceDecimals).' / kg' ?>
<?php if($productOrder->unit == 'piece'): ?> <?php if($productOrder->unit == 'piece'): ?>
<?= Price::format($price, $documentPriceDecimals) ?> <?= Price::format($price, $documentPriceDecimals) ?>
<?php if($priceUnitReference): ?>
<?php if($displayPriceUnitReference && $priceUnitReference): ?>
(<?= $priceUnitReferenceString ?>) (<?= $priceUnitReferenceString ?>)
<?php endif; ?> <?php endif; ?>
<?php else: ?> <?php else: ?>

Loading…
Cancel
Save