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

@@ -435,8 +435,8 @@ class Order extends ActiveRecordCommon
$amount = $this->getAmountWithTax(self::AMOUNT_PAID)
- $this->getAmountWithTax(self::AMOUNT_TOTAL);
break;
default:
throw new NotFoundHttpException('Type de montant inconnu : '.$type) ;
/*default:
throw new NotFoundHttpException('Type de montant inconnu : '.$type) ;*/
}

if ($format) {

Loading…
Cancel
Save