$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) { |