From fab5a76f5828ad248d9636c75454a0db3115b9fe Mon Sep 17 00:00:00 2001 From: morrning Date: Sat, 27 Sep 2025 13:24:27 +0330 Subject: [PATCH] Update for Moadian plugin --- hesabixCore/src/Dto/TaxSettingsDto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;