Adds suppliers feature to application
Introduces comprehensive suppliers management with mock data, localization, and UI components Implements: - Suppliers page with data table - Localization for Danish and English - Search and filtering functionality - Responsive table design - Mock data for initial population
This commit is contained in:
parent
7aaa475a14
commit
dc2bab5702
16 changed files with 622 additions and 8 deletions
39
PlanTempus.Application/Features/Suppliers/Pages/Index.cshtml
Normal file
39
PlanTempus.Application/Features/Suppliers/Pages/Index.cshtml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
@page "/leverandoerer"
|
||||
@model PlanTempus.Application.Features.Suppliers.Pages.IndexModel
|
||||
@{
|
||||
ViewData["Title"] = "Leverandører";
|
||||
}
|
||||
|
||||
<swp-sticky-header>
|
||||
<swp-header-content>
|
||||
<swp-page-header>
|
||||
<swp-page-title>
|
||||
<h1 localize="suppliers.title">Leverandører</h1>
|
||||
<p localize="suppliers.subtitle">Administrer leverandører og indkøb</p>
|
||||
</swp-page-title>
|
||||
</swp-page-header>
|
||||
|
||||
<swp-stats-row class="cols-4">
|
||||
<swp-stat-card class="highlight">
|
||||
<swp-stat-value>12</swp-stat-value>
|
||||
<swp-stat-label localize="suppliers.stats.total">Leverandører i alt</swp-stat-label>
|
||||
</swp-stat-card>
|
||||
<swp-stat-card>
|
||||
<swp-stat-value>10</swp-stat-value>
|
||||
<swp-stat-label localize="suppliers.stats.active">Aktive</swp-stat-label>
|
||||
</swp-stat-card>
|
||||
<swp-stat-card>
|
||||
<swp-stat-value>45.230 kr</swp-stat-value>
|
||||
<swp-stat-label localize="suppliers.stats.purchasesThisMonth">Indkøb denne måned</swp-stat-label>
|
||||
</swp-stat-card>
|
||||
<swp-stat-card class="warning">
|
||||
<swp-stat-value>3</swp-stat-value>
|
||||
<swp-stat-label localize="suppliers.stats.pendingOrders">Afventende ordrer</swp-stat-label>
|
||||
</swp-stat-card>
|
||||
</swp-stats-row>
|
||||
</swp-header-content>
|
||||
</swp-sticky-header>
|
||||
|
||||
<swp-page-container>
|
||||
@await Component.InvokeAsync("SupplierTable")
|
||||
</swp-page-container>
|
||||
Loading…
Add table
Add a link
Reference in a new issue