Merge pull request #1982 from SevanNerse/settings-currency-validation

thousands separator and decimal mark must be different
This commit is contained in:
Denis Duliçi 2021-04-18 03:48:46 +03:00 committed by GitHub
commit 0dc2b362c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,7 @@ class Currency extends FormRequest
'enabled' => 'integer|boolean',
'default_currency' => 'boolean',
'symbol_first' => 'nullable|boolean',
'thousands_separator' => 'different:decimal_mark',
];
}
}