Renames danish to english

This commit is contained in:
Janus C. H. Knudsen 2026-01-11 21:42:24 +01:00
parent 754681059d
commit 5e0bd9db74
29 changed files with 405 additions and 438 deletions

View file

@ -0,0 +1,15 @@
using Microsoft.AspNetCore.Mvc;
namespace PlanTempus.Application.Features.CashRegister.Components;
/// <summary>
/// ViewComponent for the approval section.
/// Handles status, approver selection, and confirmation checkbox.
/// </summary>
public class CashApprovalViewComponent : ViewComponent
{
public IViewComponentResult Invoke()
{
return View();
}
}

View file

@ -0,0 +1,38 @@
<swp-card>
<swp-card-header>
<swp-card-title>Afslut dagen</swp-card-title>
</swp-card-header>
<swp-card-content>
<swp-approval-grid>
<swp-form-field>
<swp-form-label>Status</swp-form-label>
<swp-status-row>
<swp-status-badge class="draft">Kladde</swp-status-badge>
</swp-status-row>
</swp-form-field>
<swp-form-field>
<swp-form-label>Godkendt af (valgfrit)</swp-form-label>
<swp-form-input>
<select id="approver">
<option value="">Vælg...</option>
<option>Karina Knudsen</option>
<option>Butikschef</option>
</select>
</swp-form-input>
</swp-form-field>
<swp-checkbox-field>
<input type="checkbox" id="confirmCheckbox" />
<label for="confirmCheckbox">Jeg bekræfter, at kassen er talt op, og at tallene er indtastet efter bedste evne.</label>
</swp-checkbox-field>
</swp-approval-grid>
</swp-card-content>
<swp-card-footer>
<swp-btn class="secondary">Gem som kladde</swp-btn>
<swp-actions-right>
<swp-btn class="ghost">Fortryd</swp-btn>
<swp-btn class="primary" id="approveBtn" disabled>Godkend & lås</swp-btn>
</swp-actions-right>
</swp-card-footer>
</swp-card>