Update for Moadian plugin

This commit is contained in:
Hesabix 2025-09-27 13:24:27 +03:30
parent b8ad5f2f49
commit fab5a76f58

View file

@ -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;