Browse Source

[backend] Facture : debug "type de montant inconnu"

refactoring
Guillaume 3 years ago
parent
commit
8abff211cf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      backend/views/document/download.php

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

<?php endforeach; ?> <?php endforeach; ?>
<?php endif; ?> <?php endif; ?>
<?php if($displayPrices): ?> <?php if($displayPrices): ?>
<?php if(GlobalParam::getCurrentProducer()->taxRate->value != 0): ?>
<?php $typeAmount = $document->isInvoicePrice() ? Order::INVOICE_AMOUNT_TOTAL : Order::AMOUNT_TOTAL ; ?>


<?php $typeAmount = $document->isInvoicePrice() ? Order::INVOICE_AMOUNT_TOTAL : Order::AMOUNT_TOTAL ; ?>
<?php if(GlobalParam::getCurrentProducer()->taxRate->value != 0): ?>


<tr> <tr>
<td class="align-right" colspan="5"><strong>Total HT</strong></td> <td class="align-right" colspan="5"><strong>Total HT</strong></td>

Loading…
Cancel
Save