Sfoglia il codice sorgente

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

refactoring
Guillaume 3 anni fa
parent
commit
8abff211cf
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      backend/views/document/download.php

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

@@ -104,9 +104,9 @@ $displayPrices = Yii::$app->controller->getClass() != 'DeliveryNote' || (Yii::$a
<?php endforeach; ?>
<?php endif; ?>
<?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>
<td class="align-right" colspan="5"><strong>Total HT</strong></td>

Loading…
Annulla
Salva