diff --git a/.DS_Store b/.DS_Store index cf57988c..be998a0d 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3 index e0b99ff8..56bab1e8 100644 Binary files a/osinaweb/db.sqlite3 and b/osinaweb/db.sqlite3 differ diff --git a/osinaweb/osinacore/__pycache__/views.cpython-310.pyc b/osinaweb/osinacore/__pycache__/views.cpython-310.pyc index 46ec6fac..e73bf97e 100644 Binary files a/osinaweb/osinacore/__pycache__/views.cpython-310.pyc and b/osinaweb/osinacore/__pycache__/views.cpython-310.pyc differ diff --git a/osinaweb/osinacore/templates/details_templates/customer-details.html b/osinaweb/osinacore/templates/details_templates/customer-details.html index 79da9a70..fac3c6fb 100644 --- a/osinaweb/osinacore/templates/details_templates/customer-details.html +++ b/osinaweb/osinacore/templates/details_templates/customer-details.html @@ -198,114 +198,6 @@ - -
-
-
-

Payment

-
- - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Order - - Amount - - Date Paid - - Date Due - - Payment Method - - Comment - - Actions -
-

order 1

-
-

$20.0

-
-

02-12-2024

-
-

02-12-2024

-
-

Cash

-
-
-
- - - -
-
- -
-
-
- - - -
- -
- - - -
-
-
-
-
@@ -428,6 +320,123 @@ + +
+
+
+

Payments

+
+ + +
+ +
+ + + + + + + + + + + + + + + + {% for payment in customer_payments %} + + + + + + + + + + + + + + + + + {% endfor %} +
+ Order + + Amount + + Date Due + + Date Paid + + Payment Method + + Comment + + Actions +
+

{{payment.order.order_id}}

+
+

${{payment.order.get_cart_total}}

+
+

{{payment.date_due}}

+
+ {% if payment.date_paid %} +

{{payment.date_paid}}

+ {% else %} +

UNPAID

+ {% endif %} +
+

{{payment.type.name}}

+
+
+
+ + + +
+
+ +
+
+
+ + + +
+ +
+ + + +
+
+
+
+
+ +