From 678eb185833025e85282b23562ae1e5f37e3cb9a Mon Sep 17 00:00:00 2001 From: Casey Date: Tue, 3 Feb 2026 17:03:35 -0600 Subject: [PATCH] update estimate page, add stripe script and docker compose for mail server --- frontend/src/components/pages/Estimate.vue | 173 +++++++-------------- 1 file changed, 59 insertions(+), 114 deletions(-) diff --git a/frontend/src/components/pages/Estimate.vue b/frontend/src/components/pages/Estimate.vue index f9d57aa..3a449b9 100644 --- a/frontend/src/components/pages/Estimate.vue +++ b/frontend/src/components/pages/Estimate.vue @@ -131,6 +131,7 @@ label="Add Item" icon="pi pi-plus" @click="showAddItemModal = true" + :disabled="!quotationItems || Object.keys(quotationItems).length === 0" />
{{ item.itemName }} @@ -146,7 +147,20 @@ class="qty-input" />
- Price: ${{ (item.standardRate || 0).toFixed(2) }} + X +
+ Rate + +
Discount
@@ -193,7 +207,7 @@
- Total: ${{ ((item.qty || 0) * (item.standardRate || 0) - (item.discountAmount || 0)).toFixed(2) }} + Total: ${{ ((item.qty || 0) * (item.rate || 0) - (item.discountAmount || 0)).toFixed(2) }}