35 lines
935 B
Plaintext
35 lines
935 B
Plaintext
@using GPW.CORE.Data.DbModels
|
|
@using GPW.CORE6.Smart.Data
|
|
|
|
@if (ListRA != null)
|
|
{
|
|
@*int lastIdxRa = 0;*@
|
|
@foreach (var item in ListRA)
|
|
{
|
|
@*lastIdxRa = item.IdxRa;*@
|
|
if (item.IdxRa == 0)
|
|
{
|
|
@if (hasClonedRa)
|
|
{
|
|
<button class="btn btn-warning btn-sm w-75 mt-2" @onclick="() => DoPaste(item)">
|
|
<i class="fa-regular fa-clipboard"></i>
|
|
</button>
|
|
}
|
|
else
|
|
{
|
|
<button class="btn btn-success btn-sm w-50 mt-2" @onclick="() => DoSel(item)">
|
|
<i class="fa-solid fa-calendar-plus"></i>
|
|
</button>
|
|
}
|
|
}
|
|
else
|
|
{
|
|
<div class="pt-2 px-0">
|
|
<SingleRaDisplay EnableAction="true" CurrItem="@item" ItemCloned="DoClone" ItemSelected="DoSel"></SingleRaDisplay>
|
|
</div>
|
|
}
|
|
}
|
|
}
|
|
|
|
|