@if (CurrRecord == null || !dataLoaded) { } else {
@CurrRecord.Nome
@if (hasRow(1)) {
@foreach (var item in rowValues(1)) {
@item.TagName: @currVal(item.TagLocation)
}
} else {
Art
@if (showArt == "CodArticolo") { @CurrRecord.CodArticolo } else { if (string.IsNullOrEmpty(CurrRecord.Disegno)) { [@CurrRecord.CodArticolo] } else { @CurrRecord.Disegno } }
} @if (hasRow(2)) {
@foreach (var item in rowValues(2)) {
@item.TagName: @currVal(item.TagLocation)
}
} else {
PODL
@(CurrRecord.IdxPOdl > 0 ? $"{CurrRecord.IdxPOdl:00000000}" : "-")
ODL
@(CurrRecord.IdxOdl > 0 ? $"{CurrRecord.IdxOdl:00000000}" : "-")
} @if (hasRow(3)) {
@foreach (var item in rowValues(3)) {
@item.TagName: @currVal(item.TagLocation)
}
} else {
@CurrRecord.DescrizioneStato
@getMinSec(getDecimal(@CurrRecord.Durata))
} @if (hasRow(4)) {
@foreach (var item in rowValues(4)) {
@item.TagName: @currVal(item.TagLocation)
}
} else {
TC. Act
@*
std @getMinSec(@CurrRecord.TCAssegnato)
*@
@getMinSec(@CurrRecord.TCLavRT) [@getMinSec(@CurrRecord.TCAssegnato)]
} @if (hasRow(5)) {
@foreach (var item in rowValues(5)) {
@item.TagName: @currVal(item.TagLocation)
}
} else {
Pezzip/o
@CurrRecord.PezziProd / @CurrRecord.NumPezzi
} @if (hasRow(6)) {
@foreach (var item in rowValues(6)) {
@item.TagName: @currVal(item.TagLocation)
}
}
}