- $this->getAmountWithTax(self::AMOUNT_TOTAL); | - $this->getAmountWithTax(self::AMOUNT_TOTAL); | ||||
break; | break; | ||||
default: | default: | ||||
throw new NotFoundHttpException('Type de montant inconnu.') ; | |||||
throw new NotFoundHttpException('Type de montant inconnu : '.$type) ; | |||||
} | } | ||||
if ($format) { | if ($format) { |