Merge branch 'master' of https://source.hesabix.ir/morrning/hesabixCore
This commit is contained in:
commit
5a1348a800
|
|
@ -20,8 +20,8 @@ class TaxSettingsDto
|
|||
|
||||
#[Assert\NotBlank(message: 'کد اقتصادی الزامی است.')]
|
||||
#[Assert\Regex(
|
||||
pattern: '/^\d{11}$/',
|
||||
message: 'کد اقتصادی باید دقیقا ۱۱ رقم باشد.'
|
||||
pattern: '/^\d{11}|\d{14}$/',
|
||||
message: 'کد اقتصادی باید ۱۱ یا ۱۴ رقم باشد.'
|
||||
)]
|
||||
public string $economicCode;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue