diff --git a/src/app/features/quotes/pages/quote-list/quote-list.component.ts b/src/app/features/quotes/pages/quote-list/quote-list.component.ts index 57eafcaf..969e7715 100644 --- a/src/app/features/quotes/pages/quote-list/quote-list.component.ts +++ b/src/app/features/quotes/pages/quote-list/quote-list.component.ts @@ -284,6 +284,19 @@ import { LoginInfo } from 'src/app/models/interfaces'; [attr.d]="isQuoteCancelled(quote) ? 'M6 18L18 6M6 6l12 12' : 'M5 13l4 4L19 7'" /> + + + @@ -848,6 +861,13 @@ export class QuoteListComponent implements OnInit { }); } + createOffer(quote: Quote) { + // we send the current quote ID to open the proper from + this.router.navigate(['/my-offerings'], { state: { + quoteId: quote.id + } }); + } + // Utility methods (migrated from QuoteRow.js) extractShortId(id: string | undefined): string { if (!id) return 'N/A'; diff --git a/src/app/pages/seller-offerings/seller-offerings.component.html b/src/app/pages/seller-offerings/seller-offerings.component.html index dd3903a4..d8af67da 100644 --- a/src/app/pages/seller-offerings/seller-offerings.component.html +++ b/src/app/pages/seller-offerings/seller-offerings.component.html @@ -107,7 +107,7 @@