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,12 @@
|
|||
<swp-card>
|
||||
<swp-card-header>
|
||||
<swp-card-title>Note til difference</swp-card-title>
|
||||
<swp-card-action>Valgfrit</swp-card-action>
|
||||
</swp-card-header>
|
||||
<swp-card-content>
|
||||
<swp-note-field>
|
||||
<textarea placeholder="Fx kassedifference, fejlslag, runding osv."></textarea>
|
||||
</swp-note-field>
|
||||
<swp-note-hint>Kan gøres obligatorisk ved difference over 100 kr.</swp-note-hint>
|
||||
</swp-card-content>
|
||||
</swp-card>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace PlanTempus.Application.Features.Kasse.Components;
|
||||
|
||||
/// <summary>
|
||||
/// ViewComponent for the note field.
|
||||
/// Optional field for explaining cash differences.
|
||||
/// </summary>
|
||||
public class KasseNoteViewComponent : ViewComponent
|
||||
{
|
||||
public IViewComponentResult Invoke()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue