feat(web): alineación configurable (align) de las columnas del detalle de los documentos

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GeorgeandClaude Sonnet 5.5 committed 2026-10-16 11:23:44 -05:00
1 parent f25037f651
commit 8a38bd0502
5 files changed
+36 -8

No files matched your search

+3 -2
View File
@@ -15,7 +15,7 @@
<tr>
<th class="rn">#</th>
@for (c of columns(); track c.key) {
<th sboColResize [style.width]="c.width" [class.num]="c.type === 'number'" [class.req]="c.required">{{ c.title }}</th>
<th sboColResize [style.width]="c.width" [style.text-align]="alignOf(c)" [class.req]="c.required">{{ c.title }}</th>
}
@if (!readonly()) {
<th class="del"><span class="sr">Quitar</span></th>
@@ -35,6 +35,7 @@
type="text"
autocomplete="off"
[class.mono]="c.mono"
[style.text-align]="alignOf(c)"
[attr.data-r]="i"
[attr.data-c]="j"
[attr.aria-label]="c.title + ' de la línea ' + (i + 1)"
@@ -49,7 +50,7 @@
class="cell"
type="text"
autocomplete="off"
[class.num]="c.type === 'number'"
[style.text-align]="alignOf(c)"
[class.mono]="c.mono"
[readOnly]="isReadonly(line, c)"
[attr.data-r]="i"