diff options
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 | 11 | 
1 files changed, 8 insertions, 3 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..fa17b10 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,16 +3,21 @@          <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>              </ng-template> -            <app-need-list [uid]="1" [actionArea]="NLActions" [needs]="(usersService.getBasket() | async)!"/> +            <app-need-list [itemsPerPage]="Infinity" [uid]="1" [actionArea]="NLActions" [needs]="(usersService.getBasket() | async)!"/>              <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"> | 
