diff --git a/osinaweb/customercore/__pycache__/custom_context.cpython-310.pyc b/osinaweb/customercore/__pycache__/custom_context.cpython-310.pyc
index b8062916..eed29c08 100644
Binary files a/osinaweb/customercore/__pycache__/custom_context.cpython-310.pyc and b/osinaweb/customercore/__pycache__/custom_context.cpython-310.pyc differ
diff --git a/osinaweb/customercore/custom_context.py b/osinaweb/customercore/custom_context.py
index 40f93bc7..d6863e10 100644
--- a/osinaweb/customercore/custom_context.py
+++ b/osinaweb/customercore/custom_context.py
@@ -21,9 +21,7 @@ def utilities(request):
orders_without_completed_status = orders_with_invoice.exclude(orderstatus__status='Completed')
customer_open_invoices_count = orders_without_completed_status.count()
- customer_open_tickets = Ticket.objects.filter(
- Q(status__in=['Open', 'Working On']) & Q(customer=request.user.customerprofile)
- ).order_by('-id')
+ customer_open_tickets = Ticket.objects.filter(customer=request.user.customerprofile).exclude(ticketstatus__status='Closed').order_by('-id')
customer_open_tickets_count = customer_open_tickets.count()
for ticket in customer_open_tickets:
diff --git a/osinaweb/customercore/templates/listing_pages/customer-tickets.html b/osinaweb/customercore/templates/listing_pages/customer-tickets.html
index f50f23ba..59de8095 100644
--- a/osinaweb/customercore/templates/listing_pages/customer-tickets.html
+++ b/osinaweb/customercore/templates/listing_pages/customer-tickets.html
@@ -65,10 +65,10 @@
{% for ticket in open_tickets %}
-
+
|
- {{ticket.title }}
+ {{ticket.title }}
|
@@ -104,8 +104,6 @@
-
-
@@ -143,10 +141,10 @@
{% for ticket in closed_tickets %}
-
+
|
- {{ticket.title }}
+ {{ticket.title }}
|
@@ -184,5 +182,15 @@
+
{% endblock %}
\ No newline at end of file
diff --git a/osinaweb/customercore/templates/user_profile_pages/user-profile.html b/osinaweb/customercore/templates/user_profile_pages/user-profile.html
index 5e893d79..0793a31a 100644
--- a/osinaweb/customercore/templates/user_profile_pages/user-profile.html
+++ b/osinaweb/customercore/templates/user_profile_pages/user-profile.html
@@ -81,7 +81,7 @@
+ value="{{request.user.customerprofile.mobile_number}}">
diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3
index f77ab02a..7ec2aab6 100644
Binary files a/osinaweb/db.sqlite3 and b/osinaweb/db.sqlite3 differ
diff --git a/osinaweb/osinacore/templates/customer_index.html b/osinaweb/osinacore/templates/customer_index.html
index 6496a23e..51b81d68 100644
--- a/osinaweb/osinacore/templates/customer_index.html
+++ b/osinaweb/osinacore/templates/customer_index.html
@@ -90,10 +90,10 @@
{% for ticket in customer_open_tickets %}
-
+
|
- {{ticket.title}}
+ {{ticket.title}}
|
@@ -187,7 +187,16 @@
-
+
{% endblock %}
\ No newline at end of file
diff --git a/osinaweb/osinacore/templates/index.html b/osinaweb/osinacore/templates/index.html
index a2f2690b..2cd68d6d 100644
--- a/osinaweb/osinacore/templates/index.html
+++ b/osinaweb/osinacore/templates/index.html
@@ -453,5 +453,6 @@
+
{% endblock content %}
\ No newline at end of file
diff --git a/osinaweb/static/dist/output.css b/osinaweb/static/dist/output.css
index 2ff1c91f..b8488deb 100644
--- a/osinaweb/static/dist/output.css
+++ b/osinaweb/static/dist/output.css
@@ -3605,6 +3605,11 @@ video {
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}
+.hover\:bg-gray-200:hover {
+ --tw-bg-opacity: 1;
+ background-color: rgb(229 231 235 / var(--tw-bg-opacity));
+}
+
.hover\:bg-gray-50:hover {
--tw-bg-opacity: 1;
background-color: rgb(249 250 251 / var(--tw-bg-opacity));