Files
2023-05-18 15:58:06 +02:00

27 lines
1.1 KiB
Plaintext

<div class="containerAll row text-light" style="background-color: #031926;">
@if (currListOrderStatus != null)
{
@foreach (var item in currListOrderStatus)
{
<div class="col px-0">
@if (int.Parse(item.Value) == CurrOrderStatus)
{
<StepArrow ObjId="@int.Parse(item.Value)" StepText="@item.Label" BlockStyle="@($"fill:{item.DefaultVal};")" ObjW="650" ObjH="100"></StepArrow>
}
else
{
@if (int.Parse(item.Value) < CurrOrderStatus)
{
<StepArrow ObjId="@int.Parse(item.Value)" StepText="@($"{item.Label} ✓")" BlockStyle="@($"fill:{item.DefaultVal};")" ObjW="650" ObjH="100"></StepArrow>
}
else
{
<StepArrow ObjId="@int.Parse(item.Value)" StepText="@item.Label" BlockStyle="@($"fill:transparent;")" ObjW="650" ObjH="100"></StepArrow>
}
}
</div>
}
}
</div>