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 | 1x | @if (selectedQuote$ | async; as quote) {
@if (state$ | async; as state) {
<!-- Title -->
<h1>
@switch (true) {
@case (state === 'Submitted' && (justSubmitted$ | async)) {
{{ 'quote.edit.submitted.heading' | translate }}
}
@case (state === 'Responded') {
{{ 'quote.edit.responded.quote_details.text' | translate }} - {{ quote.displayName || quote.number }}
}
@default {
{{ 'quote.edit.unsubmitted.quote_request_details.text' | translate }} -
{{ quote.displayName || quote.number }}
}
}
</h1>
<ish-error-message [error]="error$ | async" />
@if (state === 'New') {
<ish-quote-edit />
} @else {
<ish-quote-view />
}
<ish-quote-interactions />
<a class="d-block mt-3" [routerLink]="['/account/quotes']">{{ 'quote.edit.back_to_quotes.link' | translate }}</a>
}
}
@if (loading$ | async) {
<ish-loading />
}
|