Correction erreurs montant max amortissement
This commit is contained in:
parent
d189f6d4c4
commit
105080c111
2 changed files with 4 additions and 3 deletions
|
|
@ -38,8 +38,8 @@
|
|||
{{/if}}
|
||||
|
||||
{{* vérifier que le montant ne dépasse pas le solde restant *}}
|
||||
{{:assign solde="%f/100"|math:$_GET.solde}}
|
||||
{{if $_POST.montant > $solde}}
|
||||
{{if $_POST.montant|trim|money_int > $_GET.solde|intval}}
|
||||
{{:assign solde=$_GET.solde|money_raw}}
|
||||
{{:error message="Le montant indiqué « %s » dépasse le solde à amortir « %s »"|args:$_POST.montant:$solde}}
|
||||
{{/if}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue