Browse Source

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

refactoring
Guillaume 3 years ago
parent
commit
0163e410ff
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      common/models/Order.php

+ 2
- 2
common/models/Order.php View File

$amount = $this->getAmountWithTax(self::AMOUNT_PAID) $amount = $this->getAmountWithTax(self::AMOUNT_PAID)
- $this->getAmountWithTax(self::AMOUNT_TOTAL); - $this->getAmountWithTax(self::AMOUNT_TOTAL);
break; break;
default:
throw new NotFoundHttpException('Type de montant inconnu : '.$type) ;
/*default:
throw new NotFoundHttpException('Type de montant inconnu : '.$type) ;*/
} }


if ($format) { if ($format) {

Loading…
Cancel
Save