mirror of
https://github.com/valitydev/koffing.git
synced 2024-11-06 09:15:20 +00:00
FE-582: fix refund regexp (#197)
This commit is contained in:
parent
c968e73a99
commit
16c231679f
@ -15,8 +15,8 @@ export class PaymentRefundService {
|
||||
Validators.required,
|
||||
Validators.min(10), // TODO: минимальная сумма рефанда?
|
||||
Validators.max(amount / 100),
|
||||
Validators.max( availableAmount / 100),
|
||||
Validators.pattern(/^\d+$/)]
|
||||
Validators.max(availableAmount / 100),
|
||||
Validators.pattern(/^\d+\.?\d*$/)]
|
||||
],
|
||||
reason: ['']
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user