From 28a8fde7d57ee5ef762bd20f41c728966ab74d06 Mon Sep 17 00:00:00 2001
From: Akash Keshav <112591754+domesticchores@users.noreply.github.com>
Date: Tue, 18 Mar 2025 12:59:11 -0400
Subject: connected backend to frontend for funding basket. -ak
---
.../funding-basket/funding-basket.component.html | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
(limited to 'ufund-ui/src/app/components/funding-basket/funding-basket.component.html')
diff --git a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
index 0a880af..dd02e98 100644
--- a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
+++ b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
@@ -2,33 +2,33 @@
- {{ needCount }}
+ {{ this.usersService.getBasket().getValue().length }}
-
+
There are no needs in the basket
-
+
|
-
+
{{need.name}}
-
+
+ (click)="this.usersService.removeNeed(need.id)">Remove Need
|
@@ -36,6 +36,5 @@
-
+
\ No newline at end of file
--
cgit v1.2.3
From fe04a7078f6b381d45715f80662628410ca8dc72 Mon Sep 17 00:00:00 2001
From: Akash Keshav <112591754+domesticchores@users.noreply.github.com>
Date: Tue, 18 Mar 2025 13:19:41 -0400
Subject: added descriptions to funding basket. -ak
---
.../src/app/components/funding-basket/funding-basket.component.html | 3 +++
1 file changed, 3 insertions(+)
(limited to 'ufund-ui/src/app/components/funding-basket/funding-basket.component.html')
diff --git a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
index dd02e98..b8633b8 100644
--- a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
+++ b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
@@ -21,6 +21,9 @@
{{need.name}}
+ Goal: {{need.maxGoal}}
+ Current: {{need.current}}
+ How much to Contribute:
--
cgit v1.2.3
From cd9dfcec9e7ae9fe6f08b61927b16cf76b8bcef7 Mon Sep 17 00:00:00 2001
From: Akash Keshav <112591754+domesticchores@users.noreply.github.com>
Date: Tue, 18 Mar 2025 15:49:08 -0400
Subject: debug of checkout. -ak
---
.../funding-basket/funding-basket.component.html | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
(limited to 'ufund-ui/src/app/components/funding-basket/funding-basket.component.html')
diff --git a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
index b8633b8..178a2cd 100644
--- a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
+++ b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
@@ -9,7 +9,7 @@
There are no needs in the basket
-
+
|
@@ -18,20 +18,14 @@
-
- {{need.name}}
-
+ {{need.name}}
Goal: {{need.maxGoal}}
Current: {{need.current}}
- How much to Contribute:
-
-
-
+ How much to Contribute:
-
+
|
@@ -39,5 +33,6 @@
-
+
Invalid input in funding basket!
+
\ No newline at end of file
--
cgit v1.2.3
From 9d90b2a29b1f47b6271fd9ea87989a4195cf5ee6 Mon Sep 17 00:00:00 2001
From: Akash Keshav <112591754+domesticchores@users.noreply.github.com>
Date: Tue, 18 Mar 2025 15:59:16 -0400
Subject: working update need; broken remove basket. -ak
---
ufund-ui/src/app/components/funding-basket/funding-basket.component.html | 1 +
1 file changed, 1 insertion(+)
(limited to 'ufund-ui/src/app/components/funding-basket/funding-basket.component.html')
diff --git a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
index 178a2cd..30c3167 100644
--- a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
+++ b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
@@ -35,4 +35,5 @@
Invalid input in funding basket!
+
{{statusText | async}}
\ No newline at end of file
--
cgit v1.2.3
From ca7d72e43407a49b147673ebc5ab8b155a8216ac Mon Sep 17 00:00:00 2001
From: Akash Keshav <112591754+domesticchores@users.noreply.github.com>
Date: Tue, 18 Mar 2025 17:01:00 -0400
Subject: fixed odd rounding errors in funding basket. -ak
---
.../src/app/components/funding-basket/funding-basket.component.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'ufund-ui/src/app/components/funding-basket/funding-basket.component.html')
diff --git a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
index 30c3167..504e694 100644
--- a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
+++ b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
@@ -20,8 +20,8 @@
{{need.name}}
Goal: {{need.maxGoal}}
- Current: {{need.current}}
- How much to Contribute:
+ Current: {{(need.current).toFixed(2)}}
+ How much to Contribute:
|