diff --git a/templates/inventory/car_detail.html b/templates/inventory/car_detail.html index 261dfcd9..da62e5fe 100644 --- a/templates/inventory/car_detail.html +++ b/templates/inventory/car_detail.html @@ -17,14 +17,24 @@ {% endblock customCSS %} {% block content %} - {% if not car.ready %} + + {% if not car.ready and not car.status == 'sold' %}
- {{ _("This car information is not complete , please add colors and finances before making it ready for sale .") }}{{ _("Add Color") }} + {{ _("This car information is not complete , please add colors and finances both before making it ready for sale .") }}
+ {% elif car.finances and not car.colors %} ++ {{ _("This car information is not complete , please add colors before making it ready for sale .") }} +
+ {%else%} ++ {{ _("This car information is not complete , please add finances before making it ready for sale .") }} +
+ {%endif%}