diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index 89d4e1b7..2c297893 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -86,6 +86,7 @@ import PaymentForm from './PaymentForm.vue'; import { api } from 'src/boot/axios'; import { RouterLink, useRoute } from 'vue-router'; import { initLang, initTheme } from 'src/utils/ui'; +import { convertTemplate } from 'src/utils/string-template'; type Node = { [key: string]: any; @@ -962,6 +963,7 @@ function storeDataLocal() { workName: quotationFormData.value.workName, dueDate: quotationFormData.value.dueDate, }, + selectedWorker: selectedWorker.value, createdBy: quotationFormState.value.createdBy('tha'), }, }), @@ -1525,8 +1527,25 @@ async function getWorkerFromCriteria(
-
+
diff --git a/src/stores/quotations/types.ts b/src/stores/quotations/types.ts index 261133b6..788fee66 100644 --- a/src/stores/quotations/types.ts +++ b/src/stores/quotations/types.ts @@ -432,6 +432,7 @@ export type Details = { contactTel: string; workName: string; dueDate: Date; + worker: EmployeeWorker[]; }; export type PaymentPayload = {