diff --git a/hesabixCore/src/Dto/TaxSettingsDto.php b/hesabixCore/src/Dto/TaxSettingsDto.php index 1a4229a..f27cd00 100644 --- a/hesabixCore/src/Dto/TaxSettingsDto.php +++ b/hesabixCore/src/Dto/TaxSettingsDto.php @@ -20,7 +20,7 @@ class TaxSettingsDto #[Assert\NotBlank(message: 'کد اقتصادی الزامی است.')] #[Assert\Regex( - pattern: '/^\d{11}$/', + pattern: '/^\d{11}|\d{14}$/', message: 'کد اقتصادی باید دقیقا ۱۱ رقم باشد.' )] public string $economicCode;