From 6cf77729a61cda913b4bc4240e363a6a65ac32c4 Mon Sep 17 00:00:00 2001 From: Marwan Alwali Date: Sun, 8 Dec 2024 18:26:33 +0300 Subject: [PATCH] first commit --- haikalna.py | 2 +- templates/inventory/car_inventory.html | 31 +++++++++++++++++------- templates/inventory/inventory_stats.html | 8 +++--- 3 files changed, 27 insertions(+), 14 deletions(-) diff --git a/haikalna.py b/haikalna.py index 1dee30a5..25e6e738 100644 --- a/haikalna.py +++ b/haikalna.py @@ -1558,7 +1558,7 @@ def decode_vin(vin): # VR3USHNLWRJ521303 # KNARH81E8P5194005 # Example usage -vin_number = 'VR7BAHNL9SE001030' +vin_number = 'LJD5AA1DXR0104257' decoded_vin = decode_vin(vin_number) print(decoded_vin) diff --git a/templates/inventory/car_inventory.html b/templates/inventory/car_inventory.html index 4c86f44d..ead58f1d 100644 --- a/templates/inventory/car_inventory.html +++ b/templates/inventory/car_inventory.html @@ -23,15 +23,28 @@
-
-
-
- - - -
-
-
+
+
+
+ + + + {% if request.GET.q %} + + + + {% endif %} +
+
+
diff --git a/templates/inventory/inventory_stats.html b/templates/inventory/inventory_stats.html index 5b10e77f..7062ce78 100644 --- a/templates/inventory/inventory_stats.html +++ b/templates/inventory/inventory_stats.html @@ -28,7 +28,7 @@ data-bs-target="#collapse{{ make.make_id }}" aria-expanded="true" aria-controls="collapse{{ make.make_id }}"> - {{ make.make_name }}:  + {{ make.make_name }}:  {{ make.total_cars }}

@@ -41,7 +41,7 @@