@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:000000}" : "-")
ODL:
@(CurrRecord.IdxOdl > 0 ? $"{CurrRecord.IdxOdl:000000}" : "-")
} @if (showTC) { @if (hasRow(3)) {
@foreach (var item in rowValues(4)) {
@item.TagName: @currVal(item.TagLocation)
}
} else {
TC. Act
@getMinSec(@CurrRecord.TCLavRT) [@getMinSec(@CurrRecord.TCAssegnato)]
} }
@if (hasRow(4)) {
@foreach (var item in rowValues(3)) {
@item.TagName: @currVal(item.TagLocation)
}
} else {
@CurrRecord.DescrizioneStato
@getMinSec(getDecimal(@CurrRecord.Durata))
} @if (hasRow(5)) {
@foreach (var item in rowValues(5)) {
@item.TagName: @currVal(item.TagLocation)
}
} else {
@CurrRecord.PezziProd / @CurrRecord.NumPezzi
}
}