diff options
author | Gunther6070 <haydenhartman10@yahoo.com> | 2025-04-07 14:03:59 -0400 |
---|---|---|
committer | Gunther6070 <haydenhartman10@yahoo.com> | 2025-04-07 14:03:59 -0400 |
commit | 81917b7cae6d3d22bc8e54f7b2bd416acd70475f (patch) | |
tree | e101bfb241458583d0f896975bc797ef77211c6a /ufund-ui/src/app/components/funding-basket/funding-basket.component.html | |
parent | b6bc0e5e9be234c58ad5d8554f6614d22e2738f8 (diff) | |
download | JellySolutions-81917b7cae6d3d22bc8e54f7b2bd416acd70475f.tar.gz JellySolutions-81917b7cae6d3d22bc8e54f7b2bd416acd70475f.tar.bz2 JellySolutions-81917b7cae6d3d22bc8e54f7b2bd416acd70475f.zip |
Added total physical contributions to dashboard and funding basket
Diffstat (limited to 'ufund-ui/src/app/components/funding-basket/funding-basket.component.html')
-rw-r--r-- | ufund-ui/src/app/components/funding-basket/funding-basket.component.html | 9 |
1 files changed, 7 insertions, 2 deletions
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 7158194..50d6abe 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 @@ -3,7 +3,7 @@ <h1>Funding Basket</h1> <ng-template [ngIf]="(usersService.getBasket() | async)?.length"> <ng-template let-need #NLActions> - <input type="number" placeholder="Quantity" min="1" [id]="need?.id" class="contribution" (input)="resetColor($event)"> + <input type="number" placeholder="Quantity" min="1" [id]="need?.id" class="contribution" (input)="onInput($event)"> <button class="removeNeed" (click)="this.usersService.removeNeed(need.id)"> <span class="icon">delete</span>Remove from Basket </button> @@ -12,7 +12,12 @@ <br> <div id="footer"> <button class="button2" title="checkout" (click)="checkout()">Checkout</button> - <span id="running-total">Your current running total is: ${{runningTotal | async}}</span> + <div id="totals"> + <ul> + <li id="running-total">Your current running total is: ${{runningTotal | async}}</li> + <li id="physicalNeeds" *ngFor="let need of physicalTotal">{{need}}</li> + </ul> + </div> </div> </ng-template> <div *ngIf="!usersService.getBasket().getValue().length"> |