1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

[bug] Wallet credit inputs does not allow to put zeros at the end of the decimal part of the amount

This commit is contained in:
Sylvain 2019-09-11 13:05:10 +02:00
parent 3320ee103b
commit 9fc3c7f61c
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
- Log changes in Invoices or InvoiceItems records for better handling of accounting certification issues
- Upgrade dev environments from ruby 2.3.6 to 2.3.8 (#143)
- Fix a bug: Users with role 'member' cannot download their invoices
- Fix a bug: Wallet credit inputs does not allow to put zeros at the end of the decimal part of the amount
- [TODO DEPLOY] `rake db:migrate`
- [TODO DEPLOY] -> (only dev) `rvm install ruby-2.3.8 && rvm use && bundle install`

View File

@ -33,10 +33,10 @@
required
min="1"
step="any"
ng-pattern="amount.toString()">
match="amount">
<span class="afterAmount">{{currencySymbol}}</span>
<span class="help-block" ng-show="walletForm.amount_confirm.$dirty && walletForm.amount_confirm.$error.required" translate>{{'amount_confirm_is_required'}}</span>
<span class="help-block" ng-show="walletForm.amount_confirm.$dirty && walletForm.amount_confirm.$error.pattern">{{ 'amount_confirm_does_not_match' | translate }}</span>
<span class="help-block" ng-show="walletForm.amount_confirm.$dirty && walletForm.amount_confirm.$error.match">{{ 'amount_confirm_does_not_match' | translate }}</span>
</div>
<hr/>