Iniziata implementazione form rilevazione

This commit is contained in:
2026-02-13 17:28:48 +01:00
parent 06cc41ef8b
commit 69f2dee309
23 changed files with 712 additions and 18 deletions

View File

@@ -1,13 +1,14 @@
@using SteUp.Shared.Core.Dto
@using SteUp.Shared.Core.Dto.PageState
<div class="shop-card ripple-container">
<div class="shop-card ripple-container" @onclick="StartInspection">
<div class="shop-body-section">
<div class="title-section">
<MudText Class="shop-title" Typo="Typo.subtitle1">
<b>@PuntoVendita.CodMdep</b> - @PuntoVendita.Descrizione
</MudText>
</div>
@if (!PuntoVendita.Indirizzo.IsNullOrEmpty())
{
<div class="subtitle-section">
@@ -32,4 +33,16 @@
@code {
[Parameter] public PuntoVenditaDto PuntoVendita { get; set; } = null!;
private void StartInspection()
{
SteupDataService.Inspection = new InspectionPageState
{
DateInspection = DateTime.Today,
PuntoVendita = PuntoVendita
};
NavigationManager.NavigateTo("/ispezione");
}
}

View File

@@ -2,9 +2,4 @@
padding: .5rem 1rem;
background-color: var(--mud-palette-background-gray);
border-radius: 1em;
}
.sub-info-section{
display: flex;
justify-content: space-evenly;
}