Adds comprehensive service detail views and localization

Implements new service detail tabs for prices, duration, and rules

Extends localization support for Danish and English translations
Adds dynamic view components for managing service-specific configurations
Introduces flexible pricing, duration, and booking rule management

Enhances service management with granular configuration options
This commit is contained in:
Janus C. H. Knudsen 2026-01-17 01:21:00 +01:00
parent e9f3639c7c
commit 5e3811347c
11 changed files with 1018 additions and 13 deletions

View file

@ -44,19 +44,13 @@
<swp-tab-content data-tab="prices">
<swp-page-container>
<swp-card>
<swp-section-label>Priser</swp-section-label>
<p style="color: var(--color-text-secondary);">Priser-tab kommer snart...</p>
</swp-card>
@await Component.InvokeAsync("ServiceDetailPrices", Model.ServiceKey)
</swp-page-container>
</swp-tab-content>
<swp-tab-content data-tab="duration">
<swp-page-container>
<swp-card>
<swp-section-label>Varighed</swp-section-label>
<p style="color: var(--color-text-secondary);">Varighed-tab kommer snart...</p>
</swp-card>
@await Component.InvokeAsync("ServiceDetailDuration", Model.ServiceKey)
</swp-page-container>
</swp-tab-content>
@ -80,10 +74,7 @@
<swp-tab-content data-tab="rules">
<swp-page-container>
<swp-card>
<swp-section-label>Regler</swp-section-label>
<p style="color: var(--color-text-secondary);">Regler-tab kommer snart...</p>
</swp-card>
@await Component.InvokeAsync("ServiceDetailRules", Model.ServiceKey)
</swp-page-container>
</swp-tab-content>
</swp-service-detail-view>