Update for Moadian plugin
This commit is contained in:
parent
b8ad5f2f49
commit
fab5a76f58
|
|
@ -20,7 +20,7 @@ class TaxSettingsDto
|
||||||
|
|
||||||
#[Assert\NotBlank(message: 'کد اقتصادی الزامی است.')]
|
#[Assert\NotBlank(message: 'کد اقتصادی الزامی است.')]
|
||||||
#[Assert\Regex(
|
#[Assert\Regex(
|
||||||
pattern: '/^\d{11}$/',
|
pattern: '/^\d{11}|\d{14}$/',
|
||||||
message: 'کد اقتصادی باید دقیقا ۱۱ رقم باشد.'
|
message: 'کد اقتصادی باید دقیقا ۱۱ رقم باشد.'
|
||||||
)]
|
)]
|
||||||
public string $economicCode;
|
public string $economicCode;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue