22 lines
915 B
TypeScript
22 lines
915 B
TypeScript
import type { ScreenExtensions } from '../screen-extensions';
|
|
|
|
/**
|
|
* Campos que este cliente agrega a las pantallas de ventas (solo rutas `/ventas/…`). En `main` va
|
|
* vacío: el proyecto base solo lleva campos estándar de SAP. La rama `cliente/<nombre>` lo completa
|
|
* con campos estándar adicionales o de usuario (`U_*`) y no toca ningún otro archivo.
|
|
*
|
|
* Ejemplo (los campos son de ejemplo):
|
|
*
|
|
* '/ventas/facturas': {
|
|
* headerRight: [{ type: 'text', key: 'U_Obra', label: 'Obra' }],
|
|
* lineColumns: [{ key: 'U_Lote', title: 'Lote', width: '90px' }],
|
|
* listColumns: [{ key: 'U_Obra', title: 'Obra', searchable: true }],
|
|
* },
|
|
* '/ventas/ordenes': {
|
|
* headerLeft: [
|
|
* { type: 'select', key: 'U_Canal', label: 'Canal', options: [{ value: 'W', label: 'Web' }, { value: 'T', label: 'Tienda' }] },
|
|
* ],
|
|
* },
|
|
*/
|
|
export const VENTAS_EXTENSIONS: ScreenExtensions = {};
|