{{ lines().length }} {{ lines().length === 1 ? 'línea' : 'líneas' }} @if (!readonly()) { @if (multiAdd(); as m) { } }
@for (c of columns(); track c.key; let j = $index) { @if (hasDetails() && j === detailAt()) { } } @if (!readonly()) { } @for (line of lines(); track $index; let i = $index) { @for (c of columns(); track c.key; let j = $index) { @if (hasDetails() && j === detailAt()) { } } @if (!readonly()) { } } @empty { }
#{{ c.title }}@if (names.show()) { {{ c.key }} }Lotes / SeriesQuitar
{{ i + 1 }} @if (c.lookup && !isReadonly(line, c)) {
} @else { }
@for (d of detailsOf(line); track d.key) { }
{{ readonly() ? 'El documento no tiene líneas.' : 'No hay líneas. Pulse «Añadir línea» para comenzar.' }}
@if (detailTarget(); as t) { } @if (lookup(); as cfg) { } @if (multiOpen(); as _) { @if (multiAdd(); as m) { } }