@if (Row is not null && Verification is not null)
{
@if (Verification.Force == ItemVerification.VerificationForce.Optionnal)
{
Cet item est une indication, il ne relève ni d'une recommandation, ni d'une obligation.
}
else if (Verification.Force == ItemVerification.VerificationForce.Recommandation)
{
Cet item relève de la recommandation, il relève des recommandations opposables.
}
else if (Verification.Force == ItemVerification.VerificationForce.Mandatory)
{
Cet item doit obligatoirement être suivi, car il fait l'objet d'un référentiel opposable.
}
@Row.Item.Label
Statut
@if(String.IsNullOrEmpty(Row.Item.Description))
{
Description
@Row.Item.Description
}
Références
@Row.Item.References
Commentaires
Historique des modifications
}
else
{
}
@code {
[Parameter]
public Shared.InspectionRow? Row { get; set; }
public Shared.ItemVerification? Verification { get {
if (Row == null)
return null;
return (Shared.ItemVerification)Row.Item ?? null;
} }
[Parameter]
public Action RowChanged { get; set; } = (Shared.InspectionRow r) => { };
}