aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-page/need-page.component.html
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-04-07 14:05:39 -0400
committerGunther6070 <haydenhartman10@yahoo.com>2025-04-07 14:05:39 -0400
commit24902e734df0a486818950f37452242ada4c656b (patch)
treeafa4735df70ad06c63f0789fb0cfd45609c3932b /ufund-ui/src/app/components/need-page/need-page.component.html
parented739c319f2f5e6680fe1a048c9c904b8d7d2429 (diff)
downloadJellySolutions-24902e734df0a486818950f37452242ada4c656b.tar.gz
JellySolutions-24902e734df0a486818950f37452242ada4c656b.tar.bz2
JellySolutions-24902e734df0a486818950f37452242ada4c656b.zip
Added commas to need amounts
Diffstat (limited to '')
-rw-r--r--ufund-ui/src/app/components/need-page/need-page.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/need-page/need-page.component.html b/ufund-ui/src/app/components/need-page/need-page.component.html
index 2629346..8263c04 100644
--- a/ufund-ui/src/app/components/need-page/need-page.component.html
+++ b/ufund-ui/src/app/components/need-page/need-page.component.html
@@ -9,9 +9,9 @@
<span>This goal is <strong>{{(((need.current)*100) / (need.maxGoal)).toFixed(0)}}%</strong> complete!</span>
</div>
- <span><strong>Target Goal:</strong> {{(need.type === GoalType.MONETARY) ? "$" : ""}}{{need.maxGoal}}</span>
+ <span><strong>Target Goal:</strong> {{(need.type === GoalType.MONETARY) ? "$" : ""}}{{need.maxGoal.toLocaleString()}}</span>
- <span><strong>Amount Currently Collected:</strong> {{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.current}}</span>
+ <span><strong>Amount Currently Collected:</strong> {{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.current.toLocaleString()}}</span>
<span><strong>Location:</strong> {{need.location}}</span>