From 8b15d9dd9d091234d26f2337f49c768ec602d94e Mon Sep 17 00:00:00 2001 From: Mono Mono Date: Sat, 2 Nov 2024 14:52:44 -0500 Subject: [PATCH] view (Frontend): purchase summary. --- .../src/components/SummaryPurchase.vue | 44 ++++++++----------- 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/tienda_ilusion/don_confiao/frontend/don-confiao/src/components/SummaryPurchase.vue b/tienda_ilusion/don_confiao/frontend/don-confiao/src/components/SummaryPurchase.vue index 5111c64..43425c7 100644 --- a/tienda_ilusion/don_confiao/frontend/don-confiao/src/components/SummaryPurchase.vue +++ b/tienda_ilusion/don_confiao/frontend/don-confiao/src/components/SummaryPurchase.vue @@ -16,36 +16,24 @@ {{ purchase.customer.name }} - - - - Producto: - - - Nombre: - {{ line.product.name }} - Precio: - {{ currencyFormat(line.unit_price) }} - Cantidad: - {{ line.quantity }} - Cantidad: - {{ line.quantity }} - Subtotal: - {{ currencyFormat(calculateSubtotal(line.price, line.quantity)) }} - - - - - - - + Total: {{ currencyFormat(calculateTotal(purchase.set_lines)) }} - - + + + + +