diff --git a/components/EntityShow.vue b/components/EntityShow.vue index e82495d..012e800 100644 --- a/components/EntityShow.vue +++ b/components/EntityShow.vue @@ -109,6 +109,10 @@ const changeActivePhase = async (key) => { }) } +const invoiceDeliveryNotes = () => { + router.push(`/createDocument/edit?type=invoices&linkedDocuments=[${props.item.createddocuments.filter(i => i.type === "deliveryNotes").map(i => i.id)}]`) +} +