deleted notifs components
This commit is contained in:
@@ -60,7 +60,7 @@ export class QuotationTable implements OnInit {
|
||||
this.quotationsLoading.set(false)
|
||||
}
|
||||
|
||||
async delete(quotation:number) {
|
||||
async delete(quotation: number) {
|
||||
this.quotationsLoading.set(true)
|
||||
try {
|
||||
await firstValueFrom(this.quotationsService.deleteQuotationEndpoint(quotation))
|
||||
@@ -78,7 +78,7 @@ export class QuotationTable implements OnInit {
|
||||
await this.fetchQuotations();
|
||||
}
|
||||
|
||||
async export(quotationId: number){
|
||||
async export(quotationId: number) {
|
||||
this.quotationsLoading.set(true)
|
||||
try {
|
||||
const pdf = await firstValueFrom(
|
||||
@@ -149,8 +149,9 @@ export class QuotationTable implements OnInit {
|
||||
}
|
||||
|
||||
selectedQuotation: GetQuotationDto | null = null;
|
||||
|
||||
openEditModal(quotation: GetQuotationDto) {
|
||||
this.selectedQuotation = { ...quotation };
|
||||
this.selectedQuotation = {...quotation};
|
||||
this.modal().showModal();
|
||||
}
|
||||
|
||||
@@ -168,8 +169,9 @@ export class QuotationTable implements OnInit {
|
||||
}
|
||||
|
||||
selectedQuantity: GetQuotationProductDto | null = null;
|
||||
|
||||
openEditQuantityModal(quantity: GetQuotationProductDto) {
|
||||
this.selectedQuantity = { ...quantity };
|
||||
this.selectedQuantity = {...quantity};
|
||||
this.modalQuantity().showModal();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user