feat: add additional info to preview
This commit is contained in:
parent
5a8e17f236
commit
859c6b7961
3 changed files with 16 additions and 4 deletions
|
|
@ -619,7 +619,12 @@ async function searchEmployee(text: string) {
|
|||
function storeDataLocal() {
|
||||
localStorage.setItem(
|
||||
'quotation-preview',
|
||||
JSON.stringify(quotationFormData.value),
|
||||
JSON.stringify({
|
||||
data: quotationFormData.value,
|
||||
meta: {
|
||||
createdBy: quotationFormState.value.createdBy('tha'),
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
window.open('/quotation/document-view', '_blank');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue