thousands separator and decimal mark must be different

This commit is contained in:
Sevan Nerse 2021-04-12 22:23:52 +03:00
parent f436bc3e49
commit 88621c3112

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',
];
}
}