diff --git a/.idea/car_inventory.iml b/.idea/car_inventory.iml
index fa621f35..f2963bf3 100644
--- a/.idea/car_inventory.iml
+++ b/.idea/car_inventory.iml
@@ -26,6 +26,7 @@
+
diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml
new file mode 100644
index 00000000..b04f24a5
--- /dev/null
+++ b/.idea/dataSources.xml
@@ -0,0 +1,14 @@
+
+
+
+
+ postgresql
+ true
+ true
+ $PROJECT_DIR$/car_inventory/settings.py
+ org.postgresql.Driver
+ jdbc:postgresql://127.0.0.1:5432/murad_haikal
+ $ProjectFileDir$
+
+
+
\ No newline at end of file
diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml
index 9da5f0df..4859cf50 100644
--- a/.idea/jsLibraryMappings.xml
+++ b/.idea/jsLibraryMappings.xml
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
diff --git a/car_inventory/__pycache__/settings.cpython-311.pyc b/car_inventory/__pycache__/settings.cpython-311.pyc
index 7a4cc307..ab7c2ae6 100644
Binary files a/car_inventory/__pycache__/settings.cpython-311.pyc and b/car_inventory/__pycache__/settings.cpython-311.pyc differ
diff --git a/inventory/__pycache__/forms.cpython-311.pyc b/inventory/__pycache__/forms.cpython-311.pyc
index 3c2f5f41..8dd7b9af 100644
Binary files a/inventory/__pycache__/forms.cpython-311.pyc and b/inventory/__pycache__/forms.cpython-311.pyc differ
diff --git a/inventory/__pycache__/models.cpython-311.pyc b/inventory/__pycache__/models.cpython-311.pyc
index 9de9d791..e9b41abe 100644
Binary files a/inventory/__pycache__/models.cpython-311.pyc and b/inventory/__pycache__/models.cpython-311.pyc differ
diff --git a/inventory/__pycache__/urls.cpython-311.pyc b/inventory/__pycache__/urls.cpython-311.pyc
index a97bf298..6e2d2f04 100644
Binary files a/inventory/__pycache__/urls.cpython-311.pyc and b/inventory/__pycache__/urls.cpython-311.pyc differ
diff --git a/inventory/__pycache__/views.cpython-311.pyc b/inventory/__pycache__/views.cpython-311.pyc
index 615db312..3403c616 100644
Binary files a/inventory/__pycache__/views.cpython-311.pyc and b/inventory/__pycache__/views.cpython-311.pyc differ
diff --git a/inventory/views.py b/inventory/views.py
index 7ff0a591..1e394a28 100644
--- a/inventory/views.py
+++ b/inventory/views.py
@@ -98,7 +98,7 @@ def switch_language(request):
class HomeView(LoginRequiredMixin, TemplateView):
- template_name = "dashboards/accounting.html"
+ template_name = "index.html"
def dispatch(self, request, *args, **kwargs):
if (
@@ -124,6 +124,7 @@ class HomeView(LoginRequiredMixin, TemplateView):
total_selling_price = stats["total_selling_price"] or 0
total_profit = total_selling_price - total_cost_price
+ context['dealer'] = self.request.user.dealer
context["total_cars"] = total_cars
context["total_reservations"] = total_reservations
context["total_cost_price"] = total_cost_price
diff --git a/static/.DS_Store b/static/.DS_Store
index 3fbe3b7e..7eca178f 100644
Binary files a/static/.DS_Store and b/static/.DS_Store differ
diff --git a/static/images/.DS_Store b/static/images/.DS_Store
index 33d4290e..59909e2d 100644
Binary files a/static/images/.DS_Store and b/static/images/.DS_Store differ
diff --git a/static/images/favicons/.DS_Store b/static/images/favicons/.DS_Store
index 742e781a..e4d7ed72 100644
Binary files a/static/images/favicons/.DS_Store and b/static/images/favicons/.DS_Store differ
diff --git a/static/images/favicons/android-chrome-192x192.png b/static/images/favicons/android-chrome-192x192.png
index 6dfc6282..0527f276 100644
Binary files a/static/images/favicons/android-chrome-192x192.png and b/static/images/favicons/android-chrome-192x192.png differ
diff --git a/static/images/favicons/android-chrome-512x512.png b/static/images/favicons/android-chrome-512x512.png
index 36072d36..380719a8 100644
Binary files a/static/images/favicons/android-chrome-512x512.png and b/static/images/favicons/android-chrome-512x512.png differ
diff --git a/static/images/favicons/apple-touch-icon.png b/static/images/favicons/apple-touch-icon.png
index 16a87ea2..22aed0cf 100644
Binary files a/static/images/favicons/apple-touch-icon.png and b/static/images/favicons/apple-touch-icon.png differ
diff --git a/static/images/favicons/favicon-16x16.png b/static/images/favicons/favicon-16x16.png
index 0a7bb127..de4da546 100644
Binary files a/static/images/favicons/favicon-16x16.png and b/static/images/favicons/favicon-16x16.png differ
diff --git a/static/images/favicons/favicon-32x32.png b/static/images/favicons/favicon-32x32.png
index 2c84c6db..85e7247d 100644
Binary files a/static/images/favicons/favicon-32x32.png and b/static/images/favicons/favicon-32x32.png differ
diff --git a/static/images/favicons/favicon.ico b/static/images/favicons/favicon.ico
index ba1f2fc8..78c7938e 100644
Binary files a/static/images/favicons/favicon.ico and b/static/images/favicons/favicon.ico differ
diff --git a/static/images/logos/logo-d.png b/static/images/logos/logo-d.png
new file mode 100644
index 00000000..226eda47
Binary files /dev/null and b/static/images/logos/logo-d.png differ
diff --git a/templates/.DS_Store b/templates/.DS_Store
index a257310a..1da056ae 100644
Binary files a/templates/.DS_Store and b/templates/.DS_Store differ
diff --git a/templates/base.html b/templates/base.html
index df527f71..8d771617 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -28,7 +28,7 @@
-
+
@@ -37,19 +37,37 @@
+
+
+
+
-{% if LANGUAGE_CODE == 'ar' %}
-
-
-{% else %}
-
-
-{% endif %}
-
+ {% if LANGUAGE_CODE == 'en' %}
+
+
+ {% else %}
+
+
+ {% endif %}
+
@@ -452,7 +470,7 @@
{% else %}
-
+
{% endif %}
@@ -710,6 +728,11 @@
+
+
+
+
+