diff --git a/inventory/forms.py b/inventory/forms.py index 7514e6b8..e5f0a22e 100644 --- a/inventory/forms.py +++ b/inventory/forms.py @@ -483,7 +483,7 @@ class VendorForm(forms.ModelForm): :type Meta: Type[VendorForm.Meta] """ phone_number = forms.CharField(label=_("Phone Number"),min_length=10,max_length=10,validators=[RegexValidator(regex='^05[0-9]{8}$')], required=True) - contact_person = forms.CharField(label=_("Contact Person"),min_length=10,max_length=10,validators=[RegexValidator(regex='^05[0-9]{8}$')], required=True) + contact_person = forms.CharField(label=_("Contact Person")) class Meta: model = Vendor diff --git a/locale/ar/LC_MESSAGES/django.mo b/locale/ar/LC_MESSAGES/django.mo index 011ea050..09a4cbd1 100644 Binary files a/locale/ar/LC_MESSAGES/django.mo and b/locale/ar/LC_MESSAGES/django.mo differ diff --git a/locale/ar/LC_MESSAGES/django.po b/locale/ar/LC_MESSAGES/django.po index 29afbba8..539efa8b 100644 --- a/locale/ar/LC_MESSAGES/django.po +++ b/locale/ar/LC_MESSAGES/django.po @@ -1939,7 +1939,7 @@ msgstr "تم إنشاء المستخدم بنجاح." #: inventory/views.py:594 msgid "Car saved successfully" -msgstr "تم حجز السيارة بنجاح." +msgstr "تم حفظ السيارة بنجاح" #: inventory/views.py:658 msgid "VIN number exists"