
Ext.ns('app');

app.filtrosCliente = [
	{type: 'numeric',  dataIndex: 'id'},
	{type: 'numeric',  dataIndex: 'id_empresa'},
	{type: 'string',  dataIndex: 'nombre'},
	{type: 'string',  dataIndex: 'domicilio_1'},
	{type: 'string',  dataIndex: 'domicilio_2'},
	{type: 'string',  dataIndex: 'localidad'},
	{type: 'string',  dataIndex: 'provincia'},
	{type: 'string',  dataIndex: 'cif'},
	{type: 'string',  dataIndex: 'telefono'},
	{type: 'string',  dataIndex: 'fax'},
	{type: 'string',  dataIndex: 'web'},
	{type: 'string',  dataIndex: 'mail'},
	{type: 'string',  dataIndex: 'forma_pago'},
	{type: 'string',  dataIndex: 'banco_codigo'},
	{type: 'string',  dataIndex: 'banco_sucursal'},
	{type: 'string',  dataIndex: 'banco_dc'},
	{type: 'string',  dataIndex: 'banco_cuenta'},
	{type: 'string',  dataIndex: 'observaciones'},
	{type: 'string',  dataIndex: 'codigo_asesoria'}
];


app.filtrosProveedor = [
	{type: 'numeric',  dataIndex: 'id'},
	{type: 'numeric',  dataIndex: 'id_empresa'},
	{type: 'string',  dataIndex: 'nombre'},
	{type: 'string',  dataIndex: 'domicilio_1'},
	{type: 'string',  dataIndex: 'domicilio_2'},
	{type: 'string',  dataIndex: 'localidad'},
	{type: 'string',  dataIndex: 'provincia'},
	{type: 'string',  dataIndex: 'cif'},
	{type: 'string',  dataIndex: 'telefono'},
	{type: 'string',  dataIndex: 'fax'},
	{type: 'string',  dataIndex: 'web'},
	{type: 'string',  dataIndex: 'mail'},
	{type: 'string',  dataIndex: 'forma_pago'},
	{type: 'string',  dataIndex: 'banco_codigo'},
	{type: 'string',  dataIndex: 'banco_sucursal'},
	{type: 'string',  dataIndex: 'banco_dc'},
	{type: 'string',  dataIndex: 'banco_cuenta'},
	{type: 'string',  dataIndex: 'observaciones'},
	{type: 'string',  dataIndex: 'codigo_asesoria'}
];

app.filtrosDocumento = [
	{type: 'numeric',  dataIndex: 'id'},
	{type: 'numeric',  dataIndex: 'id_empresa'},
	{type: 'string',  dataIndex: 'nombre'},
	{type: 'string',  dataIndex: 'fichero'},
	{type: 'string',  dataIndex: 'descripcion'},
	{type: 'string',  dataIndex: 'tags'},
	{type: 'string',  dataIndex: 'fecha'}
];

app.filtrosBanco = [
	{type: 'numeric',  dataIndex: 'id'},
	{type: 'numeric',  dataIndex: 'id_empresa'},
	{type: 'string',  dataIndex: 'descripcion'},
	{type: 'string',  dataIndex: 'banco_codigo'},
	{type: 'string',  dataIndex: 'banco_sucursal'},
	{type: 'string',  dataIndex: 'banco_dc'},
	{type: 'string',  dataIndex: 'banco_cuenta'},
	{type: 'string',  dataIndex: 'codigo_asesoria'}
];

app.filtrosArticulo = [
	{type: 'numeric',  dataIndex: 'id'},
	{type: 'numeric',  dataIndex: 'id_empresa'},
	{type: 'string',  dataIndex: 'nombre'},
	{type: 'string',  dataIndex: 'descripcion'},
	{type: 'numeric',  dataIndex: 'precio'}
];

app.filtrosVenta = [
	{type: 'numeric',  dataIndex: 'id'},
	{type: 'numeric',  dataIndex: 'id_empresa'},
	{type: 'numeric',  dataIndex: 'id_cliente'},
	{type: 'numeric',  dataIndex: 'factura'},
	{type: 'string',  dataIndex: 'fecha'},
	{type: 'string',  dataIndex: 'forma_pago'},
	{type: 'string',  dataIndex: 'sref'},
	{type: 'string',  dataIndex: 'nombre_cliente'},
	{type: 'string',  dataIndex: 'domiclio_1_cliente'},
	{type: 'string',  dataIndex: 'domicilio_2_cliente'},
	{type: 'string',  dataIndex: 'localidad_cliente'},
	{type: 'string',  dataIndex: 'provincia_cliente'},
	{type: 'string',  dataIndex: 'cif_cliente'},
	{type: 'string',  dataIndex: 'telefono_cliente'},
	{type: 'string',  dataIndex: 'fax_cliente'},
	{type: 'string',  dataIndex: 'web_cliente'},
	{type: 'string',  dataIndex: 'mail_cliente'},
	{type: 'string',  dataIndex: 'forma_pago_cliente'},
	{type: 'string',  dataIndex: 'banco_codigo_cliente'},
	{type: 'string',  dataIndex: 'banco_sucursal_cliente'},
	{type: 'string',  dataIndex: 'banco_dc_cliente'},
	{type: 'string',  dataIndex: 'banco_cuenta_cliente'},
	{type: 'string',  dataIndex: 'observaciones_cliente'},
	{type: 'string',  dataIndex: 'codigo_asesoria_cliente'}
];

app.filtrosPresupuesto = [
	{type: 'numeric',  dataIndex: 'id'},
	{type: 'numeric',  dataIndex: 'id_empresa'},
	{type: 'numeric',  dataIndex: 'id_cliente'},
	{type: 'numeric',  dataIndex: 'presupuesto'},
	{type: 'numeric',  dataIndex: 'retencion'},
	{type: 'string',  dataIndex: 'fecha'},
	{type: 'string',  dataIndex: 'forma_pago'},
	{type: 'string',  dataIndex: 'sref'},
	{type: 'string',  dataIndex: 'nombre_cliente'},
	{type: 'string',  dataIndex: 'domiclio_1_cliente'},
	{type: 'string',  dataIndex: 'domicilio_2_cliente'},
	{type: 'string',  dataIndex: 'localidad_cliente'},
	{type: 'string',  dataIndex: 'provincia_cliente'},
	{type: 'string',  dataIndex: 'cif_cliente'},
	{type: 'string',  dataIndex: 'telefono_cliente'},
	{type: 'string',  dataIndex: 'fax_cliente'},
	{type: 'string',  dataIndex: 'web_cliente'},
	{type: 'string',  dataIndex: 'mail_cliente'},
	{type: 'string',  dataIndex: 'forma_pago_cliente'},
	{type: 'string',  dataIndex: 'banco_codigo_cliente'},
	{type: 'string',  dataIndex: 'banco_sucursal_cliente'},
	{type: 'string',  dataIndex: 'banco_dc_cliente'},
	{type: 'string',  dataIndex: 'banco_cuenta_cliente'},
	{type: 'string',  dataIndex: 'observaciones_cliente'},
	{type: 'string',  dataIndex: 'codigo_asesoria_cliente'}
];

app.filtrosCobro = [
	{type: 'numeric',  dataIndex: 'id'},
	{type: 'numeric',  dataIndex: 'id_empresa'},
	{type: 'string',  dataIndex: 'fecha'},
	{type: 'numeric',  dataIndex: 'id_cliente'},
	{type: 'numeric',  dataIndex: 'id_banco'},
	{type: 'string',  dataIndex: 'descripcion'},
	{type: 'numeric',  dataIndex: 'importe'},
	{type: 'string',  dataIndex: 'nombre_cliente'},
	{type: 'string',  dataIndex: 'domiclio_1_cliente'},
	{type: 'string',  dataIndex: 'domicilio_2_cliente'},
	{type: 'string',  dataIndex: 'localidad_cliente'},
	{type: 'string',  dataIndex: 'provincia_cliente'},
	{type: 'string',  dataIndex: 'cif_cliente'},
	{type: 'string',  dataIndex: 'telefono_cliente'},
	{type: 'string',  dataIndex: 'fax_cliente'},
	{type: 'string',  dataIndex: 'web_cliente'},
	{type: 'string',  dataIndex: 'mail_cliente'},
	{type: 'string',  dataIndex: 'banco_descripcion'},
	{type: 'string',  dataIndex: 'banco_codigo'},
	{type: 'string',  dataIndex: 'banco_sucursal'},
	{type: 'string',  dataIndex: 'banco_dc'},
	{type: 'string',  dataIndex: 'banco_cuenta'}
];


app.filtrosCompra = [
	{type: 'numeric',  dataIndex: 'id'},
	{type: 'numeric',  dataIndex: 'id_empresa'},
	{type: 'numeric',  dataIndex: 'compra'},
	{type: 'string',  dataIndex: 'factura'},
	{type: 'numeric',  dataIndex: 'id_proveedor'},
	{type: 'string',  dataIndex: 'fecha'},
	{type: 'numeric',  dataIndex: 'retencion'},
	{type: 'string',  dataIndex: 'forma_pago'},
	{type: 'string',  dataIndex: 'observaciones'},
	{type: 'string',  dataIndex: 'nombre_proveedor'},
	{type: 'string',  dataIndex: 'domiclio_1_proveedor'},
	{type: 'string',  dataIndex: 'domicilio_2_proveedor'},
	{type: 'string',  dataIndex: 'localidad_proveedor'},
	{type: 'string',  dataIndex: 'provincia_proveedor'},
	{type: 'string',  dataIndex: 'cif_proveedor'},
	{type: 'string',  dataIndex: 'telefono_proveedor'},
	{type: 'string',  dataIndex: 'fax_proveedor'},
	{type: 'string',  dataIndex: 'web_proveedor'},
	{type: 'string',  dataIndex: 'mail_proveedor'},
	{type: 'string',  dataIndex: 'forma_pago_proveedor'},
	{type: 'string',  dataIndex: 'banco_codigo_proveedor'},
	{type: 'string',  dataIndex: 'banco_sucursal_proveedor'},
	{type: 'string',  dataIndex: 'banco_dc_proveedor'},
	{type: 'string',  dataIndex: 'banco_cuenta_proveedor'},
	{type: 'string',  dataIndex: 'observaciones_proveedor'},
	{type: 'string',  dataIndex: 'codigo_asesoria_proveedor'}
];


app.filtrosPago = [
	{type: 'numeric',  dataIndex: 'id'},
	{type: 'numeric',  dataIndex: 'id_empresa'},
	{type: 'string',  dataIndex: 'fecha'},
	{type: 'numeric',  dataIndex: 'id_proveedor'},
	{type: 'numeric',  dataIndex: 'id_banco'},
	{type: 'string',  dataIndex: 'descripcion'},
	{type: 'numeric',  dataIndex: 'importe'},
	{type: 'string',  dataIndex: 'nombre_proveedor'},
	{type: 'string',  dataIndex: 'domiclio_1_proveedor'},
	{type: 'string',  dataIndex: 'domicilio_2_proveedor'},
	{type: 'string',  dataIndex: 'localidad_proveedor'},
	{type: 'string',  dataIndex: 'provincia_proveedor'},
	{type: 'string',  dataIndex: 'cif_proveedor'},
	{type: 'string',  dataIndex: 'telefono_proveedor'},
	{type: 'string',  dataIndex: 'fax_proveedor'},
	{type: 'string',  dataIndex: 'web_proveedor'},
	{type: 'string',  dataIndex: 'mail_proveedor'},
	{type: 'string',  dataIndex: 'banco_descripcion'},
	{type: 'string',  dataIndex: 'banco_codigo'},
	{type: 'string',  dataIndex: 'banco_sucursal'},
	{type: 'string',  dataIndex: 'banco_dc'},
	{type: 'string',  dataIndex: 'banco_cuenta'}
];

app.filtrosMovBanco = [
	{type: 'numeric',  dataIndex: 'id'},
	{type: 'numeric',  dataIndex: 'id_empresa'},
	{type: 'string',  dataIndex: 'fecha'},
	{type: 'string',  dataIndex: 'concepto'},
	{type: 'numeric',  dataIndex: 'origen'},
	{type: 'numeric',  dataIndex: 'destino'},
	{type: 'numeric',  dataIndex: 'importe'},
	{type: 'string',  dataIndex: 'banco_origen'},
	{type: 'numeric',  dataIndex: 'banco_codigo_origen'},
	{type: 'numeric',  dataIndex: 'banco_sucursal_origen'},
	{type: 'numeric',  dataIndex: 'banco_dc_origen'},
	{type: 'numeric',  dataIndex: 'banco_cuenta_origen'},
	{type: 'string',  dataIndex: 'codigo_asesoria_origen'},
	{type: 'string',  dataIndex: 'banco_destino'},
	{type: 'string',  dataIndex: 'banco_codigo_destino'},
	{type: 'string',  dataIndex: 'banco_sucursal_destino'},
	{type: 'string',  dataIndex: 'banco_dc_destino'},
	{type: 'string',  dataIndex: 'banco_cuenta_destino'},
	{type: 'string',  dataIndex: 'codigo_asesoria_destino'}
];
