accept string and date in toLocalDate() util
This commit is contained in:
@@ -205,7 +205,7 @@ const cancelChanges = (event: Event | null) => {
|
||||
isOpen.value = false
|
||||
},
|
||||
onCancel: () => {
|
||||
if(!event) return
|
||||
if (!event) return
|
||||
event.preventDefault()
|
||||
event.returnValue = true
|
||||
}
|
||||
@@ -293,7 +293,10 @@ const updateTotalAmount = () => {
|
||||
@escapeKeyDown="cancelChanges" @interactOutside="cancelChanges">
|
||||
|
||||
<DialogHeader class="px-3 pt-3 flex flex-row justify-end">
|
||||
<DialogTitle class="sr-only">Rechnung</DialogTitle>
|
||||
<DialogTitle class="sr-only">Rechnung {{ invoice?.nr }}</DialogTitle>
|
||||
<DialogDescription>
|
||||
{{ invoice?.title }}
|
||||
</DialogDescription>
|
||||
|
||||
<div v-if="invoice && invoice.id > 0" class="hidden md:flex mr-4">
|
||||
<Button :size="'sm'" :variant="'ghost'" @click="preview">
|
||||
|
||||
Reference in New Issue
Block a user