Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | 3x | <ng-container *ngIf="quote$ | async as quote"> <ng-container *ngIf="state$ | async as state"> <div *ngIf="quote.items" class="clearfix"> <button *ngIf="state === 'New'" data-testing-id="submit-quote-request" type="submit" class="btn btn-primary float-right" [disabled]="quote.items.length === 0" (click)="submit()" > {{ 'quote.edit.button.submit.label' | translate }} </button> <button *ngIf="state === 'Responded' && (isQuoteValid$ | async)" type="submit" class="btn btn-primary float-right" name="add2cart" (click)="addToBasket()" > {{ 'quote.edit.button.add_quote_to_cart.label' | translate }} </button> <button *ngIf="quote.type === 'Quote' || state === 'Submitted'" data-testing-id="copy-quote-request" class="btn btn-secondary" name="copy" type="submit" (click)="copy()" > {{ 'quote.edit.button.create_new_from_quote.label' | translate }} </button> <button *ngIf="state === 'Responded'" type="submit" id="button-reject" class="btn btn-secondary float-right" name="refuse" (click)="reject()" > {{ 'quote.edit.reject.button.reject.label' | translate }} </button> </div> </ng-container> </ng-container> |