feat: módulo Finanzas (plan de cuentas y asientos contables con cancelación)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c9d1a714c9
commit
8bbd05d07b
23 files changed
+708
-29
No files matched your search
@@ -20,7 +20,7 @@ export const masterRequiredOf = (layout: MasterLayout): { key: string; label: st
|
||||
|
||||
/** Campos que no se pueden cambiar una vez creado el registro (el código). */
|
||||
export const masterImmutableOf = (layout: MasterLayout): ReadonlySet<string> =>
|
||||
new Set(masterFieldsOf(layout).flatMap((f) => (f.type === 'text' && f.immutable ? [f.key] : [])));
|
||||
new Set(masterFieldsOf(layout).flatMap((f) => ('immutable' in f && f.immutable ? [f.key] : [])));
|
||||
|
||||
/** Valores editables de un registro de SAP (los vacíos quedan como texto vacío). */
|
||||
export function pickMaster(doc: DocRecord | undefined, keys: readonly string[], blank: DocRecord): DocRecord {
|
||||
|
||||
Reference in new issue
Block a user