diff --git a/src/stores/quotations/index.ts b/src/stores/quotations/index.ts index f0e34867..e6146b1f 100644 --- a/src/stores/quotations/index.ts +++ b/src/stores/quotations/index.ts @@ -80,6 +80,7 @@ export const useQuotationStore = defineStore('quotation-store', () => { productId: v.product.id, workId: v.work?.id, serviceId: v.service?.id, + installmentNo: v.installmentNo, workerIndex: v.workerIndex, })), }); @@ -148,7 +149,8 @@ export const useQuotationStore = defineStore('quotation-store', () => { export const useQuotationPayment = defineStore('quotation-payment', () => { async function getQuotationPayment(quotationId: string) { const res = await api.get>( - `/payment/${quotationId}`, + `/payment`, + { params: { quotationId } }, ); if (res.status < 400) { return res.data;