Changes in Timetracking

Added Lieferscheine Button to EntityShow
DataType Changes
Fixed Loading Errors in createDocument
Added Telephone to profile show
This commit is contained in:
2025-01-02 14:04:55 +01:00
parent 595531683b
commit b877d5f91b
6 changed files with 89 additions and 37 deletions

View File

@@ -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)}]`)
}
</script>
<template>
@@ -410,6 +414,12 @@ const changeActivePhase = async (key) => {
>
+ Rechnung
</UButton>
<UButton
@click="invoiceDeliveryNotes"
v-if="type === 'projects'"
>
Lieferscheine abrechnen
</UButton>
</Toolbar>
<UTable