diff --git a/inventory/models.py b/inventory/models.py index 112dbd0a..a3986995 100644 --- a/inventory/models.py +++ b/inventory/models.py @@ -1711,8 +1711,11 @@ class Customer(models.Model): national_id = models.CharField( max_length=10, unique=True, verbose_name=_("National ID"), null=True, blank=True ) - phone_number = PhoneNumberField( - region="SA", unique=True, verbose_name=_("Phone Number") + + phone_number = models.CharField( + max_length=255, + verbose_name=_("Phone Number"), + validators=[SaudiPhoneNumberValidator()], ) address = models.CharField( max_length=200, blank=True, null=True, verbose_name=_("Address") @@ -1723,7 +1726,7 @@ class Customer(models.Model): blank=True, null=True, verbose_name=_("Image"), - default="default-image/user-jpg", + default="default-image/user.jpg", ) thumbnail = ImageSpecField( source="image", diff --git a/static/images/customers/Gemini_Generated_Image_wf3w0uwf3w0uwf3w.png b/static/images/customers/Gemini_Generated_Image_wf3w0uwf3w0uwf3w.png new file mode 100644 index 00000000..0b4f99a9 Binary files /dev/null and b/static/images/customers/Gemini_Generated_Image_wf3w0uwf3w0uwf3w.png differ diff --git a/templates/account/password_reset_from_key.html b/templates/account/password_reset_from_key.html index 3b18129c..9109f8c8 100644 --- a/templates/account/password_reset_from_key.html +++ b/templates/account/password_reset_from_key.html @@ -36,7 +36,7 @@ {% if token_fail %} {% url 'account_reset_password' as passwd_reset_url %}
- {% trans "The password reset link was invalid, possibly because it has already been used. Please request a" %} {% trans "new password reset." %}{% endblocktrans %} + {% trans "The password reset link was invalid, possibly because it has already been used. Please request a" %} {% trans "new password reset." %}
{% else %} {%if selected_make_sales%} @@ -70,7 +71,6 @@{% trans "Please Select a Make from above to see the Statistics" %}
{% trans "Please Select a Make from above to see the Statistics" %}