feat(web): columna Indicador también en las listas de notas de crédito

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GeorgeandClaude Sonnet 5.5 committed 2026-10-19 14:25:28 -05:00
1 parent 4cef62dc1a
commit 1bb8efa77e
3 files changed
+8 -5

No files matched your search

@@ -79,6 +79,9 @@ export const referenceColumns: readonly ListColumn[] = [
{ key: 'FederalTaxID', title: 'RUT', width: '110px', mono: true, searchable: true },
];
/** Indicador del documento (tipo de documento tributario: 33 factura, 39 boleta). */
export const indicatorColumn: ListColumn = { key: 'Indicator', title: 'Indicador', width: '90px', mono: true, searchable: true };
/** Facturas: folio tributario (en el Service Layer `FolioPrefixString` y `FolioNumber`), indicador (tipo de documento: 33 factura, 39 boleta), referencia y RUT. */
export const invoiceColumns: readonly ListColumn[] = [
{ key: 'FolioPrefixString', title: 'Folio pref.', width: '90px', mono: true, searchable: true },
@@ -92,7 +95,7 @@ export const invoiceColumns: readonly ListColumn[] = [
searchable: true,
format: (r) => String(r['FolioNumber'] ?? ''),
},
{ key: 'Indicator', title: 'Indicador', width: '90px', mono: true, searchable: true },
indicatorColumn,
...referenceColumns,
];