@page "/inspection"
@inject Trip TripManager;
@if(Inspection is not null)
{
@Inspection.Name
@foreach(var item in Inspection.Grid.GetItems())
{
}
}
else
{
}
@code
{
public Inspection? Inspection = null;
public string? Filter {get; set;} = "";
class ViewModel
{
public bool Mandatory { get; set; } = true;
public string Reference { get; set; } = "v0a:PECM.1.1.1.0c";
public string Label { get; set; } = "La structure DEVRAIT avoir défini un plan d'action pour améliorer la PCEM";
}
protected override async Task OnInitializedAsync()
{
await base.OnInitializedAsync();
Inspection = TripManager.Current;
}
}