From cafb12818a2b1562e559b8d57fb670500bb4afaf Mon Sep 17 00:00:00 2001 From: Faheedkhan Date: Mon, 2 Jun 2025 16:45:28 +0300 Subject: [PATCH] car_detail 1 --- templates/inventory/car_detail.html | 49 ++++++++++++++++------------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/templates/inventory/car_detail.html b/templates/inventory/car_detail.html index 261dfcd9..f11021cb 100644 --- a/templates/inventory/car_detail.html +++ b/templates/inventory/car_detail.html @@ -1,4 +1,4 @@ - {% extends 'base.html' %} +{% extends 'base.html' %} {% load i18n static custom_filters %} {% block title %}{{ _("Car Details") }}{% endblock %} {% block customCSS %} @@ -17,14 +17,24 @@ {% endblock customCSS %} {% block content %} - {% if not car.ready %} + + {% if not car.ready and not car.status == 'sold' %}