Skip to content

Commit c5eff17

Browse files
committed
club total
1 parent 47c0807 commit c5eff17

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

usr-web/src/routes/(apps)/manifest/+page.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,10 @@
525525
{@render cost("Software")}
526526
{@render cost("Mechanical")}
527527
{@render cost("Electrical")}
528+
<p>Club Total: {(Object.values(expenditures).reduce((a, b) => a + b)).toLocaleString(
529+
'en-US',
530+
{ style: 'currency', currency: 'USD' }
531+
)}</p>
528532

529533
<section class="flex flex-col w-min" style:background-color="darkgray">
530534
<div class="relative flex flex-row gap-10 w-min pt-8 pr-8 pl-20" style:min-height="20rem">

0 commit comments

Comments
 (0)