This commit is contained in:
Marwan Alwali 2025-05-05 18:10:35 +03:00
parent 8af81d699c
commit 10b1eb5159
3 changed files with 2 additions and 2 deletions

View File

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

Binary file not shown.

View File

@ -1939,7 +1939,7 @@ msgstr "تم إنشاء المستخدم بنجاح."
#: inventory/views.py:594
msgid "Car saved successfully"
msgstr "تم حجز السيارة بنجاح."
msgstr "تم حفظ السيارة بنجاح"
#: inventory/views.py:658
msgid "VIN number exists"