Commit 31354f2b by Julien Jorry

Fix monnaie papier nantie : arrondir, pas de virgule possible

parent bfc46d53
......@@ -385,6 +385,9 @@ class AppExtension extends AbstractExtension
return (float) 0;
}
if ($currency == CurrencyEnum::CURRENCY_MLC_NANTIE) {
return round($siege->getAccountWithCurrency($currency)->getBalance(), 0);
}
return $siege->getAccountWithCurrency($currency)->getBalance();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment