From d628aeb8caf8215ea517be8987cf648b05631ef8 Mon Sep 17 00:00:00 2001 From: Faheedkhan Date: Thu, 22 May 2025 13:43:01 +0300 Subject: [PATCH] added ui changes to sales --- templates/sales/invoices/invoice_list.html | 4 ++-- templates/sales/orders/order_list.html | 12 +++--------- templates/sales/payments/payment_details.html | 11 +++++++---- templates/sales/payments/payment_list.html | 4 ++-- templates/sales/sales_list.html | 4 ++-- 5 files changed, 16 insertions(+), 19 deletions(-) diff --git a/templates/sales/invoices/invoice_list.html b/templates/sales/invoices/invoice_list.html index ecea9ce9..2dec1276 100644 --- a/templates/sales/invoices/invoice_list.html +++ b/templates/sales/invoices/invoice_list.html @@ -9,9 +9,9 @@

{% trans "Invoices" %}

- +
- + diff --git a/templates/sales/orders/order_list.html b/templates/sales/orders/order_list.html index 5ebdb2cf..865da764 100644 --- a/templates/sales/orders/order_list.html +++ b/templates/sales/orders/order_list.html @@ -5,12 +5,12 @@ {% block content %}
-

{% trans "Orders" %}

+

{% trans "Orders" %}

-
{% trans "Invoice Number" %} {% trans "Customer" %} {% trans "Status" %}
+
- + @@ -28,12 +28,6 @@ {{ order.estimate }} - {% empty %} diff --git a/templates/sales/payments/payment_details.html b/templates/sales/payments/payment_details.html index 5ed867f4..32fe3975 100644 --- a/templates/sales/payments/payment_details.html +++ b/templates/sales/payments/payment_details.html @@ -8,9 +8,9 @@

{% trans "Transactions" %}

-
{% trans "Order Number" %} {% trans "Customer" %} {% trans "For Quotation" %} - {% comment %} - {% trans "view"|capfirst %} - {% endcomment %} -
+
- + @@ -39,8 +39,11 @@
{% trans "#" %} {% trans "Timestamp" %} {% trans "Account Name" %}
-
-
+
+ {% if is_paginated %} + {% include 'partials/pagination.html' %} + {% endif %} +
{% endblock %} \ No newline at end of file diff --git a/templates/sales/payments/payment_list.html b/templates/sales/payments/payment_list.html index 2c2c268b..166b685c 100644 --- a/templates/sales/payments/payment_list.html +++ b/templates/sales/payments/payment_list.html @@ -12,9 +12,9 @@
- +
- + diff --git a/templates/sales/sales_list.html b/templates/sales/sales_list.html index 7204a4f6..ffc70a8c 100644 --- a/templates/sales/sales_list.html +++ b/templates/sales/sales_list.html @@ -101,9 +101,9 @@ hx-on::after-request="on_after_request()"> -
# {% trans "Payment Number" %} {% trans "Invoice" %}
+
- +
{{ _("Customer Name")}} {{ _("Customer Address")}}