Show invoice buttons depending of payment status. Fixes #54

This commit is contained in:
2025-11-14 11:55:41 +01:00
parent 9a84d36d68
commit 5cb0f97f8b
8 changed files with 356 additions and 241 deletions
@@ -26,7 +26,7 @@ watch(() => props.open,
</script>
<template>
<Dialog v-bind="forwarded" :open="open">
<Dialog v-bind="forwarded" :open="open" data-slot="send-mail-dialog">
<DialogContent class="sm:max-w-[425px]">
<DialogHeader>
<DialogTitle>{{ props.title }}</DialogTitle>
@@ -57,9 +57,9 @@ watch(() => props.open,
</Dialog>
</template>
<style>
<style scoped>
/* Remove close X */
[data-slot=dialog-content] button.ring-offset-background {
[data-slot=send-mail-dialog] [data-slot=dialog-content] button.ring-offset-background {
display: none;
}
</style>