diff --git a/apps/taktik/apps/web/src/lib/components/ConfirmDialog.svelte b/apps/taktik/apps/web/src/lib/components/ConfirmDialog.svelte new file mode 100644 index 000000000..b806cb27d --- /dev/null +++ b/apps/taktik/apps/web/src/lib/components/ConfirmDialog.svelte @@ -0,0 +1,56 @@ + + +{#if visible} +
{message}
+ {/if} +Kunde nicht gefunden.
+ {$_('common.back')} ++ {#if client.shortCode}{client.shortCode} · + {/if} + {#if client.email}{client.email} · + {/if} + {#if client.billingRate} + {client.billingRate.amount} {client.billingRate.currency}/h + {/if} +
+{$_('report.totalHours')}
++ {formatDurationDecimal(totalDuration)}h +
+{$_('report.billableHours')}
++ {formatDurationDecimal(billableDuration)}h +
+{$_('nav.projects')}
+{clientProjects.length}
+Wert
++ {billingValue()!.toFixed(0)} + {client.billingRate!.currency} +
+{proj.name}
+ {#if proj.isBillable} + {$_('project.billable')} + {/if} +Projekt nicht gefunden.
+ {$_('common.back')} ++ {client?.name || $_('project.internal')} + {#if project.isBillable} + + {$_('project.billable')} + + {/if} + {#if project.isArchived} + + {$_('project.archived')} + + {/if} +
+{$_('report.totalHours')}
++ {formatDurationDecimal(totalDuration)}h +
+{$_('report.billableHours')}
++ {formatDurationDecimal(billableDuration)}h +
+{$_('project.budget')}
++ {budgetHoursUsed.toFixed(1)} / {budgetHoursTotal}h +
+{$_('nav.entries')}
+{projectEntries.length}
++ {project.billingRate.amount} + {project.billingRate.currency}/h · Wert: {( + (billableDuration / 3600) * + project.billingRate.amount + ).toFixed(0)} + {project.billingRate.currency} +
+ {/if} +