Adds Kasse (Cash Register) module and related components
Introduces comprehensive cash management functionality with multiple view components for tracking daily transactions, filtering, and reconciliation Implements: - Cash calculation and difference tracking - Dynamic tab switching - Checkbox selection and row expansion - Date filtering and approval mechanisms
This commit is contained in:
parent
12869e35bf
commit
754681059d
31 changed files with 2904 additions and 28 deletions
|
|
@ -0,0 +1,39 @@
|
|||
<swp-card>
|
||||
<swp-card-header>
|
||||
<swp-card-title>Periodens omsætning</swp-card-title>
|
||||
<swp-card-action>Systemtal vs. kontrol</swp-card-action>
|
||||
</swp-card-header>
|
||||
<swp-card-content>
|
||||
<swp-data-table>
|
||||
<swp-data-header>
|
||||
<span>Type</span>
|
||||
<span>System</span>
|
||||
<span>Kontrol</span>
|
||||
</swp-data-header>
|
||||
|
||||
<swp-data-row>
|
||||
<swp-data-label>Kortbetalinger</swp-data-label>
|
||||
<swp-data-system>12.875,50</swp-data-system>
|
||||
<swp-data-input>
|
||||
<input type="text" placeholder="Valgfrit" />
|
||||
</swp-data-input>
|
||||
</swp-data-row>
|
||||
|
||||
<swp-data-row>
|
||||
<swp-data-label>MobilePay / Online</swp-data-label>
|
||||
<swp-data-system>2.450,00</swp-data-system>
|
||||
<swp-data-input>
|
||||
<input type="text" placeholder="Valgfrit" />
|
||||
</swp-data-input>
|
||||
</swp-data-row>
|
||||
|
||||
<swp-data-row>
|
||||
<swp-data-label>Kontantsalg</swp-data-label>
|
||||
<swp-data-system>3.540,00</swp-data-system>
|
||||
<swp-data-value class="muted">..</swp-data-value>
|
||||
</swp-data-row>
|
||||
</swp-data-table>
|
||||
|
||||
<swp-table-note>Kort og MobilePay afstemmes mod bank/indløser. Kontanter tælles op nedenfor.</swp-table-note>
|
||||
</swp-card-content>
|
||||
</swp-card>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace PlanTempus.Application.Features.Kasse.Components;
|
||||
|
||||
/// <summary>
|
||||
/// ViewComponent for displaying today's payment figures.
|
||||
/// Shows system values vs. optional control values for different payment types.
|
||||
/// </summary>
|
||||
public class KasseDagensTalViewComponent : ViewComponent
|
||||
{
|
||||
public IViewComponentResult Invoke()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue