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 | 3x | @if (quote$ | async; as quote) { @if (state$ | async; as state) { @if (quote.items?.length) {
<div class="clearfix">
@if (state === 'New') {
<button data-testing-id="submit-quote-request" type="submit" class="btn btn-primary float-end" (click)="submit()">
{{ 'quote.edit.button.submit.label' | translate }}
</button>
} @if (state === 'Responded' && (isQuoteValid$ | async)) {
<button type="submit" class="btn btn-primary float-end" name="add2cart" (click)="addToBasket()">
{{ 'quote.edit.button.add_quote_to_cart.label' | translate }}
</button>
} @if (quote.type === 'Quote' || state === 'Submitted') {
<button 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>
} @if (state === 'Responded') {
<button type="submit" id="button-reject" class="btn btn-secondary float-end" name="refuse" (click)="reject()">
{{ 'quote.edit.reject.button.reject.label' | translate }}
</button>
}
</div>
} } }
|