84 lines
3.7 KiB
Plaintext
84 lines
3.7 KiB
Plaintext
@if (CurrRecord == null || !dataLoaded)
|
|
{
|
|
<LoadingDataSmall></LoadingDataSmall>
|
|
}
|
|
else
|
|
{
|
|
<div class="card mb-3 border border-dark rounded rounded-3 shadow">
|
|
<div class="card-body @cssStatus(CurrRecord.Semaforo) bg-gradient text-white p-1">
|
|
<div class="card-title text-uppercase text-center fs-4 mb-0">@CurrRecord.Nome</div>
|
|
<div class="bg-light bg-gradient text-dark px-1 rounded shadow small lh-sm py-1">
|
|
<div class="card-text d-flex justify-content-between small">
|
|
<div class="px-1">
|
|
ART:
|
|
</div>
|
|
<div class="px-1">
|
|
@if (showArt == "CodArticolo")
|
|
{
|
|
<span>@CurrRecord.CodArticolo</span>
|
|
}
|
|
else
|
|
{
|
|
if (string.IsNullOrEmpty(CurrRecord.Disegno))
|
|
{
|
|
<span>[@CurrRecord.CodArticolo]</span>
|
|
}
|
|
else
|
|
{
|
|
<span>@CurrRecord.Disegno</span>
|
|
}
|
|
}
|
|
</div>
|
|
</div>
|
|
<div class="card-text d-flex justify-content-between small">
|
|
<div class="px-1">
|
|
PODL:
|
|
</div>
|
|
<div class="px-1">
|
|
@(CurrRecord.IdxPOdl > 0 ? $"{CurrRecord.IdxPOdl:00000000}" : "-")
|
|
</div>
|
|
</div>
|
|
<div class="card-text d-flex justify-content-between small">
|
|
<div class="px-1">
|
|
ODL:
|
|
</div>
|
|
<div class="px-1">
|
|
@(CurrRecord.IdxOdl > 0 ? $"{CurrRecord.IdxOdl:00000000}" : "-")
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-text text-light bg-dark bg-gradient rounded py-1 shadow my-1">
|
|
<div class=" d-flex justify-content-between text-warning small">
|
|
<div class="px-1 text-uppercase">@CurrRecord.DescrizioneStato</div>
|
|
<div class="px-1">@getMinSec(getDecimal(@CurrRecord.Durata))</div>
|
|
</div>
|
|
<div class="d-flex justify-content-around fs-5">
|
|
<div class="px-1">
|
|
@CurrRecord.PezziProd / @CurrRecord.NumPezzi
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@* <div class="shadow bg-light rounded p-1">
|
|
<div class="progress bg-secondary " role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100" style="height: 10px">
|
|
<div class="progress-bar progress-bar-striped progress-bar-animated bg-success" style="width: 50%"></div>
|
|
<div class="progress-bar progress-bar-striped progress-bar-animated bg-warning" style="width: 25%"></div>
|
|
</div>
|
|
</div> *@
|
|
</div>
|
|
<div class="card-footer p-0 text-opacity-50 small" style="font-size: 0.7rem;">
|
|
<div class="d-flex justify-content-between @cssComStatus(CurrRecord.Semaforo, CurrRecord.LastUpdate)">
|
|
@if (showComErr(CurrRecord.LastUpdate))
|
|
{
|
|
<div class="px-1 text-warning">
|
|
<b>C.101</b>
|
|
</div>
|
|
}
|
|
<div class="px-1 text-end text-light">
|
|
@CurrRecord.LastUpdate
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
|