-- Table structure for table `facturas2`
--

CREATE TABLE `facturas2` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `IDMOTIVODTO` int DEFAULT '1',
  `IDMINUTA` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `comandaf` varchar(11) DEFAULT NULL,
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(8) NOT NULL DEFAULT 'MESAS',
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` bigint unsigned NOT NULL,
  `idmesa` int DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` double NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `iva` int NOT NULL DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `condicion` int NOT NULL DEFAULT '0',
  `fechavencimiento` datetime DEFAULT CURRENT_TIMESTAMP,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pedidonumero` varchar(10) DEFAULT NULL,
  `base` double NOT NULL DEFAULT '0',
  `inquiry` varchar(23) NOT NULL DEFAULT ' ',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1' COMMENT 'este vendedor no hizo toda la venta, solo abriÃƒÂ² la mesa',
  `emailenviado` int NOT NULL DEFAULT '0',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fechaabonado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODFORMAPAGO` varchar(5) DEFAULT '1',
  `codalmacen` varchar(25) DEFAULT '1',
  `TIPODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `ESTADODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `aliasespera` int NOT NULL DEFAULT '0',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `esbarra` varchar(1) NOT NULL DEFAULT 'F',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `domicilio` double NOT NULL DEFAULT '0',
  `cedula` varchar(15) NOT NULL DEFAULT '999999',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(25) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(250) DEFAULT NULL,
  `resoluciondesde` date DEFAULT NULL,
  `resolucionhasta` date DEFAULT NULL,
  `id_tipo_persona` int DEFAULT '0',
  `prefijofe` varchar(5) DEFAULT NULL,
  `consecutivofe` int DEFAULT '0',
  `fecha_registrofactura` varchar(20) DEFAULT NULL,
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `valornc` double DEFAULT '0',
  `notacreditofe` int DEFAULT '0',
  `cufenc` varchar(250) DEFAULT NULL,
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `numeroabajo` int DEFAULT '0',
  `alergenos` varchar(50) DEFAULT '0',
  `impazucaradas` int DEFAULT '0',
  `impultraprocesados` int DEFAULT '0',
  `placa` varchar(6) DEFAULT NULL,
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `facturas2`
--


--
-- Table structure for table `facturas2021`
--

CREATE TABLE `facturas2021` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `aliado` varchar(25) DEFAULT NULL,
  `IDMINUTA` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `comandaf` varchar(11) DEFAULT NULL,
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(25) DEFAULT NULL,
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` int DEFAULT '2',
  `idmesa` int DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` int DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `iva` double DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `condicion` int NOT NULL DEFAULT '0',
  `fechavencimiento` date DEFAULT NULL,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pedidonumero` varchar(50) DEFAULT NULL,
  `base` double NOT NULL DEFAULT '0',
  `inquiry` varchar(23) NOT NULL DEFAULT ' ',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1' COMMENT 'este vendedor no hizo toda la venta, solo abriÃƒÂ² la mesa',
  `emailenviado` int NOT NULL DEFAULT '0',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fechaabonado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODFORMAPAGO` varchar(5) DEFAULT '1',
  `codalmacen` varchar(25) DEFAULT '1',
  `TIPODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `ESTADODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `aliasespera` int NOT NULL DEFAULT '0',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `esbarra` varchar(1) NOT NULL DEFAULT 'F',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `domicilio` double NOT NULL DEFAULT '0',
  `cedula` varchar(15) NOT NULL DEFAULT '999999',
  `codigociudad` varchar(7) DEFAULT '63001',
  `email` varchar(100) DEFAULT NULL,
  `codigopostal` varchar(7) DEFAULT '630003',
  `codigodepartamento` varchar(7) DEFAULT '63',
  `departamento` varchar(25) DEFAULT 'QUINDIO',
  `ciudad` varchar(25) DEFAULT 'ARMENIA',
  `cufe` varchar(250) DEFAULT NULL,
  `resoluciondesde` date DEFAULT NULL,
  `resolucionhasta` date DEFAULT NULL,
  `id_tipo_persona` int DEFAULT '0',
  `prefijofe` varchar(5) DEFAULT NULL,
  `consecutivofe` int DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `valornc` double DEFAULT '0',
  `notacreditofe` int DEFAULT '0',
  `cufenc` varchar(250) DEFAULT NULL,
  `numlineas` int DEFAULT '0',
  `razonsocial` varchar(200) DEFAULT NULL,
  `nombrecomercial` varchar(200) DEFAULT NULL,
  `tipodepersona` int DEFAULT '0',
  `tipo_identificacion` varchar(5) DEFAULT NULL,
  `dv` int DEFAULT NULL,
  `sfiscalresponsibilities` varchar(10) DEFAULT NULL,
  `regimenfiscal` int DEFAULT NULL,
  `contacto` varchar(100) DEFAULT NULL,
  `prefijo` varchar(5) DEFAULT 'FV',
  `conceptoanulado` varchar(150) DEFAULT NULL,
  `garantiahasta` date DEFAULT NULL,
  `cantidadmediosdepago` int DEFAULT '0',
  `snumsop` varchar(25) DEFAULT NULL,
  `inumoper` varchar(25) DEFAULT NULL,
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `numeroabajo` int DEFAULT '0',
  `alergenos` varchar(50) DEFAULT '0',
  `facturatienemodificadores` int DEFAULT '0',
  `conseuctivorappi` varchar(11) DEFAULT NULL,
  `delivery_method` varchar(25) DEFAULT NULL,
  `payment_method` varchar(25) DEFAULT NULL,
  `COD_CLIENTE_FRONT` int DEFAULT '0',
  `ID_CLIENTE_CONTROL` int DEFAULT '1',
  `ssignature` text,
  `sqr` text,
  `observacionesnovedad` varchar(150) DEFAULT NULL,
  `horapreparado` datetime DEFAULT NULL,
  `resdianfe` varchar(25) DEFAULT NULL,
  `desdefe` int DEFAULT '0',
  `hastafe` int DEFAULT '0',
  `fecharesfe` date DEFAULT NULL,
  `fechafe` date DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `mediodoepagointegracion` varchar(25) DEFAULT NULL,
  `CONFIRMED` datetime DEFAULT NULL,
  `READY_TO_PICKUP` datetime DEFAULT NULL,
  `DISPATCHED` datetime DEFAULT NULL,
  `CONCLUDED` datetime DEFAULT NULL,
  `CANCELLED` datetime DEFAULT NULL,
  `CANCELLATION_REQUESTED` datetime DEFAULT NULL,
  `aceptado` bit(1) DEFAULT b'0',
  `horaaceptado` datetime DEFAULT NULL,
  `fecha_registrofactura` datetime DEFAULT NULL,
  `enviadoataxxa` bit(1) DEFAULT b'0',
  `horanovedad` datetime DEFAULT NULL,
  `novedad` bit(1) DEFAULT b'0',
  `costofactura` double DEFAULT '0',
  `aceptado_domiciliario` bit(1) DEFAULT b'0',
  `hora_aceptado_domiciliario` datetime DEFAULT NULL,
  `prooduco_recibido_domiciliario` bit(1) DEFAULT b'0',
  `hora_prooduco_recibido_domiciliario` datetime DEFAULT NULL,
  `impreso` bit(1) DEFAULT b'0',
  `pedidorechazado` bit(1) DEFAULT b'0',
  `horapedidorechazado` datetime DEFAULT NULL,
  `domicilioconciliado` bit(1) DEFAULT b'0',
  `fechancdian` datetime DEFAULT NULL,
  `tipodevolucion` varchar(25) DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `nombrecomercialfactura` varchar(50) DEFAULT NULL,
  `clasificacioncliente` varchar(20) DEFAULT 'CLIENTE FINAL',
  `codeudor` varchar(50) DEFAULT NULL,
  `telefonoocodeudor` varchar(30) DEFAULT NULL,
  `parentescocodeudor` varchar(25) DEFAULT NULL,
  `plazo` int DEFAULT NULL,
  `valorcuota` int DEFAULT NULL,
  `valorcuotainicial` int DEFAULT NULL,
  `fechacuotainicial` date DEFAULT NULL,
  `cuotasapartirde` date DEFAULT NULL,
  `modalidad` int DEFAULT NULL,
  `comensales_factura` int DEFAULT '0',
  `identificador` varchar(25) DEFAULT NULL,
  `impazucaradas` int DEFAULT '0',
  `impultraprocesados` int DEFAULT '0',
  `descuentoporflete` int DEFAULT '0',
  `otrosdescuentos` int DEFAULT '0',
  `sobrecargoeventosf` double DEFAULT '0',
  `forzar2222` varchar(2) DEFAULT 'no',
  `fechafinfe` date DEFAULT NULL,
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `facturas2021`
--


--
-- Table structure for table `facturas2022`
--

CREATE TABLE `facturas2022` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `aliado` varchar(25) DEFAULT NULL,
  `IDMINUTA` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `comandaf` varchar(11) DEFAULT NULL,
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(25) DEFAULT NULL,
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` int DEFAULT '2',
  `idmesa` int DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` int DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `iva` double DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `condicion` int NOT NULL DEFAULT '0',
  `fechavencimiento` date DEFAULT NULL,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pedidonumero` varchar(50) DEFAULT NULL,
  `base` double NOT NULL DEFAULT '0',
  `inquiry` varchar(23) NOT NULL DEFAULT ' ',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1' COMMENT 'este vendedor no hizo toda la venta, solo abriÃƒÂ² la mesa',
  `emailenviado` int NOT NULL DEFAULT '0',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fechaabonado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODFORMAPAGO` varchar(5) DEFAULT '1',
  `codalmacen` varchar(25) DEFAULT '1',
  `TIPODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `ESTADODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `aliasespera` int NOT NULL DEFAULT '0',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `esbarra` varchar(1) NOT NULL DEFAULT 'F',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `domicilio` double NOT NULL DEFAULT '0',
  `cedula` varchar(15) NOT NULL DEFAULT '999999',
  `codigociudad` varchar(7) DEFAULT '63001',
  `email` varchar(100) DEFAULT NULL,
  `codigopostal` varchar(7) DEFAULT '630003',
  `codigodepartamento` varchar(7) DEFAULT '63',
  `departamento` varchar(25) DEFAULT 'QUINDIO',
  `ciudad` varchar(25) DEFAULT 'ARMENIA',
  `cufe` varchar(250) DEFAULT NULL,
  `resoluciondesde` date DEFAULT NULL,
  `resolucionhasta` date DEFAULT NULL,
  `id_tipo_persona` int DEFAULT '0',
  `prefijofe` varchar(5) DEFAULT NULL,
  `consecutivofe` int DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `valornc` double DEFAULT '0',
  `notacreditofe` int DEFAULT '0',
  `cufenc` varchar(250) DEFAULT NULL,
  `numlineas` int DEFAULT '0',
  `razonsocial` varchar(200) DEFAULT NULL,
  `nombrecomercial` varchar(200) DEFAULT NULL,
  `tipodepersona` int DEFAULT '0',
  `tipo_identificacion` varchar(5) DEFAULT NULL,
  `dv` int DEFAULT NULL,
  `sfiscalresponsibilities` varchar(10) DEFAULT NULL,
  `regimenfiscal` int DEFAULT NULL,
  `contacto` varchar(100) DEFAULT NULL,
  `prefijo` varchar(5) DEFAULT 'FV',
  `conceptoanulado` varchar(150) DEFAULT NULL,
  `garantiahasta` date DEFAULT NULL,
  `cantidadmediosdepago` int DEFAULT '0',
  `snumsop` varchar(25) DEFAULT NULL,
  `inumoper` varchar(25) DEFAULT NULL,
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `numeroabajo` int DEFAULT '0',
  `alergenos` varchar(50) DEFAULT '0',
  `facturatienemodificadores` int DEFAULT '0',
  `conseuctivorappi` varchar(11) DEFAULT NULL,
  `delivery_method` varchar(25) DEFAULT NULL,
  `payment_method` varchar(25) DEFAULT NULL,
  `COD_CLIENTE_FRONT` int DEFAULT '0',
  `ID_CLIENTE_CONTROL` int DEFAULT '1',
  `ssignature` text,
  `sqr` text,
  `observacionesnovedad` varchar(150) DEFAULT NULL,
  `horapreparado` datetime DEFAULT NULL,
  `resdianfe` varchar(25) DEFAULT NULL,
  `desdefe` int DEFAULT '0',
  `hastafe` int DEFAULT '0',
  `fecharesfe` date DEFAULT NULL,
  `fechafe` date DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `mediodoepagointegracion` varchar(25) DEFAULT NULL,
  `CONFIRMED` datetime DEFAULT NULL,
  `READY_TO_PICKUP` datetime DEFAULT NULL,
  `DISPATCHED` datetime DEFAULT NULL,
  `CONCLUDED` datetime DEFAULT NULL,
  `CANCELLED` datetime DEFAULT NULL,
  `CANCELLATION_REQUESTED` datetime DEFAULT NULL,
  `aceptado` bit(1) DEFAULT b'0',
  `horaaceptado` datetime DEFAULT NULL,
  `fecha_registrofactura` datetime DEFAULT NULL,
  `enviadoataxxa` bit(1) DEFAULT b'0',
  `horanovedad` datetime DEFAULT NULL,
  `novedad` bit(1) DEFAULT b'0',
  `costofactura` double DEFAULT '0',
  `aceptado_domiciliario` bit(1) DEFAULT b'0',
  `hora_aceptado_domiciliario` datetime DEFAULT NULL,
  `prooduco_recibido_domiciliario` bit(1) DEFAULT b'0',
  `hora_prooduco_recibido_domiciliario` datetime DEFAULT NULL,
  `impreso` bit(1) DEFAULT b'0',
  `pedidorechazado` bit(1) DEFAULT b'0',
  `horapedidorechazado` datetime DEFAULT NULL,
  `domicilioconciliado` bit(1) DEFAULT b'0',
  `fechancdian` datetime DEFAULT NULL,
  `tipodevolucion` varchar(25) DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `nombrecomercialfactura` varchar(50) DEFAULT NULL,
  `clasificacioncliente` varchar(20) DEFAULT 'CLIENTE FINAL',
  `codeudor` varchar(50) DEFAULT NULL,
  `telefonoocodeudor` varchar(30) DEFAULT NULL,
  `parentescocodeudor` varchar(25) DEFAULT NULL,
  `plazo` int DEFAULT NULL,
  `valorcuota` int DEFAULT NULL,
  `valorcuotainicial` int DEFAULT NULL,
  `fechacuotainicial` date DEFAULT NULL,
  `cuotasapartirde` date DEFAULT NULL,
  `modalidad` int DEFAULT NULL,
  `comensales_factura` int DEFAULT '0',
  `identificador` varchar(25) DEFAULT NULL,
  `impazucaradas` int DEFAULT '0',
  `impultraprocesados` int DEFAULT '0',
  `descuentoporflete` int DEFAULT '0',
  `otrosdescuentos` int DEFAULT '0',
  `sobrecargoeventosf` double DEFAULT '0',
  `forzar2222` varchar(2) DEFAULT 'no',
  `fechafinfe` date DEFAULT NULL,
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `facturas2022`
--


--
-- Table structure for table `facturas3`
--

CREATE TABLE `facturas3` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `IDMOTIVODTO` int DEFAULT '1',
  `IDMINUTA` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `comandaf` varchar(11) DEFAULT NULL,
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(25) DEFAULT NULL,
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` int DEFAULT '2',
  `idmesa` int DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` int DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `iva` double DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `condicion` int NOT NULL DEFAULT '0',
  `fechavencimiento` datetime DEFAULT CURRENT_TIMESTAMP,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pedidonumero` varchar(50) DEFAULT NULL,
  `base` double NOT NULL DEFAULT '0',
  `inquiry` varchar(23) NOT NULL DEFAULT ' ',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1' COMMENT 'este vendedor no hizo toda la venta, solo abriÃƒÂ² la mesa',
  `emailenviado` int NOT NULL DEFAULT '0',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fechaabonado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODFORMAPAGO` varchar(5) DEFAULT '1',
  `codalmacen` varchar(25) DEFAULT '1',
  `TIPODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `ESTADODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `aliasespera` int NOT NULL DEFAULT '0',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `esbarra` varchar(1) NOT NULL DEFAULT 'F',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `domicilio` double NOT NULL DEFAULT '0',
  `cedula` varchar(15) NOT NULL DEFAULT '999999',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `codigopostal` varchar(6) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(25) DEFAULT NULL,
  `ciudad` varchar(25) DEFAULT NULL,
  `cufe` varchar(250) DEFAULT NULL,
  `resoluciondesde` date DEFAULT NULL,
  `resolucionhasta` date DEFAULT NULL,
  `id_tipo_persona` int DEFAULT '0',
  `prefijofe` varchar(5) DEFAULT NULL,
  `consecutivofe` int DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `valornc` double DEFAULT '0',
  `notacreditofe` int DEFAULT '0',
  `cufenc` varchar(250) DEFAULT NULL,
  `numlineas` int DEFAULT '0',
  `razonsocial` varchar(200) DEFAULT NULL,
  `nombrecomercial` varchar(200) DEFAULT NULL,
  `tipodepersona` int DEFAULT '0',
  `tipo_identificacion` varchar(5) DEFAULT NULL,
  `dv` int DEFAULT NULL,
  `sfiscalresponsibilities` varchar(10) DEFAULT NULL,
  `regimenfiscal` int DEFAULT NULL,
  `contacto` varchar(100) DEFAULT NULL,
  `prefijo` varchar(5) DEFAULT 'FV',
  `conceptoanulado` varchar(150) DEFAULT NULL,
  `garantiahasta` date DEFAULT NULL,
  `cantidadmediosdepago` int DEFAULT '0',
  `snumsop` varchar(25) DEFAULT NULL,
  `inumoper` varchar(25) DEFAULT NULL,
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `numeroabajo` int DEFAULT '0',
  `alergenos` varchar(50) DEFAULT '0',
  `facturatienemodificadores` int DEFAULT '0',
  `conseuctivorappi` varchar(11) DEFAULT NULL,
  `delivery_method` varchar(25) DEFAULT NULL,
  `payment_method` varchar(25) DEFAULT NULL,
  `COD_CLIENTE_FRONT` int DEFAULT '0',
  `ID_CLIENTE_CONTROL` int DEFAULT '1',
  `ssignature` text,
  `sqr` text,
  `observacionesnovedad` varchar(150) DEFAULT NULL,
  `horapreparado` datetime DEFAULT NULL,
  `resdianfe` varchar(25) DEFAULT NULL,
  `desdefe` int DEFAULT '0',
  `hastafe` int DEFAULT '0',
  `fecharesfe` date DEFAULT NULL,
  `fechafe` date DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `mediodoepagointegracion` varchar(25) DEFAULT NULL,
  `CONFIRMED` datetime DEFAULT NULL,
  `READY_TO_PICKUP` datetime DEFAULT NULL,
  `DISPATCHED` datetime DEFAULT NULL,
  `CONCLUDED` datetime DEFAULT NULL,
  `CANCELLED` datetime DEFAULT NULL,
  `CANCELLATION_REQUESTED` datetime DEFAULT NULL,
  `aceptado` bit(1) DEFAULT b'0',
  `horaaceptado` datetime DEFAULT NULL,
  `fecha_registrofactura` datetime DEFAULT NULL,
  `enviadoataxxa` bit(1) DEFAULT b'0',
  `horanovedad` datetime DEFAULT NULL,
  `novedad` bit(1) DEFAULT b'0',
  `costofactura` double DEFAULT '0',
  `aceptado_domiciliario` bit(1) DEFAULT b'0',
  `hora_aceptado_domiciliario` datetime DEFAULT NULL,
  `prooduco_recibido_domiciliario` bit(1) DEFAULT b'0',
  `hora_prooduco_recibido_domiciliario` datetime DEFAULT NULL,
  `impreso` bit(1) DEFAULT b'0',
  `pedidorechazado` bit(1) DEFAULT b'0',
  `horapedidorechazado` datetime DEFAULT NULL,
  `domicilioconciliado` bit(1) DEFAULT b'0',
  `fechancdian` datetime DEFAULT NULL,
  `tipodevolucion` varchar(25) DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `nombrecomercialfactura` varchar(50) DEFAULT NULL,
  `clasificacioncliente` varchar(20) DEFAULT 'CLIENTE FINAL',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `facturas3`
--


--
-- Table structure for table `facturas_parqueadero`
--

CREATE TABLE `facturas_parqueadero` (
  `id` int NOT NULL AUTO_INCREMENT,
  `ingreso` datetime DEFAULT NULL,
  `salida` datetime DEFAULT NULL,
  `tiempo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `placa` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `idusuario` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `facturas_parqueadero`
--

INSERT INTO `facturas_parqueadero` (`id`, `ingreso`, `salida`, `tiempo`, `placa`, `total`, `fechacreacion`, `idusuario`) VALUES (1,'0000-00-00 00:00:00','0000-00-00 00:00:00','0','123456',0.00,'2025-03-21 20:42:19',0),(2,'2025-03-21 20:42:13','2025-03-21 20:43:50','1','123456',900.00,'2025-03-21 20:43:52',0),(3,'2025-03-21 20:44:35','2025-03-21 20:44:43','0','123456',0.00,'2025-03-21 20:44:57',0),(4,'2025-03-21 20:45:43','2025-03-21 20:45:50','0','123456',0.00,'2025-03-21 20:45:51',0),(5,'2025-03-21 20:47:19','2025-03-21 20:47:23','0','123456',0.00,'2025-03-21 20:47:32',2),(6,'2025-03-22 11:32:11','2025-03-22 11:42:53','1','123456',900.00,'2025-03-22 11:42:56',2),(7,'2025-03-22 11:43:00','2025-03-22 11:43:38','0','123456',0.00,'2025-03-22 11:43:41',2),(8,'2025-03-22 11:43:48','2025-03-22 11:44:48','1','123456',900.00,'2025-03-22 11:44:49',2),(9,'2025-03-22 11:44:53','2025-03-22 11:45:11','0','123456',0.00,'2025-03-22 11:45:14',2),(10,'2025-03-22 11:45:38','2025-03-22 11:45:57','0','123456',0.00,'2025-03-22 11:46:02',2),(11,'2025-03-28 10:10:56','2025-03-28 10:11:02','0','123456',0.00,'2025-03-28 10:11:03',2),(12,'2025-03-28 10:11:19','2025-03-28 10:11:31','0','123456',0.00,'2025-03-28 10:11:33',2);

--
-- Table structure for table `familiasdemodificadores`
--

CREATE TABLE `familiasdemodificadores` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `familiademodificadores` varchar(100) DEFAULT NULL,
  `minimo` int DEFAULT '1',
  `maximo` int DEFAULT '0',
  `codabajo` int DEFAULT '0',
  `cc` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `alias` varchar(100) DEFAULT NULL,
  `idrappi` varchar(25) DEFAULT NULL,
  `sesubeaifood` int DEFAULT '0',
  `idifood` varchar(100) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  `saleenlaventa` int DEFAULT '1',
  `sepuedeborrar` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `familiasdemodificadores`
--

INSERT INTO `familiasdemodificadores` (`id`, `familiademodificadores`, `minimo`, `maximo`, `codabajo`, `cc`, `fechacreacion`, `alias`, `idrappi`, `sesubeaifood`, `idifood`, `pv`, `saleenlaventa`, `sepuedeborrar`) VALUES (3,'Cómo desea los huevos',1,0,0,2,'2025-11-07 16:54:11',NULL,NULL,0,NULL,'KALDI',1,0),(4,'Cuál bebida desea',1,0,0,2,'2025-11-07 17:03:09',NULL,NULL,0,NULL,'KALDI',1,0),(5,'Cuál hamburguesa desea',1,0,0,2,'2025-11-10 15:28:54',NULL,NULL,0,NULL,'KALDI',1,0),(6,'Con qué papas la desea',1,0,0,2,'2025-11-10 15:33:33',NULL,NULL,0,NULL,'KALDI',1,0),(7,'Con qué bebida la desea',1,0,0,2,'2025-11-10 15:37:58',NULL,NULL,0,NULL,'KALDI',1,0),(8,'Cuál método desea',1,0,0,2,'2025-11-10 17:15:28',NULL,NULL,0,NULL,'KALDI',1,0),(9,'Cuál capuccino desea',1,0,0,2,'2025-11-10 17:37:15',NULL,NULL,0,NULL,'KALDI',1,0),(10,'Cuál infusión desea',1,0,0,2,'2025-11-10 17:40:34',NULL,NULL,0,NULL,'KALDI',1,0),(11,'Cuál limonada desea',1,0,0,2,'2025-11-10 17:55:40',NULL,NULL,0,NULL,'KALDI',1,0),(12,'Cuál soda desea',1,0,0,2,'2025-11-10 18:02:45',NULL,NULL,0,NULL,'KALDI',1,0),(13,'Cuál batido desea',1,0,0,2,'2025-11-10 18:09:05',NULL,NULL,0,NULL,'KALDI',1,0),(14,'Cuál cremoso desea',1,0,0,2,'2025-11-10 18:21:30',NULL,NULL,0,NULL,'KALDI',1,0);

--
-- Table structure for table `fechasdescuentos`
--

CREATE TABLE `fechasdescuentos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fecha` date DEFAULT NULL,
  `cc` bigint unsigned NOT NULL,
  `idusuario` bigint unsigned NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  CONSTRAINT `fechasdescuentos_ibfk_1` FOREIGN KEY (`cc`) REFERENCES `centrosdecostos` (`id`),
  CONSTRAINT `fechasdescuentos_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `fechasdescuentos`
--


--
-- Table structure for table `festivos`
--

CREATE TABLE `festivos` (
  `fecha` date NOT NULL,
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `festivos`
--

INSERT INTO `festivos` (`fecha`, `id`) VALUES ('2022-07-20',2),('2022-12-08',19),('2022-11-14',18),('2022-11-07',17),('2022-10-17',16),('2022-08-15',14);

--
-- Table structure for table `fichaderegistro`
--

CREATE TABLE `fichaderegistro` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `cliente` varchar(100) DEFAULT NULL,
  `cedula` varchar(15) DEFAULT NULL,
  `telefono` varchar(25) DEFAULT NULL,
  `fechaentrada` date DEFAULT NULL,
  `fechasalida` date DEFAULT NULL,
  `nacionalidad` varchar(25) DEFAULT NULL,
  `direccion` varchar(100) DEFAULT NULL,
  `ciudad` varchar(25) DEFAULT NULL,
  `marca` varchar(25) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `idcliente` bigint unsigned DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `idmayor` bigint unsigned DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`),
  KEY `idmayor` (`idmayor`),
  CONSTRAINT `fichaderegistro_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `mayoresfichaderegistro` (`id`),
  CONSTRAINT `idcliente` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  CONSTRAINT `idusuario` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `fichaderegistro`
--


--
-- Table structure for table `fichaderegistroauxiliar`
--

CREATE TABLE `fichaderegistroauxiliar` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `cliente` varchar(100) DEFAULT NULL,
  `cedula` varchar(15) DEFAULT NULL,
  `telefono` varchar(25) DEFAULT NULL,
  `fechaentrada` date DEFAULT NULL,
  `fechasalida` date DEFAULT NULL,
  `nacionalidad` varchar(25) DEFAULT NULL,
  `direccion` varchar(100) DEFAULT NULL,
  `ciudad` varchar(25) DEFAULT NULL,
  `marca` varchar(25) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `idcliente` bigint unsigned DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  `idreserva` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idcliente` (`idcliente`),
  KEY `idclientefichaderegistroauxiliar` (`idcliente`),
  KEY `idusuariofichaderegistroauxiliar` (`idusuario`),
  CONSTRAINT `idclientefichaderegistroauxiliar` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  CONSTRAINT `idusuariofichaderegistroauxiliar` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `fichaderegistroauxiliar`
--


--
-- Table structure for table `garantiasenespera`
--

CREATE TABLE `garantiasenespera` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint unsigned NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `devolucionrevisada` int DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int NOT NULL DEFAULT '0',
  `COSTEIVA` int NOT NULL DEFAULT '0',
  `DTO` int NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int NOT NULL DEFAULT '0',
  `CODFORMATO` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `seccionventas` varchar(25) DEFAULT NULL,
  `integraconfamilia` int DEFAULT '1',
  `codmodifpapa` int DEFAULT '0',
  `TIPOIVA` int DEFAULT '1',
  `sesubearappi` int DEFAULT '0',
  `refventas` varchar(20) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `iddomiciliario` int DEFAULT NULL,
  `horaaceptado` datetime DEFAULT NULL,
  `comandaaceptada` bit(1) DEFAULT b'0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `garantiasenespera`
--


--
-- Table structure for table `gastos`
--

CREATE TABLE `gastos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `cc` bigint unsigned NOT NULL,
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `consecutivo` int NOT NULL DEFAULT '1',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idproveedor` bigint unsigned NOT NULL DEFAULT '1',
  `concepto` text,
  `valor` double NOT NULL DEFAULT '0',
  `numero` varchar(7) DEFAULT NULL,
  `tipo` varchar(50) DEFAULT 'SELECCIONE',
  `afectacaja` int DEFAULT '1',
  `mediodepago` varchar(25) DEFAULT NULL,
  `placa` varchar(25) DEFAULT NULL,
  `fecha` date DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  `contadocredito` varchar(7) DEFAULT 'CONTADO',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idz` (`idz`),
  KEY `idusuario` (`idusuario`),
  KEY `idproveedor` (`idproveedor`),
  CONSTRAINT `gastos_ibfk_2` FOREIGN KEY (`idproveedor`) REFERENCES `clientes` (`id`),
  CONSTRAINT `gastos_ibfk_3` FOREIGN KEY (`idz`) REFERENCES `z` (`id`),
  CONSTRAINT `gastos_ibfk_4` FOREIGN KEY (`idz`) REFERENCES `z` (`id`),
  CONSTRAINT `gastos_ibfk_5` FOREIGN KEY (`idz`) REFERENCES `z` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `gastos`
--

INSERT INTO `gastos` (`id`, `fechacreacion`, `cc`, `idz`, `consecutivo`, `idusuario`, `idproveedor`, `concepto`, `valor`, `numero`, `tipo`, `afectacaja`, `mediodepago`, `placa`, `fecha`, `pv`, `contadocredito`) VALUES (1,'2025-11-11 13:30:37',2,47,1,5,14,'NÓMINA SEGUNDA QUINCENA OCTUBRE 2025',754800,'','NOMINA',0,'EFECTIVO',NULL,'2025-10-31','KALDI','CONTADO'),(2,'2025-11-11 13:42:43',2,47,2,5,12,'PAGO NÓMINA SEGUNDA QUINCENA OCTUBRE 2025',754800,NULL,'NOMINA',0,'EFECTIVO',NULL,'2025-10-31','KALDI','CONTADO'),(3,'2025-11-11 13:46:22',2,47,3,5,151,'ALQUILER DE MANTELES PARA UNIDAD SOLIDARIA',24000,'','SELECCIONE',0,'EFECTIVO',NULL,'2025-10-19','KALDI','CONTADO'),(4,'2025-11-13 14:29:23',2,51,4,5,13,'NÓMINA PRIMERA QUINCENA OCTUBRE 2025',754800,'','NOMINA',0,'EFECTIVO',NULL,'2025-10-18','KALDI','CONTADO'),(5,'2025-11-13 14:30:58',2,51,5,5,14,'NÓMINA PRIMERA QUINCENA OCTUBRE 2025',754800,NULL,'NOMINA',0,'EFECTIVO',NULL,'2025-10-21','KALDI','CONTADO'),(6,'2025-11-13 14:39:18',2,51,6,5,80,'30 m CABLE DUPLEX 10',90000,NULL,'MANTENIMIENTO',0,'EFECTIVO',NULL,'2025-11-11','KALDI','CONTADO'),(7,'2025-11-13 14:41:06',2,51,7,5,80,'CLAVIJA',5500,'','MANTENIMIENTO',0,'EFECTIVO',NULL,'2025-11-11','KALDI','CONTADO'),(8,'2025-11-13 14:41:26',2,51,8,5,80,'CINTA AISLANTE',3000,NULL,'MANTENIMIENTO',0,'EFECTIVO',NULL,'2025-11-11','KALDI','CONTADO'),(10,'2025-11-13 14:58:20',2,51,10,5,162,'GASOLINA',20000,'7721023','GASOLINA',0,'EFECTIVO',NULL,'2025-11-11','KALDI','CONTADO'),(11,'2025-11-13 15:01:02',2,51,11,5,162,'GASOLINA',30000,'7720946','GASOLINA',0,'EFECTIVO',NULL,'2025-10-31','KALDI','CONTADO'),(12,'2025-11-13 18:00:30',2,52,12,5,162,'GASOLINA 0,615 gal',10000,'PAG6092','GASOLINA',0,'EFECTIVO',NULL,'2025-10-15','KALDI','CONTADO'),(13,'2025-11-13 18:36:21',2,52,13,5,61,'ARREGLO TRILLADORA',40000,'','MANTENIMIENTO',0,'EFECTIVO',NULL,'2025-10-01','KALDI','CONTADO'),(15,'2025-11-15 18:58:15',2,56,15,5,165,'ENVÍO DE CAFÉ CONEXCAFÉ GUIA No 700171049380',35900,'FE47308','MENSAJERÍA',0,'EFECTIVO',NULL,'2025-10-04','KALDI','CONTADO'),(16,'2025-11-15 19:02:56',2,56,16,5,14,'NÓMINA SEGUNDA QUINCENA SEPTIEMBRE 2025',754800,NULL,'NOMINA',0,'EFECTIVO',NULL,'2025-10-04','KALDI','CONTADO'),(17,'2025-11-15 19:09:29',2,56,17,5,153,'VIGILANCIA',30000,NULL,'VIGILANCIA PRIVADA',0,'EFECTIVO',NULL,'2025-10-05','KALDI','CONTADO'),(18,'2025-11-15 20:42:28',2,56,18,5,112,'GASOLINA',21964,'951354','GASOLINA',0,'EFECTIVO',NULL,'2025-10-10','KALDI','CONTADO'),(19,'2025-11-15 21:36:44',2,56,19,5,167,'2 UNIDADES BLONDAS 24.5 CM',800,'247691','PAPELERIA',0,'EFECTIVO',NULL,'2025-10-09','KALDI','CONTADO'),(20,'2025-11-15 21:41:53',2,56,20,5,79,'2 ENCENDEDORES LARGOS',6200,'240261','INSUMOS',0,'EFECTIVO',NULL,'2025-10-10','KALDI','CONTADO'),(21,'2025-11-15 21:44:24',2,56,21,5,95,'MECATO PARA ANCHETAS COOEDUCAR',29100,'37513','INSUMOS',0,'EFECTIVO',NULL,'2025-10-09','KALDI','CONTADO'),(22,'2025-11-15 21:45:51',2,56,22,5,85,'COMANDERAS PEQUEÑAS',6000,'25691','PAPELERIA',0,'EFECTIVO',NULL,'2025-10-10','KALDI','CONTADO'),(23,'2025-11-15 21:51:48',2,56,23,5,6,'REGISTRO CIVIL DE DEFUNCIÓN',75000,NULL,'PAPELERIA',0,'EFECTIVO',NULL,'2025-10-10','KALDI','CONTADO'),(24,'2025-11-15 22:05:56',2,56,24,5,168,'PILAS EVERADY 2 UNIDADES',2500,'7801','INSUMOS',0,'EFECTIVO',NULL,'2025-10-11','KALDI','CONTADO'),(25,'2025-11-15 22:36:26',2,57,25,5,117,'PAPEL HIGIÉNICO',19950,'I9G2286','INSUMOS',0,'EFECTIVO',NULL,'2025-10-12','KALDI','CONTADO'),(26,'2025-11-16 00:05:52',2,57,26,5,79,'2 ESPONJILLAS ACERO INOXIDABLE',4300,'301853','INSUMOS',0,'EFECTIVO',NULL,'2025-10-12','KALDI','CONTADO'),(27,'2025-11-16 00:13:32',2,57,27,5,158,'3 PAQUETES TOALLAS TIPO Z',21600,NULL,'INSUMOS',0,'EFECTIVO',NULL,'2025-10-12','KALDI','CONTADO');

--
-- Table structure for table `grupos_adicionales`
--

CREATE TABLE `grupos_adicionales` (
  `id` int NOT NULL AUTO_INCREMENT,
  `nombre` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `fechacreacion` datetime DEFAULT NULL,
  `idusuario` bigint unsigned NOT NULL,
  `maximo` int DEFAULT '1000',
  `orden_ga` int DEFAULT '0',
  `esobligatorio` int DEFAULT '0',
  `incremento` double DEFAULT '0',
  `minimo` int DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `idusuario` (`idusuario`),
  CONSTRAINT `grupos_adicionales_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `grupos_adicionales`
--


--
-- Table structure for table `gruposdeincrementos`
--

CREATE TABLE `gruposdeincrementos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `grupo` varchar(20) DEFAULT NULL,
  `porcentaje` int DEFAULT '0',
  `idcliente` bigint unsigned DEFAULT NULL,
  `idseccion` bigint unsigned DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  `porcentajecompras` double DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idx_cliente_seccion` (`idcliente`,`idseccion`),
  KEY `idseccion` (`idseccion`),
  KEY `idusuario` (`idusuario`),
  CONSTRAINT `gruposdeincrementos_ibfk_1` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  CONSTRAINT `gruposdeincrementos_ibfk_2` FOREIGN KEY (`idseccion`) REFERENCES `secciones` (`id`),
  CONSTRAINT `gruposdeincrementos_ibfk_3` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `gruposdeincrementos`
--


--
-- Table structure for table `gruposdepersonas`
--

CREATE TABLE `gruposdepersonas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `grupo` varchar(20) DEFAULT NULL,
  `cc` bigint unsigned NOT NULL,
  `porcentaje` int DEFAULT '0',
  `campovalordeventa` varchar(25) DEFAULT NULL,
  `alias` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `gruposdepersonas`
--

INSERT INTO `gruposdepersonas` (`id`, `grupo`, `cc`, `porcentaje`, `campovalordeventa`, `alias`) VALUES (1,'F1',0,10,'valordistribuidor','% sobre valor de venta pú'),(2,'F2',0,0,'valordeventatiendas','Valor de venta Clientes e'),(3,'F3',0,0,'valordeventafundaciones','Valor de venta clientes r'),(4,'F4',0,0,'valordeventaregular','Valor de venta ruta F4'),(5,'Aliados',0,20,'valordeventa','% Valor de venta publico');

--
-- Table structure for table `habitaciones`
--

CREATE TABLE `habitaciones` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `habitacion` varchar(25) DEFAULT NULL,
  `codigo` varchar(20) NOT NULL DEFAULT ' ',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idzona` bigint unsigned NOT NULL DEFAULT '21',
  `orden` int NOT NULL DEFAULT '0',
  `idmeseroactual` bigint unsigned NOT NULL DEFAULT '1',
  `barcode` varchar(25) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idzona` (`idzona`),
  KEY `idmeseroactual` (`idmeseroactual`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `habitaciones`
--


--
-- Table structure for table `habitacionesvsenseres`
--

CREATE TABLE `habitacionesvsenseres` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime DEFAULT CURRENT_TIMESTAMP,
  `idusuario` int DEFAULT '0',
  `idhabitacion` bigint unsigned NOT NULL,
  `idensere` bigint unsigned NOT NULL,
  `cantidad` int DEFAULT '1',
  `valor` double DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idhabitacion_2` (`idhabitacion`,`idensere`),
  KEY `idhabitacion` (`idhabitacion`),
  KEY `idensere` (`idensere`),
  CONSTRAINT `llavedos` FOREIGN KEY (`idensere`) REFERENCES `enseres` (`id`),
  CONSTRAINT `llaveuno` FOREIGN KEY (`idhabitacion`) REFERENCES `habitaciones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `habitacionesvsenseres`
--


--
-- Table structure for table `historial_traslados`
--

CREATE TABLE `historial_traslados` (
  `id` int NOT NULL AUTO_INCREMENT,
  `fecha_original` date NOT NULL,
  `origen` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `destino` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `fecha_recepcion` datetime NOT NULL,
  `usuario_recibe` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `fecha_creacion` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `costomedio` double DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `historial_traslados`
--


--
-- Table structure for table `historialconductores`
--

CREATE TABLE `historialconductores` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `placa` varchar(10) DEFAULT NULL,
  `anterior` varchar(100) DEFAULT NULL,
  `nuevo` varchar(100) DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `idanterior` int NOT NULL DEFAULT '0',
  `idnuevo` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idnuevo` (`idnuevo`),
  KEY `idanterior` (`idanterior`)
) ENGINE=MyISAM AUTO_INCREMENT=4815 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `historialconductores`
--


--
-- Table structure for table `imprimirhtml`
--

CREATE TABLE `imprimirhtml` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `texto` text,
  `fechacreacion` datetime DEFAULT NULL,
  `usuario` varchar(50) DEFAULT NULL,
  `situacioncocina` varchar(25) DEFAULT 'SELECCIONE',
  `impresora` varchar(25) DEFAULT 'CAJA',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `imprimirhtml`
--


--
-- Table structure for table `informehorasporperiodo`
--

CREATE TABLE `informehorasporperiodo` (
  `id` int NOT NULL AUTO_INCREMENT,
  `nombre` varchar(50) DEFAULT NULL,
  `cedula` varchar(50) DEFAULT NULL,
  `horas` double DEFAULT NULL,
  `cantidaddedias` double DEFAULT NULL,
  `diferencia` double DEFAULT NULL,
  `diasregistrados` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `informehorasporperiodo`
--


--
-- Table structure for table `ingresoempleados`
--

CREATE TABLE `ingresoempleados` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ingreso` datetime DEFAULT NULL,
  `cc` int DEFAULT '2',
  `salida` datetime DEFAULT NULL,
  `idusuario` bigint unsigned NOT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  `usuario` varchar(50) DEFAULT NULL,
  `ip` varchar(20) DEFAULT NULL,
  `ipsalida` varchar(20) DEFAULT NULL,
  `estado` varchar(20) DEFAULT 'CREADO',
  `inicioesperado` datetime DEFAULT NULL,
  `salidaesperada` datetime DEFAULT NULL,
  `entradatarde` int DEFAULT '0',
  `salidatemprano` int DEFAULT '0',
  `diferenciaentrada` time DEFAULT NULL,
  `diferenciasalida` time DEFAULT NULL,
  `diasemanaingreso` int DEFAULT NULL,
  `diasemanasalida` int DEFAULT NULL,
  `horasextras` decimal(5,2) DEFAULT '0.00',
  `extrasdominical` decimal(5,2) DEFAULT '0.00',
  `extrasdominicalnocturno` decimal(5,2) DEFAULT '0.00',
  `extrasnocturno` decimal(5,2) DEFAULT '0.00',
  `extrasfestivonocturno` decimal(5,2) DEFAULT '0.00',
  `extrasfestivo` decimal(5,2) DEFAULT '0.00',
  `extrasdiurno` decimal(5,2) DEFAULT '0.00',
  `festivo` int DEFAULT NULL,
  `sumahorasextras` decimal(5,2) DEFAULT NULL,
  `nombreturno` varchar(25) DEFAULT NULL,
  `origendelasalida` varchar(4) DEFAULT 'java',
  `latitud` double DEFAULT '0',
  `longitud` double DEFAULT '0',
  `latitudsalida` double DEFAULT '0',
  `longitudsalida` double DEFAULT '0',
  `observaciones` varchar(200) DEFAULT NULL,
  `salidamenosentrada` decimal(4,2) DEFAULT '0.00',
  `minutosdescanso` int DEFAULT '0',
  `iniciocalculado` datetime DEFAULT NULL,
  `salidacalculada` datetime DEFAULT NULL,
  `iniciodescanso` datetime DEFAULT NULL,
  `findescanso` datetime DEFAULT NULL,
  `obsiniciodescanso` varchar(100) DEFAULT NULL,
  `obsfindescanso` varchar(100) DEFAULT NULL,
  `esparacompensatorio` bit(1) DEFAULT b'0',
  `compensatorioredimido` bit(1) DEFAULT b'0',
  `fecharedimido` date DEFAULT NULL,
  `escompensatorio` bit(1) DEFAULT b'0',
  `placa` varchar(6) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `ingresoempleados`
--


--
-- Table structure for table `ingresoplacas`
--

CREATE TABLE `ingresoplacas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ingreso` datetime DEFAULT NULL,
  `cc` int DEFAULT '2',
  `salida` datetime DEFAULT NULL,
  `idusuario` bigint unsigned NOT NULL,
  `usuario` varchar(50) DEFAULT NULL,
  `estado` varchar(20) DEFAULT 'CREADO',
  `salidaesperada` datetime DEFAULT NULL,
  `diferenciaentrada` time DEFAULT NULL,
  `diferenciasalida` time DEFAULT NULL,
  `diasemanaingreso` int DEFAULT NULL,
  `diasemanasalida` int DEFAULT NULL,
  `horasextras` decimal(5,2) DEFAULT '0.00',
  `extrasdominical` decimal(5,2) DEFAULT '0.00',
  `extrasdominicalnocturno` decimal(5,2) DEFAULT '0.00',
  `extrasnocturno` decimal(5,2) DEFAULT '0.00',
  `extrasfestivonocturno` decimal(5,2) DEFAULT '0.00',
  `extrasfestivo` decimal(5,2) DEFAULT '0.00',
  `extrasdiurno` decimal(5,2) DEFAULT '0.00',
  `festivo` int DEFAULT NULL,
  `telefonoconductor` varchar(15) DEFAULT NULL,
  `nombreturno` varchar(25) DEFAULT NULL,
  `origendelasalida` varchar(4) DEFAULT 'java',
  `latitud` double DEFAULT '0',
  `longitud` double DEFAULT '0',
  `latitudsalida` double DEFAULT '0',
  `longitudsalida` double DEFAULT '0',
  `observaciones` varchar(200) DEFAULT NULL,
  `salidamenosentrada` decimal(4,2) DEFAULT '0.00',
  `minutosdescanso` int DEFAULT '0',
  `iniciodescanso` datetime DEFAULT NULL,
  `findescanso` datetime DEFAULT NULL,
  `esparacompensatorio` bit(1) DEFAULT b'0',
  `compensatorioredimido` bit(1) DEFAULT b'0',
  `fecharedimido` date DEFAULT NULL,
  `escompensatorio` bit(1) DEFAULT b'0',
  `placa` varchar(6) DEFAULT NULL,
  `valorunitario` int DEFAULT '3000',
  `tipovehiculo` varchar(10) DEFAULT 'moto',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`)
) ENGINE=MyISAM AUTO_INCREMENT=59 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `ingresoplacas`
--

INSERT INTO `ingresoplacas` (`id`, `ingreso`, `cc`, `salida`, `idusuario`, `usuario`, `estado`, `salidaesperada`, `diferenciaentrada`, `diferenciasalida`, `diasemanaingreso`, `diasemanasalida`, `horasextras`, `extrasdominical`, `extrasdominicalnocturno`, `extrasnocturno`, `extrasfestivonocturno`, `extrasfestivo`, `extrasdiurno`, `festivo`, `telefonoconductor`, `nombreturno`, `origendelasalida`, `latitud`, `longitud`, `latitudsalida`, `longitudsalida`, `observaciones`, `salidamenosentrada`, `minutosdescanso`, `iniciodescanso`, `findescanso`, `esparacompensatorio`, `compensatorioredimido`, `fecharedimido`, `escompensatorio`, `placa`, `valorunitario`, `tipovehiculo`) VALUES (58,'2025-06-03 15:40:40',2,NULL,0,NULL,'CREADO',NULL,NULL,NULL,NULL,NULL,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'',NULL,'java',0,0,0,0,'',0.00,0,NULL,NULL,_binary '\0',_binary '\0',NULL,_binary '\0','NMU22B',2500,'moto');

--
-- Table structure for table `iniciosdesesion`
--

CREATE TABLE `iniciosdesesion` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime DEFAULT NULL,
  `usuario` varchar(100) DEFAULT NULL,
  `ipinicio` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=463 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `iniciosdesesion`
--

INSERT INTO `iniciosdesesion` (`id`, `fechacreacion`, `usuario`, `ipinicio`) VALUES (1,'2025-10-01 12:43:08','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','179.1.210.205'),(2,'2025-10-01 21:57:10','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(3,'2025-10-02 19:16:08','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(4,'2025-10-02 22:40:46','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(5,'2025-10-03 12:25:45','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.46.250'),(6,'2025-10-03 12:25:45','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.42.254'),(7,'2025-10-03 17:14:15','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.38.167'),(8,'2025-10-03 17:14:17','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.41.183'),(9,'2025-10-06 13:08:51','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.96.8'),(10,'2025-10-06 13:08:53','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.96.8'),(11,'2025-10-07 18:20:35','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.100.158'),(12,'2025-10-07 18:20:36','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.100.158'),(13,'2025-10-08 00:05:02','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(14,'2025-10-08 18:46:44','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(15,'2025-10-09 11:22:23','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.108.128'),(16,'2025-10-09 11:23:07','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(17,'2025-10-09 11:23:47','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(18,'2025-10-09 11:27:15','13 - STEFANY  DIAZ RIOS','200.10.30.227'),(19,'2025-10-09 11:31:28','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','200.10.30.227'),(20,'2025-10-09 13:48:07','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.108.128'),(21,'2025-10-09 13:48:07','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.108.128'),(22,'2025-10-09 14:08:47','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.13'),(23,'2025-10-09 14:10:16','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.13'),(24,'2025-10-09 14:18:31','15 - STEFANY  DIAZ RIOS','190.130.108.128'),(25,'2025-10-09 14:57:06','15 - STEFANY  DIAZ RIOS','190.130.108.128'),(26,'2025-10-11 18:56:33','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(27,'2025-10-11 19:07:41','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.109.204'),(28,'2025-10-11 19:07:42','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.109.204'),(29,'2025-10-11 19:32:20','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(30,'2025-10-11 19:35:44','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(31,'2025-10-11 20:22:29','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ','186.82.102.126'),(32,'2025-10-11 20:29:21','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ','186.82.102.126'),(33,'2025-10-15 13:41:06','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(34,'2025-10-16 08:42:15','18 - ROBIER  VALENCIA ','179.1.210.205'),(35,'2025-10-16 08:51:46','18 - ROBIER  VALENCIA ','179.1.210.205'),(36,'2025-10-16 08:55:42','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(37,'2025-10-16 08:59:08','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(38,'2025-10-16 09:12:01','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(39,'2025-10-16 09:12:56','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ','191.156.3.9'),(40,'2025-10-16 11:30:47','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ','191.156.3.9'),(41,'2025-10-16 11:31:02','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ','191.156.3.9'),(42,'2025-10-16 14:07:18','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(43,'2025-10-16 14:22:16','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(44,'2025-10-16 14:31:59','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(45,'2025-10-16 14:33:49','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(46,'2025-10-16 14:44:43','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(47,'2025-10-16 14:46:15','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(48,'2025-10-16 15:33:12','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(49,'2025-10-16 15:38:26','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(50,'2025-10-16 22:10:00','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.13'),(51,'2025-10-16 22:13:51','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.13'),(52,'2025-10-16 22:42:54','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ','191.156.4.139'),(53,'2025-10-17 09:16:09','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(54,'2025-10-17 11:35:55','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(55,'2025-10-17 11:41:28','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ','190.130.104.24'),(56,'2025-10-17 11:41:32','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.104.24'),(57,'2025-10-17 11:45:15','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(58,'2025-10-17 11:46:13','15 - STEFANY  DIAZ RIOS','186.82.102.126'),(59,'2025-10-17 11:49:24','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(60,'2025-10-17 11:50:07','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(61,'2025-10-17 15:56:48','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ','186.82.102.126'),(62,'2025-10-17 16:10:05','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ','186.82.102.126'),(63,'2025-10-17 16:16:04','15 - STEFANY  DIAZ RIOS','186.82.102.126'),(64,'2025-10-17 16:16:05','15 - STEFANY  DIAZ RIOS','186.82.102.126'),(65,'2025-10-17 16:16:06','15 - STEFANY  DIAZ RIOS','186.82.102.126'),(66,'2025-10-17 16:16:06','15 - STEFANY  DIAZ RIOS','186.82.102.126'),(67,'2025-10-17 16:16:06','15 - STEFANY  DIAZ RIOS','186.82.102.126'),(68,'2025-10-17 20:17:18','18 - ROBIER  VALENCIA ','179.1.210.205'),(69,'2025-10-18 18:37:17','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(70,'2025-10-18 18:41:34','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(71,'2025-10-18 18:44:08','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(72,'2025-10-19 10:22:04','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(73,'2025-10-19 10:25:20','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ','186.82.102.123'),(74,'2025-10-19 10:25:21','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ','186.82.102.123'),(75,'2025-10-19 10:26:03','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(76,'2025-10-19 10:27:58','15 - STEFANY  DIAZ RIOS','186.82.102.123'),(77,'2025-10-19 10:29:18','13 - STEFANY  DIAZ RIOS','186.82.102.123'),(78,'2025-10-19 10:58:21','13 - STEFANY  DIAZ RIOS','186.82.102.123'),(79,'2025-10-19 11:13:34','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(80,'2025-10-19 11:14:09','13 - STEFANY  DIAZ RIOS','186.82.102.123'),(81,'2025-10-19 11:14:38','15 - STEFANY  DIAZ RIOS','186.82.102.123'),(82,'2025-10-19 11:37:03','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(83,'2025-10-19 12:04:00','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(84,'2025-10-19 12:04:01','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(85,'2025-10-19 12:23:11','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(86,'2025-10-19 12:23:17','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.123'),(87,'2025-10-19 12:23:30','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.123'),(88,'2025-10-19 12:27:02','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(89,'2025-10-19 12:48:56','15 - STEFANY  DIAZ RIOS','186.82.102.126'),(90,'2025-10-19 13:02:21','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(91,'2025-10-19 16:27:24','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(92,'2025-10-19 16:28:44','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(93,'2025-10-19 18:04:24','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(94,'2025-10-19 18:04:35','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(95,'2025-10-19 20:13:48','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(96,'2025-10-19 21:22:41','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(97,'2025-10-19 22:05:16','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(98,'2025-10-19 22:57:35','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.123'),(99,'2025-10-19 23:50:00','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(100,'2025-10-20 08:13:12','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(101,'2025-10-20 08:13:50','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(102,'2025-10-20 09:50:36','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(103,'2025-10-20 14:07:30','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(104,'2025-10-20 15:53:29','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(105,'2025-10-20 17:05:13','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(106,'2025-10-20 17:47:29','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(107,'2025-10-20 18:56:49','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','179.1.210.205'),(108,'2025-10-20 19:03:44','18 - ROBIER  VALENCIA ','179.1.210.205'),(109,'2025-10-20 21:27:14','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(110,'2025-10-20 22:09:24','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(111,'2025-10-21 08:07:53','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(112,'2025-10-21 10:06:31','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(113,'2025-10-21 15:45:58','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(114,'2025-10-21 16:04:44','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.15.64'),(115,'2025-10-21 16:55:51','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.15.64'),(116,'2025-10-21 17:12:02','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.15.64'),(117,'2025-10-21 17:14:10','14 - SEBASTIAN  JIMENEZ PORRAS','191.156.15.64'),(118,'2025-10-21 17:19:27','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(119,'2025-10-21 22:05:47','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(120,'2025-10-22 08:21:05','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(121,'2025-10-22 09:45:59','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(122,'2025-10-22 10:55:48','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(123,'2025-10-22 12:55:00','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(124,'2025-10-22 13:12:21','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(125,'2025-10-22 13:13:07','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(126,'2025-10-22 13:18:17','6 - CAROL JULIANA ZULETA MONCADA','186.82.102.126'),(127,'2025-10-22 13:33:57','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(128,'2025-10-22 14:04:16','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(129,'2025-10-22 14:24:26','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(130,'2025-10-22 14:38:02','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(131,'2025-10-22 15:48:14','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(132,'2025-10-22 16:01:26','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(133,'2025-10-22 16:51:49','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(134,'2025-10-22 16:51:50','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(135,'2025-10-22 23:08:05','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(136,'2025-10-23 08:08:28','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(137,'2025-10-23 08:34:05','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(138,'2025-10-23 09:24:16','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(139,'2025-10-23 10:58:54','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(140,'2025-10-23 15:54:20','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(141,'2025-10-23 22:22:08','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(142,'2025-10-23 22:34:33','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(143,'2025-10-23 22:34:34','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(144,'2025-10-24 08:24:56','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(145,'2025-10-24 14:02:30','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(146,'2025-10-24 14:22:47','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(147,'2025-10-24 15:44:27','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(148,'2025-10-24 15:45:05','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(149,'2025-10-24 16:36:06','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(150,'2025-10-24 16:36:07','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(151,'2025-10-24 21:38:58','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','190.130.108.37'),(152,'2025-10-24 23:18:34','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(153,'2025-10-25 09:08:36','13 - STEFANY  DIAZ RIOS','200.10.30.227'),(154,'2025-10-25 13:33:18','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(155,'2025-10-25 13:33:19','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(156,'2025-10-25 15:08:52','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(157,'2025-10-25 15:45:06','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(158,'2025-10-25 15:45:07','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(159,'2025-10-25 16:51:21','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','200.10.30.227'),(160,'2025-10-25 16:54:01','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','200.10.30.227'),(161,'2025-10-25 16:55:08','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','200.10.30.227'),(162,'2025-10-25 16:56:22','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','200.10.30.227'),(163,'2025-10-25 22:18:59','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(164,'2025-10-26 08:12:05','13 - STEFANY  DIAZ RIOS','200.10.30.227'),(165,'2025-10-26 10:35:27','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(166,'2025-10-26 10:35:29','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(167,'2025-10-26 12:18:04','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(168,'2025-10-26 12:18:05','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(169,'2025-10-26 12:22:24','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(170,'2025-10-26 15:37:32','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(171,'2025-10-26 16:26:25','14 - SEBASTIAN  JIMENEZ PORRAS','200.10.30.227'),(172,'2025-10-26 22:10:32','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(173,'2025-10-26 22:10:33','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.103.108'),(174,'2025-10-27 10:50:01','13 - STEFANY  DIAZ RIOS','200.10.30.227'),(175,'2025-10-27 15:40:16','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(176,'2025-10-27 15:40:17','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(177,'2025-10-27 17:02:07','14 - SEBASTIAN  JIMENEZ PORRAS','200.10.30.227'),(178,'2025-10-27 17:28:26','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(179,'2025-10-27 22:09:15','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(180,'2025-10-27 22:09:16','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(181,'2025-10-28 08:17:33','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','200.10.30.227'),(182,'2025-10-28 11:00:15','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(183,'2025-10-28 11:00:16','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(184,'2025-10-28 14:28:33','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(185,'2025-10-28 14:28:36','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(186,'2025-10-28 16:03:24','14 - SEBASTIAN  JIMENEZ PORRAS','200.10.30.227'),(187,'2025-10-28 16:40:53','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(188,'2025-10-28 19:52:51','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(189,'2025-10-28 22:22:34','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(190,'2025-10-29 10:02:53','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','200.10.30.227'),(191,'2025-10-29 16:58:55','14 - SEBASTIAN  JIMENEZ PORRAS','200.10.30.227'),(192,'2025-10-29 22:11:31','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(193,'2025-10-29 22:11:32','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(194,'2025-10-29 22:35:41','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.13.56'),(195,'2025-10-29 22:35:42','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.13.56'),(196,'2025-10-29 22:48:14','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(197,'2025-10-29 22:48:16','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(198,'2025-10-30 08:13:19','13 - STEFANY  DIAZ RIOS','200.10.30.227'),(199,'2025-10-30 10:16:48','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(200,'2025-10-30 10:16:50','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(201,'2025-10-30 15:55:25','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','200.10.30.227'),(202,'2025-10-31 08:59:16','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(203,'2025-10-31 13:45:41','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(204,'2025-10-31 13:58:07','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(205,'2025-10-31 13:58:08','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(206,'2025-10-31 15:33:38','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(207,'2025-10-31 15:33:40','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(208,'2025-10-31 15:58:59','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(209,'2025-10-31 19:35:05','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(210,'2025-10-31 22:56:29','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(211,'2025-10-31 22:56:30','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(212,'2025-11-01 08:11:25','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(213,'2025-11-01 09:09:33','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(214,'2025-11-01 10:37:39','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(215,'2025-11-01 10:37:40','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(216,'2025-11-01 13:45:18','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(217,'2025-11-01 15:45:19','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(218,'2025-11-01 16:02:25','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(219,'2025-11-01 16:02:26','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(220,'2025-11-01 18:19:51','11 - JIMMY ANDRES ZULETA MONCADA','191.156.2.226'),(221,'2025-11-01 20:18:27','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(222,'2025-11-02 10:50:04','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(223,'2025-11-02 15:45:33','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(224,'2025-11-02 15:45:34','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(225,'2025-11-02 15:55:22','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(226,'2025-11-02 16:09:52','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(227,'2025-11-02 16:12:14','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(228,'2025-11-02 17:45:25','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(229,'2025-11-02 17:47:48','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(230,'2025-11-02 18:03:37','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(231,'2025-11-02 19:13:40','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(232,'2025-11-02 19:31:04','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(233,'2025-11-02 20:20:41','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(234,'2025-11-02 21:39:45','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(235,'2025-11-02 22:11:58','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(236,'2025-11-02 22:11:59','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(237,'2025-11-02 22:34:29','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(238,'2025-11-03 08:10:20','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(239,'2025-11-03 15:43:33','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(240,'2025-11-03 16:11:23','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(241,'2025-11-03 17:58:14','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(242,'2025-11-03 18:38:28','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(243,'2025-11-03 20:19:29','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(244,'2025-11-03 20:19:54','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(245,'2025-11-03 21:34:22','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(246,'2025-11-03 21:34:27','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(247,'2025-11-03 22:15:52','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(248,'2025-11-03 23:41:17','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(249,'2025-11-03 23:41:18','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(250,'2025-11-04 08:14:07','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(251,'2025-11-04 15:47:48','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(252,'2025-11-04 16:43:32','14 - SEBASTIAN  JIMENEZ PORRAS','200.10.30.227'),(253,'2025-11-04 18:16:43','14 - SEBASTIAN  JIMENEZ PORRAS','200.10.30.227'),(254,'2025-11-04 18:44:19','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(255,'2025-11-04 20:16:33','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(256,'2025-11-04 21:34:58','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','200.10.30.227'),(257,'2025-11-05 08:27:26','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','200.10.30.227'),(258,'2025-11-05 15:53:46','14 - SEBASTIAN  JIMENEZ PORRAS','200.10.30.227'),(259,'2025-11-05 17:43:33','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(260,'2025-11-05 17:43:34','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(261,'2025-11-05 17:53:28','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(262,'2025-11-05 17:53:29','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(263,'2025-11-05 18:14:14','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(264,'2025-11-05 21:43:59','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(265,'2025-11-05 21:44:00','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(266,'2025-11-05 22:11:16','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(267,'2025-11-06 08:33:05','13 - STEFANY  DIAZ RIOS','200.10.30.227'),(268,'2025-11-06 15:39:37','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(269,'2025-11-06 15:39:38','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(270,'2025-11-06 16:02:06','14 - SEBASTIAN  JIMENEZ PORRAS','200.10.30.227'),(271,'2025-11-06 18:07:34','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(272,'2025-11-06 20:02:54','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(273,'2025-11-06 20:05:29','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(274,'2025-11-06 23:46:47','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.3.251'),(275,'2025-11-06 23:46:48','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.3.251'),(276,'2025-11-07 08:03:40','13 - STEFANY  DIAZ RIOS','200.10.30.227'),(277,'2025-11-07 15:50:29','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(278,'2025-11-07 18:30:05','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.7.249'),(279,'2025-11-07 18:30:07','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.7.249'),(280,'2025-11-07 20:59:56','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(281,'2025-11-07 21:37:00','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(282,'2025-11-08 08:11:12','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(283,'2025-11-08 12:08:02','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(284,'2025-11-08 12:08:03','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(285,'2025-11-08 12:13:06','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(286,'2025-11-08 13:03:22','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(287,'2025-11-08 15:31:55','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(288,'2025-11-08 15:54:31','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(289,'2025-11-08 17:11:56','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(290,'2025-11-08 19:38:13','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(291,'2025-11-09 08:16:12','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(292,'2025-11-09 15:22:17','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.4.66'),(293,'2025-11-09 15:22:18','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.4.66'),(294,'2025-11-09 15:53:42','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(295,'2025-11-09 16:00:30','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(296,'2025-11-09 16:06:21','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(297,'2025-11-09 18:03:15','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(298,'2025-11-09 18:46:04','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(299,'2025-11-09 18:46:05','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(300,'2025-11-09 18:51:07','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(301,'2025-11-09 21:11:18','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(302,'2025-11-09 21:11:20','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(303,'2025-11-10 09:43:06','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(304,'2025-11-10 14:14:00','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(305,'2025-11-10 15:12:11','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(306,'2025-11-10 15:44:03','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(307,'2025-11-10 15:44:05','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(308,'2025-11-10 17:08:26','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(309,'2025-11-10 18:13:17','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(310,'2025-11-10 18:24:54','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(311,'2025-11-10 18:38:45','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(312,'2025-11-10 18:38:46','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(313,'2025-11-10 20:10:40','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(314,'2025-11-10 22:10:55','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(315,'2025-11-11 10:06:24','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(316,'2025-11-11 11:15:13','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(317,'2025-11-11 15:55:43','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(318,'2025-11-11 16:10:37','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(319,'2025-11-11 16:10:38','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(320,'2025-11-11 17:21:29','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(321,'2025-11-11 17:55:51','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(322,'2025-11-11 20:13:47','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(323,'2025-11-11 20:14:29','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(324,'2025-11-12 08:48:27','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(325,'2025-11-12 14:44:48','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(326,'2025-11-12 15:15:48','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(327,'2025-11-12 15:50:13','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(328,'2025-11-12 15:51:40','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(329,'2025-11-12 22:27:47','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.108.219'),(330,'2025-11-12 22:27:49','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.108.219'),(331,'2025-11-12 22:32:10','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.108.219'),(332,'2025-11-12 23:12:09','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(333,'2025-11-13 01:08:04','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.106.34'),(334,'2025-11-13 01:08:06','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.106.34'),(335,'2025-11-13 09:28:13','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(336,'2025-11-13 14:28:13','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(337,'2025-11-13 15:27:36','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.6.146'),(338,'2025-11-13 15:27:48','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.6.146'),(339,'2025-11-13 16:21:14','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(340,'2025-11-13 22:13:53','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.0.194'),(341,'2025-11-13 22:13:59','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.0.194'),(342,'2025-11-13 23:27:02','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(343,'2025-11-13 23:28:18','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.0.194'),(344,'2025-11-13 23:28:18','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.0.194'),(345,'2025-11-14 13:31:46','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(346,'2025-11-14 15:04:39','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.109.247'),(347,'2025-11-14 15:04:55','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.109.247'),(348,'2025-11-14 16:33:20','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.101.79'),(349,'2025-11-14 16:33:26','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.101.79'),(350,'2025-11-14 16:33:30','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(351,'2025-11-14 16:33:36','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.101.79'),(352,'2025-11-14 16:33:39','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.101.79'),(353,'2025-11-14 16:33:40','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.101.79'),(354,'2025-11-15 09:23:17','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(355,'2025-11-15 15:20:25','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.105.119'),(356,'2025-11-15 15:20:26','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.105.119'),(357,'2025-11-15 15:49:28','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(358,'2025-11-15 16:53:15','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(359,'2025-11-15 17:52:55','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(360,'2025-11-15 22:46:55','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','190.130.100.32'),(361,'2025-11-15 22:49:34','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.105.119'),(362,'2025-11-15 22:49:36','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.105.119'),(363,'2025-11-15 22:50:26','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(364,'2025-11-15 22:59:16','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(365,'2025-11-16 08:23:53','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(366,'2025-11-16 12:22:24','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(367,'2025-11-16 17:11:38','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.105.119'),(368,'2025-11-16 17:11:39','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.105.119'),(369,'2025-11-16 22:30:28','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(370,'2025-11-16 22:30:29','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(371,'2025-11-16 22:51:39','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(372,'2025-11-16 22:51:40','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(373,'2025-11-16 23:25:43','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(374,'2025-11-16 23:25:44','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(375,'2025-11-17 00:00:08','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(376,'2025-11-17 00:00:09','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(377,'2025-11-17 09:47:02','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(378,'2025-11-17 12:08:23','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(379,'2025-11-17 13:17:15','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(380,'2025-11-17 17:40:29','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(381,'2025-11-17 21:18:32','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.1.238'),(382,'2025-11-17 22:54:04','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.1.238'),(383,'2025-11-17 22:54:05','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.1.238'),(384,'2025-11-17 23:16:38','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.1.238'),(385,'2025-11-17 23:16:39','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.1.238'),(386,'2025-11-18 00:19:34','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.1.238'),(387,'2025-11-18 05:49:15','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(388,'2025-11-18 08:50:02','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(389,'2025-11-18 16:45:55','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(390,'2025-11-18 16:59:15','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(391,'2025-11-18 18:06:57','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(392,'2025-11-18 22:52:14','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','190.130.107.38'),(393,'2025-11-19 09:17:55','11 - JIMMY ANDRES ZULETA MONCADA','186.82.102.126'),(394,'2025-11-19 16:25:02','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(395,'2025-11-19 16:55:37','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(396,'2025-11-19 17:44:18','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.43.6'),(397,'2025-11-19 17:44:19','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.39.191'),(398,'2025-11-19 22:07:29','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(399,'2025-11-19 22:07:30','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(400,'2025-11-20 22:33:59','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(401,'2025-11-20 22:40:19','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(402,'2025-11-20 22:40:20','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(403,'2025-11-20 22:42:11','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(404,'2025-11-20 22:49:08','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(405,'2025-11-21 08:58:06','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(406,'2025-11-21 11:19:06','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(407,'2025-11-21 15:49:49','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(408,'2025-11-21 16:31:55','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(409,'2025-11-21 16:31:56','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(410,'2025-11-21 17:41:47','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(411,'2025-11-21 18:06:50','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.2.214'),(412,'2025-11-21 18:06:52','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.2.214'),(413,'2025-11-21 18:18:22','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(414,'2025-11-21 18:52:36','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(415,'2025-11-21 19:23:20','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.12.235'),(416,'2025-11-21 19:23:22','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.12.235'),(417,'2025-11-21 20:27:16','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(418,'2025-11-21 20:28:52','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.12.228'),(419,'2025-11-21 21:24:37','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(420,'2025-11-21 21:37:27','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(421,'2025-11-21 21:47:59','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(422,'2025-11-21 22:01:35','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(423,'2025-11-21 22:05:11','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.12.228'),(424,'2025-11-21 22:32:16','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(425,'2025-11-22 11:32:56','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(426,'2025-11-22 15:28:28','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(427,'2025-11-22 18:14:40','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.9.144'),(428,'2025-11-22 18:48:38','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(429,'2025-11-22 19:54:25','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(430,'2025-11-22 20:34:51','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.43.204'),(431,'2025-11-22 22:35:05','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(432,'2025-11-23 14:42:48','6 - CAROL JULIANA JULIANA ZULETA MONCADA MONCADA','186.82.102.126'),(433,'2025-11-23 17:23:57','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.13.34'),(434,'2025-11-23 17:23:58','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.13.34'),(435,'2025-11-23 17:42:08','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(436,'2025-11-23 19:16:04','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(437,'2025-11-23 20:39:35','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(438,'2025-11-23 20:39:36','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(439,'2025-11-23 22:21:22','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(440,'2025-11-23 22:21:23','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(441,'2025-11-23 22:51:15','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(442,'2025-11-23 22:51:16','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(443,'2025-11-24 10:02:26','11 - JIMMY ANDRES ZULETA MONCADA','186.82.102.126'),(444,'2025-11-24 15:29:14','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(445,'2025-11-24 15:39:39','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(446,'2025-11-24 15:39:40','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(447,'2025-11-24 15:57:32','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(448,'2025-11-24 18:10:17','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(449,'2025-11-24 23:00:08','11 - JIMMY ANDRES ZULETA MONCADA','191.156.13.83'),(450,'2025-11-25 10:09:57','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.126'),(451,'2025-11-25 18:45:42','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(452,'2025-11-26 08:41:06','12 - JUAN ESTEBAN RAMIREZ RODRIGUEZ   ','186.82.102.126'),(453,'2025-11-26 15:48:25','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(454,'2025-11-26 19:19:15','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(455,'2025-11-26 19:19:16','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(456,'2025-11-26 21:46:37','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(457,'2025-11-26 22:26:45','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(458,'2025-11-26 22:26:46','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','186.82.102.123'),(459,'2025-11-27 09:32:20','11 - JIMMY ANDRES ZULETA MONCADA','186.82.102.126'),(460,'2025-11-27 15:54:59','13 - STEFANY  DIAZ RIOS','186.82.102.126'),(461,'2025-11-27 17:20:06','14 - SEBASTIAN  JIMENEZ PORRAS','186.82.102.126'),(462,'2025-11-27 22:29:21','5 - CAMILA ANDREA RAMIREZ RODRIGUEZ','191.156.41.92');

--
-- Table structure for table `insumos`
--

CREATE TABLE `insumos` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `descripcion` varchar(50) NOT NULL DEFAULT ' ',
  `cantidad` double NOT NULL DEFAULT '0',
  `valordecompra` int NOT NULL DEFAULT '0',
  `cantidadminima` double NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `pv` varchar(25) DEFAULT 'KALDI',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  CONSTRAINT `insumos_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `insumos_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `insumos`
--


--
-- Table structure for table `inventarioinicial`
--

CREATE TABLE `inventarioinicial` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idarticulo` bigint unsigned NOT NULL,
  `descripcion` varchar(100) NOT NULL DEFAULT '',
  `cantidad` double NOT NULL,
  `mes` int NOT NULL,
  `ano` int NOT NULL,
  `costomedio` double NOT NULL,
  `idusuario` bigint unsigned NOT NULL,
  `cc` bigint unsigned NOT NULL,
  `fechacracion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fisico` double NOT NULL DEFAULT '0',
  `idmayor` bigint unsigned NOT NULL DEFAULT '0',
  `contado` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idmayor` (`idusuario`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idmayor_2` (`idmayor`),
  CONSTRAINT `inventarioinicial_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `mayoresinventarioinicial` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `inventarioinicial`
--


--
-- Table structure for table `ipbloqueadas`
--

CREATE TABLE `ipbloqueadas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ip` varchar(25) DEFAULT NULL,
  `alias` varchar(50) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  `fechacreacion` datetime DEFAULT CURRENT_TIMESTAMP,
  `cedula` varchar(15) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `ipbloqueadas`
--


--
-- Table structure for table `ips`
--

CREATE TABLE `ips` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ip` varchar(25) DEFAULT NULL,
  `alias` varchar(50) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `ips`
--

INSERT INTO `ips` (`id`, `ip`, `alias`, `pv`) VALUES (1,'186.82.102.12',NULL,'KALDI'),(2,'81.0.36.219',NULL,'KALDI');

--
-- Table structure for table `jsonrecibido2`
--

CREATE TABLE `jsonrecibido2` (
  `idrapi` varchar(25) DEFAULT NULL,
  `descripcion` varchar(100) DEFAULT NULL,
  `valor` int NOT NULL DEFAULT '0',
  `cantidad` int NOT NULL DEFAULT '0',
  `comentarios` varchar(100) DEFAULT NULL,
  `descuento` double DEFAULT NULL,
  `front` varchar(25) DEFAULT NULL,
  `idpadre` varchar(25) DEFAULT NULL,
  `numero` int NOT NULL DEFAULT '0',
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `jsonrecibido2`
--


--
-- Table structure for table `lineas`
--

CREATE TABLE `lineas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `linea` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `cc` bigint unsigned NOT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  `ordenlinea` int DEFAULT NULL,
  `valorpuntos` int DEFAULT '0',
  `urlfotolinea` varchar(200) DEFAULT NULL,
  `saleentv` bit(1) DEFAULT b'1',
  `observaciones` text,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `lineas`
--


--
-- Table structure for table `lineasborradas`
--

CREATE TABLE `lineasborradas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idusuario` bigint unsigned NOT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `idarticulo` bigint unsigned NOT NULL,
  `cantidad` int NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL,
  `descripcion` varchar(50) DEFAULT NULL,
  `usuario` varchar(150) DEFAULT NULL,
  `valorunitario` int DEFAULT '0',
  `mesa` varchar(250) DEFAULT NULL,
  `impreso` int DEFAULT '0',
  `idcliente` int DEFAULT '0',
  `origen` varchar(15) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idcliente` (`idusuario`),
  KEY `idarticulo` (`idarticulo`),
  KEY `cc` (`cc`),
  CONSTRAINT `lineasborradas_ibfk_2` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=466 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lineasborradas`
--

INSERT INTO `lineasborradas` (`id`, `idusuario`, `fechacreacion`, `idarticulo`, `cantidad`, `cc`, `descripcion`, `usuario`, `valorunitario`, `mesa`, `impreso`, `idcliente`, `origen`, `pv`) VALUES (1,5,'2025-10-02 20:42:47',2,2,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',2500,'2',0,0,NULL,'KALDI'),(2,5,'2025-10-02 21:06:30',2,10,2,'AMERICANO, obs: SERVIR EN  cliente: CONSUMIDOR FIN','CAMILA ANDREA RAMIREZ RODRIGUEZ',2000,'4',0,0,NULL,'KALDI'),(3,5,'2025-10-02 22:43:56',2,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',2500,'2',0,0,NULL,'KALDI'),(4,5,'2025-10-07 23:59:59',9,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',2500,'6',0,0,NULL,'KALDI'),(5,5,'2025-10-07 23:59:59',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',17000,'2',0,0,NULL,'KALDI'),(6,5,'2025-10-07 23:59:59',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',17000,'2',0,0,NULL,'KALDI'),(7,1,'2025-10-08 15:57:41',2,1,2,NULL,' ',2500,'4',0,0,NULL,'KALDI'),(8,1,'2025-10-08 15:58:23',8,1,2,NULL,' ',19000,'4',0,0,NULL,'KALDI'),(9,1,'2025-10-08 15:58:24',4,1,2,NULL,' ',17000,'4',0,0,NULL,'KALDI'),(10,13,'2025-10-09 11:27:32',26,1,2,NULL,'STEFANY  DIAZ RIOS',3000,'2',0,0,NULL,'KALDI'),(11,13,'2025-10-09 11:29:33',183,2,2,NULL,'STEFANY  DIAZ RIOS',11500,'2',0,0,NULL,'KALDI'),(12,5,'2025-10-09 11:32:31',183,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',11500,'2',0,0,NULL,'KALDI'),(13,15,'2025-10-09 14:20:39',183,2,2,NULL,'STEFANY  DIAZ RIOS',9000,'2',1,0,NULL,'KALDI'),(14,12,'2025-10-11 20:46:35',81,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ',7500,'2',1,0,NULL,'KALDI'),(15,12,'2025-10-11 20:46:37',36,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ',7000,'2',1,0,NULL,'KALDI'),(16,12,'2025-10-11 20:46:38',178,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ',15000,'2',1,0,NULL,'KALDI'),(17,12,'2025-10-16 11:31:09',187,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ',12000,'2',1,0,NULL,'KALDI'),(18,12,'2025-10-16 11:32:24',26,2,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ',5000,'2',0,0,NULL,'KALDI'),(19,1,'2025-10-16 14:36:43',48,1,2,NULL,' ',12000,'3',1,0,NULL,'KALDI'),(20,1,'2025-10-16 14:36:44',105,1,2,NULL,' ',12000,'3',1,0,NULL,'KALDI'),(21,1,'2025-10-16 14:41:21',105,1,2,NULL,' ',12000,'3',1,0,NULL,'KALDI'),(22,5,'2025-10-16 14:49:56',184,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',11500,'3',1,0,NULL,'KALDI'),(23,5,'2025-10-16 14:52:02',26,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',3000,'2',0,0,NULL,'KALDI'),(24,5,'2025-10-16 16:49:46',26,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',3000,'4',1,0,NULL,'KALDI'),(25,5,'2025-10-16 16:50:02',26,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',3000,'6',0,0,NULL,'KALDI'),(26,5,'2025-10-16 16:50:03',35,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',10000,'6',0,0,NULL,'KALDI'),(27,5,'2025-10-16 16:50:04',58,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',8500,'6',0,0,NULL,'KALDI'),(28,5,'2025-10-16 21:55:54',30,0,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',6000,'2',0,0,NULL,'KALDI'),(29,5,'2025-10-16 22:40:18',84,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',7000,'4',0,0,NULL,'KALDI'),(30,5,'2025-10-16 22:40:20',178,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',18000,'4',0,0,NULL,'KALDI'),(31,5,'2025-10-16 22:40:40',84,0,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',7000,'4',0,0,NULL,'KALDI'),(32,5,'2025-10-16 22:41:41',84,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',7000,'4',0,0,NULL,'KALDI'),(33,5,'2025-10-16 22:41:43',43,4,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',2000,'4',0,0,NULL,'KALDI'),(34,12,'2025-10-16 22:53:41',177,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ',23000,'2',0,0,NULL,'KALDI'),(35,13,'2025-10-17 11:50:52',26,0,2,NULL,'STEFANY  DIAZ RIOS',3000,'6',0,0,NULL,'KALDI'),(36,13,'2025-10-17 11:55:45',2,0,2,NULL,'STEFANY  DIAZ RIOS',2500,'6',0,0,NULL,'KALDI'),(37,12,'2025-10-17 16:00:02',108,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ',9000,'3',0,0,NULL,'KALDI'),(38,12,'2025-10-17 16:00:04',108,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ',9000,'3',0,0,NULL,'KALDI'),(39,12,'2025-10-17 16:15:14',207,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ',3000,'2',1,0,NULL,'KALDI'),(40,13,'2025-10-18 18:41:26',26,0,2,NULL,'STEFANY  DIAZ RIOS',3000,'13',0,0,NULL,'KALDI'),(41,13,'2025-10-18 18:45:31',10,0,2,NULL,'STEFANY  DIAZ RIOS',90000,'9',0,0,NULL,'KALDI'),(42,13,'2025-10-19 11:10:24',180,1,2,NULL,'STEFANY  DIAZ RIOS',14000,'12',0,0,NULL,'KALDI'),(43,13,'2025-10-19 11:45:22',28,1,2,NULL,'STEFANY  DIAZ RIOS',8000,'7',0,0,NULL,'KALDI'),(44,13,'2025-10-19 11:45:25',28,1,2,NULL,'STEFANY  DIAZ RIOS',8000,'7',0,0,NULL,'KALDI'),(45,13,'2025-10-19 11:45:29',185,1,2,NULL,'STEFANY  DIAZ RIOS',12500,'7',0,0,NULL,'KALDI'),(46,13,'2025-10-19 11:45:32',26,1,2,NULL,'STEFANY  DIAZ RIOS',3000,'7',0,0,NULL,'KALDI'),(47,13,'2025-10-19 11:45:35',26,1,2,NULL,'STEFANY  DIAZ RIOS',3000,'7',0,0,NULL,'KALDI'),(48,13,'2025-10-19 11:45:36',186,1,2,NULL,'STEFANY  DIAZ RIOS',6000,'7',0,0,NULL,'KALDI'),(49,12,'2025-10-19 12:24:24',26,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',2500,'4',0,0,NULL,'KALDI'),(50,12,'2025-10-19 12:24:31',26,0,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',2500,'4',0,0,NULL,'KALDI'),(51,12,'2025-10-19 12:26:19',37,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',8000,'4',0,0,NULL,'KALDI'),(52,5,'2025-10-19 12:32:14',102,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',12000,'11',0,0,NULL,'KALDI'),(53,13,'2025-10-19 13:22:21',184,1,2,NULL,'STEFANY  DIAZ RIOS',9000,'4',0,0,NULL,'KALDI'),(54,12,'2025-10-19 18:07:14',131,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',17000,'8',1,0,NULL,'KALDI'),(55,12,'2025-10-19 18:07:16',132,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',16000,'8',1,0,NULL,'KALDI'),(56,12,'2025-10-19 18:07:36',132,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',16000,'12',0,0,NULL,'KALDI'),(57,14,'2025-10-19 19:47:01',85,0,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',6000,'5',0,0,NULL,'KALDI'),(58,12,'2025-10-19 19:58:13',166,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',22500,'8',0,0,NULL,'KALDI'),(59,12,'2025-10-19 19:58:20',15,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',2000,'8',0,0,NULL,'KALDI'),(60,14,'2025-10-21 21:43:09',4,0,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',17000,'8',0,0,NULL,'KALDI'),(61,12,'2025-10-22 10:37:06',30,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',6000,'2',0,0,NULL,'KALDI'),(62,5,'2025-10-22 14:47:22',204,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',4200,'7',0,0,NULL,'KALDI'),(63,14,'2025-10-22 16:31:51',136,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',11000,'3',0,0,NULL,'KALDI'),(64,14,'2025-10-22 20:03:45',229,2,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',5500,'7',0,0,NULL,'KALDI'),(65,14,'2025-10-22 21:13:47',25,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',5000,'5',0,0,NULL,'KALDI'),(66,5,'2025-10-22 22:58:17',2,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',2500,'2',0,0,NULL,'KALDI'),(67,13,'2025-10-23 11:00:30',219,1,2,NULL,'STEFANY  DIAZ RIOS',4200,'11',1,0,NULL,'KALDI'),(68,13,'2025-10-23 11:00:31',219,1,2,NULL,'STEFANY  DIAZ RIOS',4200,'11',1,0,NULL,'KALDI'),(69,13,'2025-10-23 11:00:32',222,1,2,NULL,'STEFANY  DIAZ RIOS',5000,'11',1,0,NULL,'KALDI'),(70,13,'2025-10-23 11:40:25',2,1,2,NULL,'STEFANY  DIAZ RIOS',2500,'7',1,0,NULL,'KALDI'),(71,14,'2025-10-23 16:12:04',2,0,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',2500,'2',0,0,NULL,'KALDI'),(72,14,'2025-10-23 21:20:18',189,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',12000,'4',0,0,NULL,'KALDI'),(73,14,'2025-10-23 21:50:10',138,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',6000,'5',0,0,NULL,'KALDI'),(74,5,'2025-10-24 15:51:40',243,8,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',3000,'7',1,0,NULL,'KALDI'),(75,5,'2025-10-24 17:58:45',167,2,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',14000,'4',0,0,NULL,'KALDI'),(76,5,'2025-10-24 17:59:11',167,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',18000,'4',0,0,NULL,'KALDI'),(77,5,'2025-10-24 21:23:09',12,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',4000,'6',0,0,NULL,'KALDI'),(78,12,'2025-10-25 18:18:43',166,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',18500,'5',0,0,NULL,'KALDI'),(79,12,'2025-10-25 20:04:28',135,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',8000,'10',1,0,NULL,'KALDI'),(80,13,'2025-10-26 13:38:02',237,1,2,NULL,'STEFANY  DIAZ RIOS',3000,'2',0,0,NULL,'KALDI'),(81,5,'2025-10-26 16:15:32',163,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',25000,'2',0,0,NULL,'KALDI'),(82,14,'2025-10-26 18:55:43',82,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',8000,'10',0,0,NULL,'KALDI'),(83,12,'2025-10-28 09:23:15',62,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',7000,'3',0,0,NULL,'KALDI'),(84,13,'2025-10-28 16:43:04',213,1,2,NULL,'STEFANY  DIAZ RIOS',5800,'6',0,0,NULL,'KALDI'),(85,13,'2025-10-28 16:43:07',80,1,2,NULL,'STEFANY  DIAZ RIOS',7500,'6',0,0,NULL,'KALDI'),(86,13,'2025-10-28 16:43:10',28,1,2,NULL,'STEFANY  DIAZ RIOS',6000,'6',0,0,NULL,'KALDI'),(87,13,'2025-10-28 16:43:11',135,1,2,NULL,'STEFANY  DIAZ RIOS',8000,'6',0,0,NULL,'KALDI'),(88,13,'2025-10-28 16:43:12',219,1,2,NULL,'STEFANY  DIAZ RIOS',4200,'6',0,0,NULL,'KALDI'),(89,13,'2025-10-28 16:43:13',178,1,2,NULL,'STEFANY  DIAZ RIOS',18000,'6',0,0,NULL,'KALDI'),(90,14,'2025-10-28 16:47:21',181,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',19000,'7',0,0,NULL,'KALDI'),(91,14,'2025-10-28 21:30:41',83,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',8000,'8',0,0,NULL,'KALDI'),(92,5,'2025-10-29 10:34:40',217,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',5500,'5',0,0,NULL,'KALDI'),(93,5,'2025-10-29 16:55:45',178,20000,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',20000,'3',0,0,NULL,'KALDI'),(94,14,'2025-10-29 20:31:55',166,22500,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',18500,'7',0,0,NULL,'KALDI'),(95,1,'2025-10-30 08:27:32',258,1,2,NULL,' ',10000,'6',0,0,NULL,'KALDI'),(96,13,'2025-10-30 13:32:45',27,1,2,NULL,'STEFANY  DIAZ RIOS',5000,'7',0,0,NULL,'KALDI'),(97,13,'2025-10-30 13:32:53',53,1,2,NULL,'STEFANY  DIAZ RIOS',2000,'7',0,0,NULL,'KALDI'),(98,12,'2025-10-30 20:54:51',104,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',12000,'9',0,0,NULL,'KALDI'),(99,12,'2025-10-30 22:38:27',178,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',15000,'9',1,0,NULL,'KALDI'),(100,13,'2025-10-31 08:57:46',38,0,2,NULL,'STEFANY  DIAZ RIOS',4000,'2',0,0,NULL,'KALDI'),(101,5,'2025-10-31 13:46:55',2,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',2500,'9',0,0,NULL,'KALDI'),(102,5,'2025-10-31 13:46:56',2,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',2500,'9',0,0,NULL,'KALDI'),(103,12,'2025-10-31 16:26:27',85,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',6000,'6',0,0,NULL,'KALDI'),(104,12,'2025-10-31 16:27:57',77,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',8000,'10',0,0,NULL,'KALDI'),(105,12,'2025-10-31 21:43:45',167,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',14000,'5',0,0,NULL,'KALDI'),(106,5,'2025-11-01 10:40:20',116,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',38000,'8',1,0,NULL,'KALDI'),(107,12,'2025-11-01 18:44:58',5,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4000,'6',0,0,NULL,'KALDI'),(108,12,'2025-11-01 19:54:36',206,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4200,'10',0,0,NULL,'KALDI'),(109,12,'2025-11-01 19:55:05',178,15000,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',18000,'3',0,0,NULL,'KALDI'),(110,12,'2025-11-01 21:16:12',38,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4000,'10',0,0,NULL,'KALDI'),(111,12,'2025-11-01 21:21:10',178,30000,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',18000,'3',0,0,NULL,'KALDI'),(112,12,'2025-11-02 19:38:24',90,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',9000,'11',0,0,NULL,'KALDI'),(113,12,'2025-11-02 19:47:59',83,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',8000,'12',0,0,NULL,'KALDI'),(114,14,'2025-11-02 20:45:59',81,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',8000,'6',0,0,NULL,'KALDI'),(115,14,'2025-11-02 20:48:47',78,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',6000,'8',0,0,NULL,'KALDI'),(116,14,'2025-11-02 20:48:48',178,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',15000,'8',0,0,NULL,'KALDI'),(117,14,'2025-11-03 19:09:23',204,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',4200,'7',1,0,NULL,'KALDI'),(118,12,'2025-11-03 22:17:34',212,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',15000,'2',0,0,NULL,'KALDI'),(119,12,'2025-11-04 12:24:58',28,2,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',6000,'6',1,0,NULL,'KALDI'),(120,12,'2025-11-04 12:25:36',5,2,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4000,'6',1,0,NULL,'KALDI'),(121,12,'2025-11-04 12:25:38',2,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',2500,'6',1,0,NULL,'KALDI'),(122,12,'2025-11-04 12:25:41',2,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',2500,'6',1,0,NULL,'KALDI'),(123,12,'2025-11-04 12:25:43',76,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',6000,'6',1,0,NULL,'KALDI'),(124,14,'2025-11-04 20:08:06',135,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',8000,'3',1,0,NULL,'KALDI'),(125,14,'2025-11-04 21:34:24',183,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',9000,'5',0,0,NULL,'KALDI'),(126,14,'2025-11-05 20:51:54',189,0,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',12000,'12',0,0,NULL,'KALDI'),(127,13,'2025-11-06 11:00:40',184,1,2,NULL,'STEFANY  DIAZ RIOS',9000,'7',0,0,NULL,'KALDI'),(128,5,'2025-11-06 18:32:59',132,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',16000,'6',0,0,NULL,'KALDI'),(129,5,'2025-11-06 18:33:00',18,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',4500,'6',0,0,NULL,'KALDI'),(130,5,'2025-11-06 18:33:05',320,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'14',0,0,NULL,'KALDI'),(131,5,'2025-11-06 18:33:06',118,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',28000,'14',0,0,NULL,'KALDI'),(132,13,'2025-11-07 13:27:16',2,1,2,NULL,'STEFANY  DIAZ RIOS',2500,'12',0,0,NULL,'KALDI'),(133,12,'2025-11-07 16:04:56',180,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',14000,'5',0,0,NULL,'KALDI'),(134,1,'2025-11-07 17:00:39',467,1,2,NULL,' ',0,'2',0,0,NULL,'KALDI'),(135,1,'2025-11-07 17:06:50',467,1,2,NULL,' ',0,'2',0,0,NULL,'KALDI'),(136,1,'2025-11-07 17:06:50',39,1,2,NULL,' ',0,'2',0,0,NULL,'KALDI'),(137,1,'2025-11-07 17:06:50',184,1,2,NULL,' ',0,'2',0,0,NULL,'KALDI'),(138,5,'2025-11-07 21:08:57',467,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(139,5,'2025-11-07 21:11:55',182,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',11000,'5',0,0,NULL,'KALDI'),(140,13,'2025-11-08 10:28:58',2,1,2,NULL,'STEFANY  DIAZ RIOS',2500,'10',1,0,NULL,'KALDI'),(141,13,'2025-11-08 10:50:19',2,1,2,NULL,'STEFANY  DIAZ RIOS',2500,'13',1,0,NULL,'KALDI'),(142,13,'2025-11-08 12:09:54',34,1,2,NULL,'STEFANY  DIAZ RIOS',7000,'11',0,0,NULL,'KALDI'),(143,13,'2025-11-08 12:10:05',34,1,2,NULL,'STEFANY  DIAZ RIOS',7000,'10',0,0,NULL,'KALDI'),(144,13,'2025-11-09 12:45:35',83,1,2,NULL,'STEFANY  DIAZ RIOS',7500,'8',0,0,NULL,'KALDI'),(145,12,'2025-11-09 18:47:31',178,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',15000,'2',0,0,NULL,'KALDI'),(146,12,'2025-11-09 22:16:48',185,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',11000,'7',1,0,NULL,'KALDI'),(147,12,'2025-11-09 22:16:50',84,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',6000,'7',1,0,NULL,'KALDI'),(148,5,'2025-11-10 15:20:17',467,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(149,5,'2025-11-10 15:20:21',468,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(150,5,'2025-11-10 15:24:37',467,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(151,5,'2025-11-10 15:25:51',467,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(152,5,'2025-11-10 15:28:21',467,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(153,5,'2025-11-10 17:07:51',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(154,5,'2025-11-10 17:09:32',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(155,5,'2025-11-10 17:09:32',166,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',18500,'5',0,0,NULL,'KALDI'),(156,5,'2025-11-10 17:09:32',165,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',4000,'5',0,0,NULL,'KALDI'),(157,5,'2025-11-10 17:09:32',204,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',4200,'5',0,0,NULL,'KALDI'),(161,5,'2025-11-10 17:27:22',484,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',10000,'5',0,0,NULL,'KALDI'),(162,14,'2025-11-10 17:28:17',4,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',0,'4',0,0,NULL,'KALDI'),(163,14,'2025-11-10 17:28:17',164,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',11000,'4',0,0,NULL,'KALDI'),(164,14,'2025-11-10 17:28:17',165,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',4000,'4',0,0,NULL,'KALDI'),(165,14,'2025-11-10 17:28:17',206,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',4200,'4',0,0,NULL,'KALDI'),(169,5,'2025-11-10 17:42:48',485,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'4',0,0,NULL,'KALDI'),(170,5,'2025-11-10 17:42:48',28,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',6000,'4',0,0,NULL,'KALDI'),(172,5,'2025-11-10 17:42:58',485,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'4',0,0,NULL,'KALDI'),(173,5,'2025-11-10 17:42:58',29,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',8000,'4',0,0,NULL,'KALDI'),(175,5,'2025-11-10 17:43:42',485,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'4',0,0,NULL,'KALDI'),(176,5,'2025-11-10 17:43:48',28,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',6000,'4',0,0,NULL,'KALDI'),(177,5,'2025-11-10 17:44:09',28,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',6000,'5',0,0,NULL,'KALDI'),(178,5,'2025-11-10 17:44:15',485,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(179,5,'2025-11-10 17:44:15',28,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',6000,'5',0,0,NULL,'KALDI'),(181,5,'2025-11-10 17:44:24',29,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',8000,'5',0,0,NULL,'KALDI'),(182,5,'2025-11-10 17:44:29',485,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(183,5,'2025-11-10 17:44:29',29,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',8000,'5',0,0,NULL,'KALDI'),(185,5,'2025-11-10 18:00:48',487,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(186,5,'2025-11-10 18:00:48',91,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',8500,'5',0,0,NULL,'KALDI'),(188,5,'2025-11-10 18:06:35',3,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(189,5,'2025-11-10 18:12:33',489,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(190,14,'2025-11-10 18:16:17',195,2,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',17000,'3',0,0,NULL,'KALDI'),(191,14,'2025-11-10 18:17:30',265,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',6000,'3',0,0,NULL,'KALDI'),(192,14,'2025-11-10 18:24:10',4,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',0,'2',0,0,NULL,'KALDI'),(193,14,'2025-11-10 18:24:10',161,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',17000,'2',0,0,NULL,'KALDI'),(195,12,'2025-11-10 18:26:01',4,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'2',0,0,NULL,'KALDI'),(196,5,'2025-11-10 18:39:08',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(197,5,'2025-11-10 18:39:08',166,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',18500,'5',0,0,NULL,'KALDI'),(198,5,'2025-11-10 18:39:08',165,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',4000,'5',0,0,NULL,'KALDI'),(199,5,'2025-11-10 18:39:33',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(200,5,'2025-11-10 18:39:33',166,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',18500,'5',0,0,NULL,'KALDI'),(201,5,'2025-11-10 18:39:33',165,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',4000,'5',0,0,NULL,'KALDI'),(202,5,'2025-11-10 18:58:58',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(203,5,'2025-11-10 18:58:58',166,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',18500,'5',0,0,NULL,'KALDI'),(204,5,'2025-11-10 18:58:58',165,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',4000,'5',0,0,NULL,'KALDI'),(205,5,'2025-11-10 18:58:58',204,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',4200,'5',0,0,NULL,'KALDI'),(209,1,'2025-11-10 19:08:05',4,1,2,NULL,' ',0,'9',0,0,NULL,'KALDI'),(210,5,'2025-11-10 19:18:31',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(211,14,'2025-11-10 20:32:40',178,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',15000,'7',0,0,NULL,'KALDI'),(212,14,'2025-11-10 20:32:40',243,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',2500,'7',0,0,NULL,'KALDI'),(213,14,'2025-11-10 20:32:41',243,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',2500,'7',0,0,NULL,'KALDI'),(214,12,'2025-11-11 10:07:26',2,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',2500,'2',0,0,NULL,'KALDI'),(215,12,'2025-11-11 12:14:36',467,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'10',0,0,NULL,'KALDI'),(216,12,'2025-11-11 12:14:36',185,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',1000,'10',0,0,NULL,'KALDI'),(217,12,'2025-11-11 12:14:36',40,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'10',0,0,NULL,'KALDI'),(218,12,'2025-11-11 12:14:53',467,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'10',0,0,NULL,'KALDI'),(219,5,'2025-11-11 12:18:02',467,3,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',9000,'9',0,0,NULL,'KALDI'),(220,5,'2025-11-11 12:18:02',185,3,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',1000,'9',0,0,NULL,'KALDI'),(221,5,'2025-11-11 12:18:02',39,3,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'9',0,0,NULL,'KALDI'),(222,14,'2025-11-11 17:22:14',4,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',0,'2',0,0,NULL,'KALDI'),(223,14,'2025-11-11 17:22:14',161,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',17000,'2',0,0,NULL,'KALDI'),(225,14,'2025-11-11 17:22:47',4,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',0,'2',0,0,NULL,'KALDI'),(226,14,'2025-11-11 17:22:47',161,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',17000,'2',0,0,NULL,'KALDI'),(228,5,'2025-11-11 20:24:39',268,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',4800,'5',1,0,NULL,'KALDI'),(229,5,'2025-11-11 21:38:02',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'2',0,0,NULL,'KALDI'),(230,5,'2025-11-11 21:38:02',161,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',17000,'2',0,0,NULL,'KALDI'),(231,5,'2025-11-11 21:38:02',165,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',4000,'2',0,0,NULL,'KALDI'),(232,5,'2025-11-11 21:38:02',492,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'2',0,0,NULL,'KALDI'),(236,5,'2025-11-11 21:38:07',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'2',0,0,NULL,'KALDI'),(237,5,'2025-11-11 21:38:07',166,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',18500,'2',0,0,NULL,'KALDI'),(238,5,'2025-11-11 21:38:07',165,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',4000,'2',0,0,NULL,'KALDI'),(239,5,'2025-11-11 21:38:07',492,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'2',0,0,NULL,'KALDI'),(243,5,'2025-11-11 21:49:48',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'4',1,0,NULL,'KALDI'),(244,5,'2025-11-11 21:49:48',161,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',17000,'4',1,0,NULL,'KALDI'),(245,5,'2025-11-11 21:49:48',491,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'4',1,0,NULL,'KALDI'),(246,5,'2025-11-11 21:49:48',492,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',7000,'4',1,0,NULL,'KALDI'),(250,5,'2025-11-11 22:04:26',487,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(251,5,'2025-11-11 22:04:33',487,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(252,5,'2025-11-11 22:04:41',3,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(253,5,'2025-11-11 22:05:32',76,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',7000,'5',0,0,NULL,'KALDI'),(254,5,'2025-11-11 22:10:35',485,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'10',0,0,NULL,'KALDI'),(255,5,'2025-11-11 22:10:35',28,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',6000,'10',0,0,NULL,'KALDI'),(257,12,'2025-11-12 11:02:27',3,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'6',0,0,NULL,'KALDI'),(258,12,'2025-11-12 11:02:27',83,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',7500,'6',0,0,NULL,'KALDI'),(260,14,'2025-11-12 16:53:26',43,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',2000,'6',0,0,NULL,'KALDI'),(261,13,'2025-11-13 09:29:40',188,1,2,NULL,'STEFANY  DIAZ RIOS',0,'13',0,0,NULL,'KALDI'),(262,14,'2025-11-13 20:20:03',4,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',0,'11',0,0,NULL,'KALDI'),(263,14,'2025-11-13 20:20:03',161,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',17000,'11',0,0,NULL,'KALDI'),(264,14,'2025-11-13 20:20:03',491,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',0,'11',0,0,NULL,'KALDI'),(265,14,'2025-11-13 20:24:36',487,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',0,'11',0,0,NULL,'KALDI'),(266,5,'2025-11-13 20:45:06',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'5',0,0,NULL,'KALDI'),(267,14,'2025-11-13 21:03:04',190,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',10000,'5',0,0,NULL,'KALDI'),(268,5,'2025-11-13 22:18:36',467,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',9000,'13',1,0,NULL,'KALDI'),(269,5,'2025-11-13 22:18:36',184,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'13',1,0,NULL,'KALDI'),(270,5,'2025-11-13 22:18:36',39,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'13',1,0,NULL,'KALDI'),(271,5,'2025-11-14 15:10:05',4,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'3',0,0,NULL,'KALDI'),(272,5,'2025-11-14 15:10:05',161,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',17000,'3',0,0,NULL,'KALDI'),(273,5,'2025-11-14 15:10:05',492,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'3',0,0,NULL,'KALDI'),(274,5,'2025-11-14 15:10:05',491,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'3',0,0,NULL,'KALDI'),(278,5,'2025-11-14 15:14:42',181,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',19000,'4',0,0,NULL,'KALDI'),(279,5,'2025-11-14 15:51:00',2,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',2500,'7',0,0,NULL,'KALDI'),(280,12,'2025-11-14 17:42:10',485,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'7',0,0,NULL,'KALDI'),(281,12,'2025-11-14 17:42:50',3,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'7',0,0,NULL,'KALDI'),(282,12,'2025-11-14 17:43:00',487,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'7',0,0,NULL,'KALDI'),(283,12,'2025-11-14 17:46:13',487,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'7',0,0,NULL,'KALDI'),(284,12,'2025-11-14 17:46:37',3,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'7',0,0,NULL,'KALDI'),(285,12,'2025-11-14 17:48:38',4,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'7',0,0,NULL,'KALDI'),(286,12,'2025-11-14 17:49:19',467,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',9000,'7',0,0,NULL,'KALDI'),(287,13,'2025-11-15 09:43:46',467,1,2,NULL,'STEFANY  DIAZ RIOS',9000,'12',0,0,NULL,'KALDI'),(288,13,'2025-11-15 09:43:46',185,1,2,NULL,'STEFANY  DIAZ RIOS',1000,'12',0,0,NULL,'KALDI'),(290,13,'2025-11-15 09:44:25',467,1,2,NULL,'STEFANY  DIAZ RIOS',9000,'3',0,0,NULL,'KALDI'),(291,13,'2025-11-15 09:44:25',185,1,2,NULL,'STEFANY  DIAZ RIOS',1000,'3',0,0,NULL,'KALDI'),(293,13,'2025-11-15 09:45:11',467,1,2,NULL,'STEFANY  DIAZ RIOS',9000,'3',0,0,NULL,'KALDI'),(294,13,'2025-11-15 09:45:11',184,1,2,NULL,'STEFANY  DIAZ RIOS',0,'3',0,0,NULL,'KALDI'),(296,12,'2025-11-15 18:49:38',4,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'7',0,0,NULL,'KALDI'),(297,12,'2025-11-15 18:49:38',166,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',18500,'7',0,0,NULL,'KALDI'),(298,12,'2025-11-15 18:49:38',165,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4000,'7',0,0,NULL,'KALDI'),(299,12,'2025-11-15 18:49:38',492,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'7',0,0,NULL,'KALDI'),(303,12,'2025-11-15 18:49:49',4,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'7',0,0,NULL,'KALDI'),(304,12,'2025-11-15 18:49:49',166,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',18500,'7',0,0,NULL,'KALDI'),(305,12,'2025-11-15 18:49:49',491,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'7',0,0,NULL,'KALDI'),(306,12,'2025-11-15 18:49:49',492,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'7',0,0,NULL,'KALDI'),(310,14,'2025-11-15 20:40:07',487,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',0,'7',0,0,NULL,'KALDI'),(311,12,'2025-11-15 21:23:51',178,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',15000,'7',0,0,NULL,'KALDI'),(312,12,'2025-11-15 22:01:56',222,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',5000,'8',0,0,NULL,'KALDI'),(313,13,'2025-11-16 12:58:38',108,1,2,NULL,'STEFANY  DIAZ RIOS',9000,'2',0,0,NULL,'KALDI'),(314,13,'2025-11-16 13:01:05',108,1,2,NULL,'STEFANY  DIAZ RIOS',9000,'2',0,0,NULL,'KALDI'),(315,13,'2025-11-16 13:30:08',484,1,2,NULL,'STEFANY  DIAZ RIOS',10000,'2',0,0,NULL,'KALDI'),(316,13,'2025-11-16 13:30:08',45,1,2,NULL,'STEFANY  DIAZ RIOS',0,'2',0,0,NULL,'KALDI'),(318,13,'2025-11-16 16:53:57',77,1,2,NULL,'STEFANY  DIAZ RIOS',8000,'11',1,0,NULL,'KALDI'),(319,13,'2025-11-16 17:19:54',3,1,2,NULL,'STEFANY  DIAZ RIOS',0,'3',1,0,NULL,'KALDI'),(320,13,'2025-11-16 17:19:54',265,1,2,NULL,'STEFANY  DIAZ RIOS',6000,'3',1,0,NULL,'KALDI'),(322,13,'2025-11-16 17:32:30',2,1,2,NULL,'STEFANY  DIAZ RIOS',2500,'7',1,0,NULL,'KALDI'),(323,13,'2025-11-16 19:01:28',4,1,2,NULL,'STEFANY  DIAZ RIOS',0,'13',0,0,NULL,'KALDI'),(324,13,'2025-11-16 19:01:28',166,1,2,NULL,'STEFANY  DIAZ RIOS',18500,'13',0,0,NULL,'KALDI'),(325,13,'2025-11-16 19:01:28',409,1,2,NULL,'STEFANY  DIAZ RIOS',6000,'13',0,0,NULL,'KALDI'),(326,13,'2025-11-16 19:03:57',12,1,2,NULL,'STEFANY  DIAZ RIOS',4000,'13',0,0,NULL,'KALDI'),(327,13,'2025-11-16 19:03:59',12,1,2,NULL,'STEFANY  DIAZ RIOS',4000,'13',0,0,NULL,'KALDI'),(328,13,'2025-11-16 19:04:03',4,1,2,NULL,'STEFANY  DIAZ RIOS',0,'13',0,0,NULL,'KALDI'),(329,13,'2025-11-16 19:04:03',166,1,2,NULL,'STEFANY  DIAZ RIOS',18500,'13',0,0,NULL,'KALDI'),(330,13,'2025-11-16 19:04:03',409,1,2,NULL,'STEFANY  DIAZ RIOS',6000,'13',0,0,NULL,'KALDI'),(331,13,'2025-11-16 19:04:03',492,1,2,NULL,'STEFANY  DIAZ RIOS',0,'13',0,0,NULL,'KALDI'),(335,13,'2025-11-16 19:17:16',4,1,2,NULL,'STEFANY  DIAZ RIOS',0,'2',0,0,NULL,'KALDI'),(336,13,'2025-11-16 19:17:16',161,1,2,NULL,'STEFANY  DIAZ RIOS',17000,'2',0,0,NULL,'KALDI'),(337,13,'2025-11-16 19:17:16',171,1,2,NULL,'STEFANY  DIAZ RIOS',6000,'2',0,0,NULL,'KALDI'),(338,13,'2025-11-16 19:17:16',492,1,2,NULL,'STEFANY  DIAZ RIOS',0,'2',0,0,NULL,'KALDI'),(342,13,'2025-11-16 19:18:14',4,2,2,NULL,'STEFANY  DIAZ RIOS',0,'2',0,0,NULL,'KALDI'),(343,13,'2025-11-16 19:18:14',161,2,2,NULL,'STEFANY  DIAZ RIOS',35000,'2',0,0,NULL,'KALDI'),(344,13,'2025-11-16 19:18:14',491,2,2,NULL,'STEFANY  DIAZ RIOS',0,'2',0,0,NULL,'KALDI'),(345,13,'2025-11-16 19:18:14',492,2,2,NULL,'STEFANY  DIAZ RIOS',0,'2',0,0,NULL,'KALDI'),(349,13,'2025-11-16 19:18:53',4,2,2,NULL,'STEFANY  DIAZ RIOS',35000,'2',0,0,NULL,'KALDI'),(350,13,'2025-11-16 19:18:53',161,2,2,NULL,'STEFANY  DIAZ RIOS',17000,'2',0,0,NULL,'KALDI'),(351,13,'2025-11-16 19:18:53',491,2,2,NULL,'STEFANY  DIAZ RIOS',0,'2',0,0,NULL,'KALDI'),(352,13,'2025-11-16 19:18:53',492,2,2,NULL,'STEFANY  DIAZ RIOS',0,'2',0,0,NULL,'KALDI'),(356,13,'2025-11-16 19:20:15',4,0,2,NULL,'STEFANY  DIAZ RIOS',35000,'2',0,0,NULL,'KALDI'),(357,13,'2025-11-16 19:20:15',161,0,2,NULL,'STEFANY  DIAZ RIOS',17000,'2',0,0,NULL,'KALDI'),(358,13,'2025-11-16 19:20:15',491,0,2,NULL,'STEFANY  DIAZ RIOS',0,'2',0,0,NULL,'KALDI'),(359,13,'2025-11-16 19:20:15',492,0,2,NULL,'STEFANY  DIAZ RIOS',0,'2',0,0,NULL,'KALDI'),(363,13,'2025-11-16 20:08:13',178,1,2,NULL,'STEFANY  DIAZ RIOS',1000,'4',0,0,NULL,'KALDI'),(364,13,'2025-11-16 21:30:40',43,1,2,NULL,'STEFANY  DIAZ RIOS',1000,'7',1,0,NULL,'KALDI'),(365,13,'2025-11-16 21:53:27',178,1,2,NULL,'STEFANY  DIAZ RIOS',15000,'7',1,0,NULL,'KALDI'),(366,13,'2025-11-17 09:47:51',467,1,2,NULL,'STEFANY  DIAZ RIOS',9000,'7',0,0,NULL,'KALDI'),(367,13,'2025-11-17 09:47:51',185,1,2,NULL,'STEFANY  DIAZ RIOS',1000,'7',0,0,NULL,'KALDI'),(369,13,'2025-11-17 11:41:33',487,1,2,NULL,'STEFANY  DIAZ RIOS',0,'10',0,0,NULL,'KALDI'),(370,13,'2025-11-17 11:41:33',93,1,2,NULL,'STEFANY  DIAZ RIOS',500,'10',0,0,NULL,'KALDI'),(372,13,'2025-11-17 11:47:35',487,1,2,NULL,'STEFANY  DIAZ RIOS',0,'10',0,0,NULL,'KALDI'),(373,13,'2025-11-17 11:47:35',79,1,2,NULL,'STEFANY  DIAZ RIOS',7000,'10',0,0,NULL,'KALDI'),(375,12,'2025-11-17 17:08:46',4,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'6',0,0,NULL,'KALDI'),(376,12,'2025-11-17 17:08:46',161,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',17000,'6',0,0,NULL,'KALDI'),(377,12,'2025-11-17 17:08:46',165,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4000,'6',0,0,NULL,'KALDI'),(378,12,'2025-11-17 17:08:46',492,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'6',0,0,NULL,'KALDI'),(382,12,'2025-11-17 18:21:55',215,2,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',5000,'9',1,0,NULL,'KALDI'),(383,12,'2025-11-17 18:21:59',3,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'9',1,0,NULL,'KALDI'),(384,12,'2025-11-17 18:21:59',82,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',7500,'9',1,0,NULL,'KALDI'),(386,12,'2025-11-18 15:08:46',239,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',3800,'6',0,0,NULL,'KALDI'),(387,12,'2025-11-18 15:09:10',9,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',2500,'6',0,0,NULL,'KALDI'),(388,14,'2025-11-18 18:12:11',466,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',6000,'13',0,0,NULL,'KALDI'),(389,14,'2025-11-18 18:22:55',486,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',0,'8',1,0,NULL,'KALDI'),(390,14,'2025-11-18 18:22:55',55,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',6000,'8',1,0,NULL,'KALDI'),(392,11,'2025-11-19 09:57:15',36,1,2,NULL,'JIMMY ANDRES ZULETA MONCADA',6000,'8',0,0,NULL,'KALDI'),(393,11,'2025-11-19 14:14:44',27,1,2,NULL,'JIMMY ANDRES ZULETA MONCADA',5000,'9',0,0,NULL,'KALDI'),(394,11,'2025-11-19 14:39:51',489,1,2,NULL,'JIMMY ANDRES ZULETA MONCADA',0,'10',0,0,NULL,'KALDI'),(395,5,'2025-11-19 17:44:32',487,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'3',0,0,NULL,'KALDI'),(396,5,'2025-11-19 17:44:32',74,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',8000,'3',0,0,NULL,'KALDI'),(398,5,'2025-11-19 17:44:33',486,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'3',0,0,NULL,'KALDI'),(399,5,'2025-11-19 17:44:33',55,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',6000,'3',0,0,NULL,'KALDI'),(401,14,'2025-11-20 17:12:07',485,2,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',0,'6',0,0,NULL,'KALDI'),(402,14,'2025-11-20 17:12:07',28,2,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',6000,'6',0,0,NULL,'KALDI'),(404,14,'2025-11-20 17:41:52',216,2,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',5500,'6',0,0,NULL,'KALDI'),(405,12,'2025-11-21 11:43:16',4,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'6',0,0,NULL,'KALDI'),(406,12,'2025-11-21 11:43:16',161,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',17000,'6',0,0,NULL,'KALDI'),(407,12,'2025-11-21 11:43:16',165,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4000,'6',0,0,NULL,'KALDI'),(408,12,'2025-11-21 15:12:57',448,2000,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',1,'2',0,0,NULL,'KALDI'),(409,5,'2025-11-21 16:57:03',487,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',7000,'2',0,0,NULL,'KALDI'),(410,5,'2025-11-21 16:57:03',78,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',6000,'2',0,0,NULL,'KALDI'),(412,5,'2025-11-21 17:09:37',487,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',0,'2',0,0,NULL,'KALDI'),(413,14,'2025-11-21 18:33:20',6,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',2500,'6',0,0,NULL,'KALDI'),(414,14,'2025-11-21 20:30:31',76,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',7000,'3',0,0,NULL,'KALDI'),(415,12,'2025-11-21 21:46:13',4,18998,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'11',0,0,NULL,'KALDI'),(416,12,'2025-11-21 21:46:13',169,18998,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'11',0,0,NULL,'KALDI'),(417,12,'2025-11-21 21:46:13',165,18998,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4000,'11',0,0,NULL,'KALDI'),(418,12,'2025-11-21 21:46:13',492,18998,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'11',0,0,NULL,'KALDI'),(422,12,'2025-11-21 21:47:06',4,19000,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'11',0,0,NULL,'KALDI'),(423,12,'2025-11-21 21:47:06',169,19000,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'11',0,0,NULL,'KALDI'),(424,12,'2025-11-21 21:47:06',165,19000,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4000,'11',0,0,NULL,'KALDI'),(425,12,'2025-11-21 21:47:06',492,19000,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'11',0,0,NULL,'KALDI'),(429,5,'2025-11-21 22:06:57',189,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',12000,'2',0,0,NULL,'KALDI'),(430,5,'2025-11-21 22:07:28',189,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',12000,'2',0,0,NULL,'KALDI'),(431,5,'2025-11-21 22:07:28',86,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',7000,'2',0,0,NULL,'KALDI'),(432,12,'2025-11-22 16:54:02',4,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'6',0,0,NULL,'KALDI'),(433,12,'2025-11-22 16:54:02',165,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4000,'6',0,0,NULL,'KALDI'),(434,12,'2025-11-22 16:54:02',206,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4200,'6',0,0,NULL,'KALDI'),(435,12,'2025-11-22 18:16:21',36,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',6000,'2',0,0,NULL,'KALDI'),(436,5,'2025-11-22 18:57:37',177,2,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',23000,'13',0,0,NULL,'KALDI'),(437,5,'2025-11-22 19:03:53',2,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',2500,'3',0,0,NULL,'KALDI'),(438,5,'2025-11-22 20:27:40',533,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',23000,'3',0,0,NULL,'KALDI'),(439,6,'2025-11-23 14:43:52',445,1,2,NULL,'CAROL JULIANA JULIANA ZULETA MONCADA MONCADA',30,'2',0,0,NULL,'KALDI'),(440,6,'2025-11-23 14:45:28',4,1,2,NULL,'CAROL JULIANA JULIANA ZULETA MONCADA MONCADA',0,'4',0,0,NULL,'KALDI'),(441,6,'2025-11-23 14:45:28',161,1,2,NULL,'CAROL JULIANA JULIANA ZULETA MONCADA MONCADA',17000,'4',0,0,NULL,'KALDI'),(442,6,'2025-11-23 14:45:28',206,1,2,NULL,'CAROL JULIANA JULIANA ZULETA MONCADA MONCADA',4200,'4',0,0,NULL,'KALDI'),(443,12,'2025-11-23 17:49:29',215,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',5000,'7',0,0,NULL,'KALDI'),(444,12,'2025-11-23 18:14:56',5,5000,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4000,'5',0,0,NULL,'KALDI'),(445,12,'2025-11-23 18:54:51',3,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'3',0,0,NULL,'KALDI'),(446,12,'2025-11-23 20:14:47',3,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'8',0,0,NULL,'KALDI'),(447,12,'2025-11-23 20:14:47',265,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',6000,'8',0,0,NULL,'KALDI'),(449,12,'2025-11-23 21:45:56',4,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'6',0,0,NULL,'KALDI'),(450,12,'2025-11-23 21:45:56',166,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',18500,'6',0,0,NULL,'KALDI'),(451,12,'2025-11-23 21:45:56',491,1,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'6',0,0,NULL,'KALDI'),(452,5,'2025-11-25 15:40:39',73,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',8000,'5',0,0,NULL,'KALDI'),(453,5,'2025-11-25 16:16:48',2,1,2,NULL,'CAMILA ANDREA RAMIREZ RODRIGUEZ',2500,'6',0,0,NULL,'KALDI'),(454,12,'2025-11-26 14:23:14',4,0,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'2',0,0,NULL,'KALDI'),(455,12,'2025-11-26 14:23:14',161,0,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',17000,'2',0,0,NULL,'KALDI'),(456,12,'2025-11-26 14:23:14',165,0,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',4000,'2',0,0,NULL,'KALDI'),(457,12,'2025-11-26 14:23:14',492,0,2,NULL,'JUAN ESTEBAN RAMIREZ RODRIGUEZ   ',0,'2',0,0,NULL,'KALDI'),(461,14,'2025-11-26 16:47:00',2,1,2,NULL,'SEBASTIAN  JIMENEZ PORRAS',2500,'6',1,0,NULL,'KALDI'),(462,11,'2025-11-27 13:03:38',486,1,2,NULL,'JIMMY ANDRES ZULETA MONCADA',5800,'8',0,0,NULL,'KALDI'),(463,11,'2025-11-27 13:03:38',55,1,2,NULL,'JIMMY ANDRES ZULETA MONCADA',6000,'8',0,0,NULL,'KALDI'),(465,13,'2025-11-27 17:02:01',228,1,2,NULL,'STEFANY  DIAZ RIOS',7000,'6',0,0,NULL,'KALDI');

--
-- Table structure for table `lineascambios`
--

CREATE TABLE `lineascambios` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `bruto` double DEFAULT '0',
  `idmayor` bigint unsigned NOT NULL,
  `identificador` varchar(100) DEFAULT NULL,
  `referenciapayu` varchar(200) DEFAULT NULL,
  `referenciafront` varchar(15) DEFAULT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `pagarcontraentrega` int DEFAULT '0',
  `idfactura` bigint unsigned NOT NULL,
  `descuento` double NOT NULL DEFAULT '0',
  `codsituacion` int NOT NULL,
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `idarticulo` bigint unsigned NOT NULL,
  `cc` bigint unsigned NOT NULL DEFAULT '2',
  `origen` varchar(25) DEFAULT NULL,
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `cantidad` int DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechaentregado` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `tipo` varchar(25) DEFAULT NULL,
  `observacion` varchar(25) NOT NULL DEFAULT '',
  `despachado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `entregado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `enespera` int NOT NULL DEFAULT '0' COMMENT 'para que el mesero ya no pueda eliminar',
  `comision` int NOT NULL DEFAULT '0',
  `porcentajedescuento` double NOT NULL DEFAULT '0',
  `impuesto` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `servicio` double NOT NULL DEFAULT '0',
  `CODMODIF` int NOT NULL DEFAULT '0',
  `numlinea` int NOT NULL DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `situacioncocina` varchar(50) DEFAULT NULL,
  `CODARTICULOABAJO` int NOT NULL DEFAULT '0',
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `enviaraproduccion` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `afectacaja` int DEFAULT '1',
  `referencia` varchar(25) DEFAULT NULL,
  `consecutivo` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idusuario` (`idusuario`),
  KEY `idcliente` (`idcliente`),
  KEY `idmayor` (`idmayor`),
  KEY `idfactura` (`idfactura`),
  CONSTRAINT `lineascambios_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `cambios` (`id`),
  CONSTRAINT `lineascambios_ibfk_2` FOREIGN KEY (`idmayor`) REFERENCES `cambios` (`id`),
  CONSTRAINT `lineascambios_ibfk_3` FOREIGN KEY (`idfactura`) REFERENCES `facturas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `lineascambios`
--


--
-- Table structure for table `lineasnotascredito`
--

CREATE TABLE `lineasnotascredito` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `codvendedor` int NOT NULL DEFAULT '0',
  `REFERENCIA` varchar(20) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint unsigned NOT NULL,
  `consecutivo` int NOT NULL,
  `codarticulo` int NOT NULL,
  `codsituacion` int NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint unsigned NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `esmodificador` int DEFAULT '0',
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL,
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(25) DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint unsigned NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `idnc` bigint unsigned NOT NULL DEFAULT '1',
  `nc` int DEFAULT '0',
  `idusuarionc` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int NOT NULL DEFAULT '0',
  `devolucionrevisada` int DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int NOT NULL DEFAULT '0',
  `marcadoparanc` int NOT NULL DEFAULT '0',
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODMODIF` varchar(2) NOT NULL DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int NOT NULL DEFAULT '0',
  `NUMMODIF` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `aliasespera` int NOT NULL DEFAULT '1',
  `impresiones` int NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int NOT NULL DEFAULT '0',
  `COSTEIVA` int NOT NULL DEFAULT '0',
  `DTO` int NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int NOT NULL DEFAULT '0',
  `CODFORMATO` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int DEFAULT '0',
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `idmayor` int DEFAULT '0',
  `subiralinventario` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `afectacaja` int DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idfactura` (`idfactura`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcc` (`cc`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `lineasnotascredito`
--


--
-- Table structure for table `lineasnotasdebito`
--

CREATE TABLE `lineasnotasdebito` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` int NOT NULL DEFAULT '0',
  `idnotasdebito` bigint unsigned NOT NULL,
  `idmayor` bigint unsigned NOT NULL,
  `idarticulo` bigint unsigned NOT NULL,
  `cantidad` int NOT NULL DEFAULT '0',
  `valorunitario` double NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fechadecreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `cc` int NOT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  `factor` int DEFAULT '0',
  `descripcionencompra` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`),
  KEY `idmayor` (`idmayor`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idnotasdebito` (`idnotasdebito`) USING BTREE,
  CONSTRAINT `lineasnotasdebito_ibfk_1` FOREIGN KEY (`idnotasdebito`) REFERENCES `notasdebito` (`id`),
  CONSTRAINT `lineasnotasdebito_ibfk_2` FOREIGN KEY (`idmayor`) REFERENCES `mayorescompras` (`id`),
  CONSTRAINT `lineasnotasdebito_ibfk_3` FOREIGN KEY (`idarticulo`) REFERENCES `articulos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lineasnotasdebito`
--

INSERT INTO `lineasnotasdebito` (`id`, `consecutivo`, `idnotasdebito`, `idmayor`, `idarticulo`, `cantidad`, `valorunitario`, `valortotal`, `fechadecreacion`, `cc`, `pv`, `factor`, `descripcionencompra`) VALUES (1,1,1,152,138,6,3300,19800,'2025-11-15 22:27:57',2,'KALDI',1,'CLUB COLOMBIA'),(2,1,1,152,139,12,3331.666666666667,39980,'2025-11-15 22:27:57',2,'KALDI',1,'POKER'),(3,1,1,152,143,6,3331.666666666667,19990,'2025-11-15 22:27:57',2,'KALDI',1,'AGUILA ORIGINAL'),(4,1,1,152,144,6,3331.666666666667,19990,'2025-11-15 22:27:57',2,'KALDI',1,'AGUILA LIGHT');

--
-- Table structure for table `lineaspedidosweb`
--

CREATE TABLE `lineaspedidosweb` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `codvendedor` int NOT NULL DEFAULT '0',
  `pedidonumero` varchar(25) DEFAULT NULL,
  `situacioncocina` varchar(50) DEFAULT NULL,
  `idfactura` bigint unsigned NOT NULL,
  `consecutivo` int NOT NULL,
  `INCREMENTO` int NOT NULL,
  `codarticulo` int NOT NULL,
  `codsituacion` int NOT NULL,
  `porcentajedescuento` double DEFAULT '0',
  `referenciafront` varchar(15) DEFAULT NULL,
  `impuesto` double DEFAULT '0',
  `idarticulo` bigint unsigned NOT NULL,
  `descripcion` varchar(120) DEFAULT NULL,
  `esmodificador` int DEFAULT '0',
  `nombrearticulo` varchar(100) DEFAULT NULL,
  `cantidad` double NOT NULL DEFAULT '0',
  `comentario` varchar(200) DEFAULT NULL,
  `observaciones` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `idmesa` int NOT NULL DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `baseunitario` double NOT NULL DEFAULT '0',
  `ivaunitario` double NOT NULL DEFAULT '0',
  `descuento` int NOT NULL DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `cc` int DEFAULT '2',
  `documento` varchar(3) NOT NULL DEFAULT 'V',
  `origen` varchar(25) DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `HORAINI` datetime DEFAULT NULL,
  `HORAFIN` datetime DEFAULT NULL,
  `ultimaedicion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idcliente` bigint unsigned NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `iva` double NOT NULL DEFAULT '0',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `idnc` bigint unsigned NOT NULL DEFAULT '1',
  `nc` int DEFAULT '0',
  `idusuarionc` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `comision` int NOT NULL DEFAULT '0',
  `devolucionrevisada` int DEFAULT '0',
  `fechaabonado` datetime DEFAULT NULL,
  `fechamc` datetime DEFAULT NULL,
  `tienenc` int NOT NULL DEFAULT '0',
  `marcadoparanc` int NOT NULL DEFAULT '0',
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODMODIF` int DEFAULT '0',
  `esmodif` int NOT NULL DEFAULT '0',
  `CODARTICULOABAJO` varchar(12) NOT NULL DEFAULT '',
  `PRECIOIVA` int NOT NULL DEFAULT '0',
  `NUMMODIF` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `aliasespera` int NOT NULL DEFAULT '1',
  `impresiones` int NOT NULL DEFAULT '1',
  `IDMOTIVODTO` varchar(2) NOT NULL DEFAULT '-1',
  `DETALLEDENUMLINEA` varchar(2) NOT NULL DEFAULT '0',
  `FAMILIAAENA` varchar(2) NOT NULL DEFAULT '0',
  `DETALLEMODIF` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_NUMERO` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_N` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_SERIE` varchar(2) NOT NULL DEFAULT '0',
  `ABONODE_FO` varchar(2) NOT NULL DEFAULT '-1',
  `NORDERTIQUET` varchar(1) NOT NULL DEFAULT '0',
  `SORDERTIQUET` varchar(1) NOT NULL DEFAULT '',
  `REQ` int NOT NULL DEFAULT '0',
  `COSTEIVA` int NOT NULL DEFAULT '0',
  `DTO` int NOT NULL DEFAULT '0',
  `TIPO` varchar(2) NOT NULL DEFAULT 'V',
  `CODMACRO` int NOT NULL DEFAULT '0',
  `CODFORMATO` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(5) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(5) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(5) DEFAULT NULL,
  `unidaddemedida` varchar(25) DEFAULT NULL,
  `esnota` int DEFAULT '0',
  `impreso` int DEFAULT '0',
  `domicilio` int DEFAULT '0',
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `zonaventas` varchar(25) DEFAULT NULL,
  `seccionventas` varchar(25) DEFAULT NULL,
  `situacioncocina2` varchar(25) DEFAULT 'SELECCIONE',
  `integraconfamilia` int DEFAULT '1',
  `codmodifpapa` int DEFAULT '0',
  `TIPOIVA` int DEFAULT '1',
  `sesubearappi` int DEFAULT '0',
  `refventas` varchar(20) DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `iddomiciliario` int DEFAULT NULL,
  `horaaceptado` datetime DEFAULT NULL,
  `comandaaceptada` bit(1) DEFAULT b'0',
  `horaacancelada` datetime DEFAULT NULL,
  `comandacancelada` bit(1) DEFAULT b'0',
  `motivocancela` varchar(25) DEFAULT NULL,
  `paqueterecibido` bit(1) DEFAULT b'0',
  `hora_paqueterecibido` bit(1) DEFAULT b'0',
  `porcentajecomision` decimal(5,2) DEFAULT '0.00',
  `articulovence` date DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `imei` varchar(50) DEFAULT NULL,
  `factor` int DEFAULT '1',
  `puntosrevisados` bit(1) DEFAULT b'0',
  `idusuarioredime` int DEFAULT NULL,
  `usuarioredime` varchar(50) DEFAULT NULL,
  `fecharedime` datetime DEFAULT NULL,
  `costomenu` decimal(11,2) DEFAULT '0.00',
  `comensales` int DEFAULT '0',
  `unidadesdisponibles` int DEFAULT '0',
  `entregado` int DEFAULT '0',
  `centrodecostos` varchar(25) DEFAULT NULL,
  `despachado` int DEFAULT '0',
  `referencia` varchar(25) DEFAULT NULL,
  `idmayor` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idfactura` (`idfactura`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcc` (`cc`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `lineaspedidosweb`
--


--
-- Table structure for table `lineasproduccion`
--

CREATE TABLE `lineasproduccion` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idmesa` int DEFAULT '1',
  `descuento` double NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL,
  `idarticulo` bigint unsigned NOT NULL,
  `cc` bigint unsigned NOT NULL,
  `origen` varchar(8) NOT NULL DEFAULT 'MESAS',
  `comentario` varchar(200) DEFAULT NULL,
  `valorunitario` double NOT NULL DEFAULT '0',
  `cantidad` double DEFAULT '0',
  `valortotal` double NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `fechaentregado` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `costomedio` double DEFAULT '0',
  `porcentajeiva` double NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1',
  `idmayor` bigint unsigned DEFAULT NULL,
  `nota` varchar(25) NOT NULL DEFAULT '',
  `despachado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `entregado` int NOT NULL DEFAULT '0' COMMENT 'Significa que la cocina ya sirviÃƒÂ² el producto',
  `comision` int NOT NULL DEFAULT '0',
  `porcentajedescuento` double NOT NULL DEFAULT '0',
  `impuesto` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `servicio` double NOT NULL DEFAULT '0',
  `descripcion` varchar(50) DEFAULT NULL,
  `pv` varchar(25) DEFAULT NULL,
  `factor` int DEFAULT '0',
  `unidaddemedida` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idarticulo` (`idarticulo`),
  KEY `idcc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idvendedor` (`idvendedor`),
  KEY `idcaja` (`idmayor`),
  KEY `idcliente` (`idcliente`),
  CONSTRAINT `lineasproduccion_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `produccion` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `lineasproduccion`
--


--
-- Table structure for table `lineasrecibogeneral`
--

CREATE TABLE `lineasrecibogeneral` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idfactura` bigint unsigned NOT NULL,
  `valor` double DEFAULT '0',
  `fechacreacion` datetime DEFAULT NULL,
  `idusuario` bigint unsigned NOT NULL,
  `cliente` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `direccion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `ciudad` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `consecutivo` int DEFAULT '0',
  `idmayor` int DEFAULT '0',
  `idcliente` bigint unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_idfactura` (`idfactura`),
  KEY `idx_idusuario` (`idusuario`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lineasrecibogeneral`
--


--
-- Table structure for table `lineasrutas`
--

CREATE TABLE `lineasrutas` (
  `id` int NOT NULL AUTO_INCREMENT,
  `idmayor` int NOT NULL,
  `estado` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'PENDIENTE',
  `idfactura` bigint unsigned NOT NULL,
  `idvendedor` bigint unsigned NOT NULL,
  `saldo` double NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `idmayor` (`idmayor`),
  KEY `idfactura` (`idfactura`),
  KEY `idvendedor` (`idvendedor`),
  CONSTRAINT `lineasrutas_ibfk_1` FOREIGN KEY (`idmayor`) REFERENCES `mayoresrutas` (`id`),
  CONSTRAINT `lineasrutas_ibfk_2` FOREIGN KEY (`idvendedor`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=110 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lineasrutas`
--


--
-- Table structure for table `llamadas`
--

CREATE TABLE `llamadas` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `idcliente` bigint unsigned NOT NULL,
  `idusuario` bigint unsigned NOT NULL,
  `inicio` datetime DEFAULT NULL,
  `fin` datetime DEFAULT NULL,
  `observaciones` varchar(300) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `estado` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idcliente` (`idcliente`),
  KEY `idusuario` (`idusuario`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `llamadas`
--


--
-- Table structure for table `logsintegraciones`
--

CREATE TABLE `logsintegraciones` (
  `fechacreacion` datetime DEFAULT NULL,
  `mensaje` text,
  `descatalogado` int DEFAULT '0',
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `logsintegraciones`
--


--
-- Table structure for table `marcas`
--

CREATE TABLE `marcas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `marca` varchar(25) DEFAULT NULL,
  `celular` varchar(12) DEFAULT '',
  `video` varchar(1) DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `color` (`marca`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `marcas`
--


--
-- Table structure for table `materiales`
--

CREATE TABLE `materiales` (
  `id` int NOT NULL AUTO_INCREMENT,
  `material` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `materiales`
--


--
-- Table structure for table `mayoresbajas`
--

CREATE TABLE `mayoresbajas` (
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `IDMOTIVODTO` int DEFAULT '1',
  `IDMINUTA` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `documentid` varchar(200) DEFAULT NULL,
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(8) NOT NULL DEFAULT 'MESAS',
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` bigint unsigned NOT NULL,
  `idmesa` int DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` double NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `iva` int NOT NULL DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `condicion` int NOT NULL DEFAULT '0',
  `fechavencimiento` datetime DEFAULT CURRENT_TIMESTAMP,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pedidonumero` varchar(10) DEFAULT NULL,
  `base` double NOT NULL DEFAULT '0',
  `inquiry` varchar(23) NOT NULL DEFAULT ' ',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1' COMMENT 'este vendedor no hizo toda la venta, solo abriÃƒÂ² la mesa',
  `emailenviado` int NOT NULL DEFAULT '0',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fechaabonado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `domicilio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODFORMAPAGO` varchar(5) DEFAULT '1',
  `codalmacen` varchar(25) DEFAULT '1',
  `TIPODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `ESTADODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `aliasespera` int NOT NULL DEFAULT '0',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `esbarra` varchar(1) NOT NULL DEFAULT 'F',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`),
  KEY `mayoresbajas_ibfk_3` (`idcliente`),
  CONSTRAINT `mayoresbajas_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `mayoresbajas_ibfk_2` FOREIGN KEY (`idz`) REFERENCES `z` (`id`),
  CONSTRAINT `mayoresbajas_ibfk_3` FOREIGN KEY (`idcliente`) REFERENCES `clientes` (`id`),
  CONSTRAINT `mayoresbajas_ibfk_4` FOREIGN KEY (`idvendedor`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresbajas`
--

INSERT INTO `mayoresbajas` (`observaciondelcleinte`, `diasemana`, `ordendia`, `MESALIBERADA`, `IDMOTIVODTO`, `IDMINUTA`, `direccion`, `barrio`, `celular`, `cliente`, `horaentregadoaldomiciliario`, `horaentregadoalcliente`, `fecharesolucion`, `resolucion`, `desde`, `hasta`, `iddomiciliario`, `documentid`, `entregado`, `despachado`, `ese`, `tienenc`, `consecutivo`, `idcliente`, `fechacreacion`, `horatotal`, `documento`, `saldo`, `observacion`, `origen`, `entrega`, `cobra`, `fecha`, `cc`, `idmesa`, `bruto`, `descuento`, `total`, `idusuario`, `idz`, `abonado`, `idfacturaqueabona`, `cerrado`, `recibido`, `devuelta`, `iva`, `vigenciadelcredito`, `condicion`, `fechavencimiento`, `ultimaedicion`, `pedidonumero`, `base`, `inquiry`, `esbolsillo`, `idvendedor`, `emailenviado`, `escortesia`, `idcaja`, `mediodepago`, `nota`, `fechaabonado`, `servicio`, `domicilio`, `subido`, `CODFORMAPAGO`, `codalmacen`, `TIPODELIVERY`, `ESTADODELIVERY`, `n`, `aliasespera`, `codvendedor`, `impresiones`, `numservicio`, `NUMLINEA`, `CODTIPOTASA1`, `esbarra`, `CODTARIFA`, `ivainc`, `codzona`, `id`, `pv`) VALUES (NULL,NULL,0,1,1,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,0,NULL,0,0,0,0,16,12,'2025-10-16 22:46:29','2025-10-16 22:46:29','V',0,NULL,'MESAS',' ',' ','2025-10-16 22:46:29',0,4,33000,0,0,5,1,0,0,0,0,0,0,0,0,'2025-10-16 22:46:29','2025-10-16 22:46:29',NULL,0,' ',0,1,0,0,1,'EFECTIVO','',NULL,0,0,0,'1','1','1','1','B',0,0,0,0,1,'1','F','1','T',1,1,'KALDI');

--
-- Table structure for table `mayorescompras`
--

CREATE TABLE `mayorescompras` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `numero` varchar(10) DEFAULT NULL,
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `iva` double NOT NULL DEFAULT '0',
  `descuentocomercial` double NOT NULL DEFAULT '0',
  `base` double NOT NULL DEFAULT '0',
  `idproveedor` bigint unsigned NOT NULL DEFAULT '0',
  `valor` double NOT NULL DEFAULT '0',
  `cc` bigint unsigned NOT NULL DEFAULT '0',
  `documento` varchar(7) DEFAULT 'CONTADO',
  `saldo` int DEFAULT '0',
  `nd` int DEFAULT '0',
  `vence` datetime DEFAULT CURRENT_TIMESTAMP,
  `observacion` text,
  `idz` int NOT NULL DEFAULT '1',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `descuento` double DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `idusuario` int DEFAULT '1',
  `esremision` varchar(25) DEFAULT NULL,
  `consecutivodocequ` int DEFAULT '0',
  `formadepago` int DEFAULT '10',
  `cufe` varchar(250) DEFAULT NULL,
  `consecutivofe` varchar(5) DEFAULT NULL,
  `sqr` text,
  `ssignature` text,
  `mediodepagocompra` varchar(25) DEFAULT NULL,
  `fechavencecredito` date DEFAULT NULL,
  `comandaf` varchar(11) DEFAULT NULL,
  `overvacionescompra` varchar(200) DEFAULT NULL,
  `otrosdescuentos` int DEFAULT '0',
  `p_reteica` decimal(6,3) DEFAULT '0.000',
  `p_reterenta` decimal(6,3) DEFAULT '0.000',
  `v_reteica` decimal(11,2) DEFAULT '0.00',
  `v_reterenta` decimal(11,2) DEFAULT '0.00',
  `ibuatotal` mediumint unsigned DEFAULT '0',
  `advaloremtotal` int DEFAULT '0',
  `flete` int DEFAULT '0',
  `v_reteiva` double DEFAULT '0',
  `p_reteiva` double DEFAULT '0',
  `p_descuentosinfacturar` double DEFAULT '0',
  `cufenotadeajuste` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idproveedor` (`idproveedor`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB AUTO_INCREMENT=169 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayorescompras`
--

INSERT INTO `mayorescompras` (`id`, `numero`, `fecha`, `iva`, `descuentocomercial`, `base`, `idproveedor`, `valor`, `cc`, `documento`, `saldo`, `nd`, `vence`, `observacion`, `idz`, `idcaja`, `fechacreacion`, `descuento`, `pv`, `idusuario`, `esremision`, `consecutivodocequ`, `formadepago`, `cufe`, `consecutivofe`, `sqr`, `ssignature`, `mediodepagocompra`, `fechavencecredito`, `comandaf`, `overvacionescompra`, `otrosdescuentos`, `p_reteica`, `p_reterenta`, `v_reteica`, `v_reterenta`, `ibuatotal`, `advaloremtotal`, `flete`, `v_reteiva`, `p_reteiva`, `p_descuentosinfacturar`, `cufenotadeajuste`) VALUES (2,NULL,'2025-10-20 19:22:36',0,0,1500000,82,1500000,0,'CONTADO',0,0,'2025-10-20 19:22:36',NULL,7,1,'2025-10-20 19:22:36',0,'KALDI',5,'DOCUMENTO SOPORTE',0,10,'43f3c63a810db42f69f768f3042b2da8244e510a08886759dd069f0a3963798507793da8ebdf9c09e38a0d3c9f2c892f','321','NumDS:DSE321 FecDS:2025-10-20 HorDS19:25:36-05:00 NumSNO:24541700 DocABS:901818640 ValDS:1500000.00 ValIva:0.00 ValTolDS:1500000.00 CUDS:43f3c63a810db42f69f768f3042b2da8244e510a08886759dd069f0a3963798507793da8ebdf9c09e38a0d3c9f2c892f QRCode:https://catalogo-vpfe.dian.gov.co/document/searchqr?documentkey=43f3c63a810db42f69f768f3042b2da8244e510a08886759dd069f0a3963798507793da8ebdf9c09e38a0d3c9f2c892f ','PbmOA4ua9/cM7E0alx0+rgiWrzzEE2xHPuT8odXP1skds5Gt3GiawLmNOZah/RoRb7HRJ+5RlEOn1UiuBWgz2R9BA3cjCv9URdSxKqU+Fzax4PJ8CuQZ2Cma31LOs2+7xE10CseNyDVXfoxKoS0T/m2uuHRfGguog7si2R4I1Cn/4Cb9RuBzmX3uytw3q3956gqJgZyv4DX7tEZ0vZ6BdUYuE2wBWSFDYTNVMeqqv5r7rrSd5EEbYeskUpzbzFKoKRZBavuUM3surYGr8FmQOo+4Qn4ch+DPK4Vfh6BoYJddH20X8dX15ZsbARuhUN00eFlJlqKYO2ek2Ljb3HVafg==','EFECTIVO',NULL,NULL,'documento soporte electrónico del mes de septiembre 2025',0,0.000,3.500,0.00,52500.00,0,0,0,0,0,0,NULL),(3,'POS244555','2025-10-21 11:06:13',2307.1428571428573,0,12142.857142857143,79,14450,0,'CONTADO',14450,0,'2025-10-21 11:06:13',NULL,8,1,'2025-10-21 11:06:13',0,'KALDI',5,'FACTURA POS',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(4,'CDE16541','2025-10-21 00:00:00',11132.403361344537,0,58591.596638655465,149,69724,0,'CONTADO',69724,0,'2025-10-22 23:05:09',NULL,10,1,'2025-10-22 23:05:09',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(5,NULL,'2025-10-21 00:00:00',0,0,66000,53,66000,0,'CONTADO',66000,0,'2025-10-22 23:16:35',NULL,10,1,'2025-10-22 23:16:35',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'TRANSFERENCIA',NULL,NULL,'se pagó por nequi',0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(6,'A24341','2025-10-22 23:23:33',0,0,112200,147,112200,0,'CONTADO',112200,0,'2025-10-22 23:23:33',NULL,10,1,'2025-10-22 23:23:33',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(7,'FPLB-10','2025-10-22 23:35:23',2554.6218487394963,0,13445.378151260506,150,16000.000000000002,0,'CONTADO',16000,0,'2025-10-22 23:35:23',NULL,10,1,'2025-10-22 23:35:23',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(8,'244944','2025-10-22 23:38:56',1460.9243697496556,0,7689.0756302613445,79,9150.000000011,0,'CONTADO',9150,0,'2025-10-22 23:38:56',NULL,10,1,'2025-10-22 23:38:56',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(9,'I9G2291595','2025-10-22 23:43:30',1389.0756302521008,0,7310.9243697479,117,8700,0,'CONTADO',8700,0,'2025-10-22 23:43:30',NULL,10,1,'2025-10-22 23:43:30',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(10,'36048','2025-10-22 23:47:54',0,0,18000,63,18000,0,'CONTADO',18000,0,'2025-10-22 23:47:54',NULL,10,1,'2025-10-22 23:47:54',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(11,'244964','2025-10-22 23:50:19',0,0,5500,79,5500,0,'CONTADO',5500,0,'2025-10-22 23:50:19',NULL,10,1,'2025-10-22 23:50:19',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(12,NULL,'2025-10-22 23:59:59',0,0,24000,151,24000,0,'CONTADO',24000,0,'2025-10-22 23:59:59',NULL,10,1,'2025-10-22 23:59:59',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(13,'244715','2025-10-21 00:00:00',0,0,12400,79,12400,0,'CONTADO',12400,0,'2025-10-22 23:59:59',NULL,10,1,'2025-10-22 23:59:59',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(14,'244824','2025-10-21 00:00:00',31.932773109243698,0,12768.067226890757,79,12800,0,'CONTADO',12800,0,'2025-10-22 23:59:59',NULL,10,1,'2025-10-22 23:59:59',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(15,'4632','2025-10-24 00:00:00',0,0,60000,27,60000,0,'CONTADO',0,0,'2025-11-01 10:55:45',NULL,27,1,'2025-11-01 10:55:45',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(16,NULL,'2025-10-31 00:00:00',0,0,1500000,82,1500000,0,'CREDITO',1500000,0,'2025-11-01 14:15:37',NULL,27,1,'2025-11-01 14:15:37',0,'KALDI',5,'DOCUMENTO SOPORTE',0,31,'f71263e9905483bcdf75526f5ae7ea9f43d2eba15337f27fdf197cb073101e029e6639a68e648847753b467812b3adaf','322','NumDS:DSE322 FecDS:2025-11-01 HorDS14:18:17-05:00 NumSNO:24541700 DocABS:901818640 ValDS:1500000.00 ValIva:0.00 ValTolDS:1500000.00 CUDS:f71263e9905483bcdf75526f5ae7ea9f43d2eba15337f27fdf197cb073101e029e6639a68e648847753b467812b3adaf QRCode:https://catalogo-vpfe.dian.gov.co/document/searchqr?documentkey=f71263e9905483bcdf75526f5ae7ea9f43d2eba15337f27fdf197cb073101e029e6639a68e648847753b467812b3adaf ','BkxgqKMeX5kqjboYKjZsnJZzfuTLnbq2kUM1dyPeBe7kUTowMtyuGc5qHmJzVi99V/nfX6SuhEEV9xBkCfhLvTZIPd80FkqEZrpxm2nBjUCVo8/qqBqsTEksJOkb0mQzYx9ajD+tDZAzDFAYqm2FBv66uzQBKPm1ni9pDBtL5lVbnPIPVBwKF8pxM0Ql6KtFSM7A7R7JdqxlvQtztwHTa4hGtLhbgkbFdiZ6ELTVJh6KXbclDPQU46V8jZaoQsl8ddu6DBWarMHQ5Us3ECxlRT55W/ymsCp2amaE0IgYjCZ9wuCcxiualQ8dPWR1Q/Krz6YoKXMcRaCjuF0YF6SF8g==','TRANSFERENCIA',NULL,NULL,'DOCUMENTO SOPORTE ELECTRÓNICO DE OCTUBRE',0,0.000,3.500,0.00,52500.00,0,0,0,0,0,0,NULL),(17,NULL,'2025-11-02 00:00:00',0,0,30000,153,30000,0,'CONTADO',0,0,'2025-11-07 22:40:56',NULL,41,1,'2025-11-07 22:40:56',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(18,'088E208824','2025-10-30 00:00:00',6000.168067226898,0,31579.831932773148,118,37580.000000000044,0,'CONTADO',37580,0,'2025-11-07 23:31:23',NULL,41,1,'2025-11-07 23:31:23',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(19,'I9G2293833','2025-10-26 00:00:00',4100.16806722689,0,21579.831932773108,117,25680,0,'CONTADO',25680,0,'2025-11-07 23:44:17',NULL,41,1,'2025-11-07 23:44:17',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(20,'I9G2293929','2025-10-26 00:00:00',2072.436974789916,0,10907.563025210084,117,12980,0,'CONTADO',12980,0,'2025-11-07 23:51:04',NULL,41,1,'2025-11-07 23:51:04',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(21,'21577','2025-10-26 00:00:00',7983.193277310925,0,42016.80672268908,135,50000,0,'CONTADO',50000,0,'2025-11-08 00:01:21',NULL,41,1,'2025-11-08 00:01:21',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(22,'174','2025-10-26 00:00:00',0,0,156000,92,156000,0,'CONTADO',156000,0,'2025-11-08 00:06:29',NULL,41,1,'2025-11-08 00:06:29',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(23,'246591','2025-10-26 00:00:00',0,0,23850,79,23850,0,'CONTADO',23850,0,'2025-11-08 00:09:17',NULL,41,1,'2025-11-08 00:09:17',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(24,'247981','2025-10-30 00:00:00',0,0,23850,79,23850,0,'CONTADO',23850,0,'2025-11-08 00:11:05',NULL,41,1,'2025-11-08 00:11:05',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(25,'1895','2025-10-26 00:00:00',9735.025210084035,0,51236.97478991597,154,60972,0,'CONTADO',60972,0,'2025-11-08 00:14:21',NULL,41,1,'2025-11-08 00:14:21',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(26,'I9G2295913','2025-10-30 00:00:00',2187.8991596638652,0,13052.100840336136,117,15240,0,'CONTADO',15240,0,'2025-11-08 00:17:10',NULL,41,1,'2025-11-08 00:17:10',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(27,'088C107862','2025-10-30 00:00:00',2072.436974789916,0,10907.563025210084,118,12980,0,'CONTADO',12980,0,'2025-11-08 00:24:43',NULL,41,1,'2025-11-08 00:24:43',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(28,'088B273807','2025-10-30 00:00:00',0,0,55127.64,118,55127.64,0,'CONTADO',55128,0,'2025-11-08 00:25:02',NULL,41,1,'2025-11-08 00:25:02',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(29,'088B273895','2025-10-30 00:00:00',8487.731092436976,0,44672.26890756303,118,53160,0,'CONTADO',53160,0,'2025-11-08 00:41:07',NULL,41,1,'2025-11-08 00:41:07',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(30,'088E210260','2025-11-02 00:00:00',1428.0952380952378,0,28561.90476190476,118,29989.999999999996,0,'CONTADO',29990,0,'2025-11-08 00:50:46',NULL,41,1,'2025-11-08 00:50:46',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(31,'45277','2025-11-02 00:00:00',0,0,2900,95,2900,0,'CONTADO',2900,0,'2025-11-08 00:56:15',NULL,41,1,'2025-11-08 00:56:15',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(32,'CDE19290','2025-10-27 00:00:00',33397.36974789916,0,175775.63025210085,149,209173,0,'CONTADO',209173,0,'2025-11-08 00:58:09',NULL,41,1,'2025-11-08 00:58:09',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(33,NULL,'2025-11-02 00:00:00',0,0,8500,91,8500,0,'CONTADO',8500,0,'2025-11-08 01:01:51',NULL,41,1,'2025-11-08 01:01:51',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(34,'307169','2025-10-25 00:00:00',31.932773109243698,0,23318.06722689076,79,23350,0,'CONTADO',23350,0,'2025-11-08 01:03:07',NULL,41,1,'2025-11-08 01:03:07',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(35,'248828','2025-11-01 00:00:00',0,0,10200,79,10200,0,'CONTADO',10200,0,'2025-11-08 01:10:02',NULL,41,1,'2025-11-08 01:10:02',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(36,'248546','2025-11-01 00:00:00',566.8067226890757,0,2983.1932773109247,79,3550,0,'CONTADO',3550,0,'2025-11-08 01:12:41',NULL,41,1,'2025-11-08 01:12:41',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(37,'249565','2025-11-02 00:00:00',0,0,14850,79,14850,0,'CONTADO',14850,0,'2025-11-08 01:16:18',NULL,41,1,'2025-11-08 01:16:18',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(38,'249488','2025-11-02 00:00:00',4366.806722689076,0,32633.193277310926,79,37000,0,'CONTADO',37000,0,'2025-11-08 01:18:33',NULL,41,1,'2025-11-08 01:18:33',0,'KALDI',5,'FACTURA POS',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(39,'304-869178','2025-10-25 00:00:00',0,0,61349.380000000005,105,61349.380000000005,0,'CONTADO',61349,0,'2025-11-08 01:25:58',NULL,41,1,'2025-11-08 01:25:58',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(40,'304-869997','2025-11-01 00:00:00',0,0,47569.72999999988,105,47569.72999999988,0,'CONTADO',47570,0,'2025-11-08 01:31:04',NULL,41,1,'2025-11-08 01:31:04',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(41,'FPLB-12','2025-10-28 00:00:00',8382.35294117647,0,44117.64705882353,150,52500,0,'CONTADO',52500,0,'2025-11-08 01:34:51',NULL,41,1,'2025-11-08 01:34:51',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(42,'FEGM-8326','2025-11-02 00:00:00',638.6554621848741,0,3361.3445378151264,150,4000.0000000000005,0,'CONTADO',4000,0,'2025-11-08 01:39:55',NULL,41,1,'2025-11-08 01:39:55',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(43,'313122','2025-11-07 00:00:00',0,0,1000,79,1000,0,'CONTADO',1000,0,'2025-11-08 01:41:28',NULL,41,1,'2025-11-08 01:41:28',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(44,'22189','2025-11-07 00:00:00',24591.42857142844,0,141428.57142857075,135,166019.99999999919,0,'CONTADO',166020,0,'2025-11-08 01:43:14',NULL,41,1,'2025-11-08 01:43:14',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(45,'10530','2025-11-07 00:00:00',0,0,40000,155,40000,0,'CONTADO',40000,0,'2025-11-08 01:50:51',NULL,41,1,'2025-11-08 01:50:51',0,'KALDI',5,'FACTURA POS',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(46,'F02E192103','2025-11-06 00:00:00',8341.478991596638,0,43902.52100840336,156,52244,0,'CONTADO',52244,0,'2025-11-10 22:22:56',NULL,47,1,'2025-11-10 22:22:56',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(47,'304-870803','2025-11-08 00:00:00',0,0,78124.59999999998,105,78124.59999999998,0,'CONTADO',78125,0,'2025-11-10 22:26:20',NULL,47,1,'2025-11-10 22:26:20',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(48,'304-868358','2025-10-18 00:00:00',0,0,55358.230000000156,105,55358.230000000156,0,'CONTADO',55358,0,'2025-11-10 22:29:18',NULL,47,1,'2025-11-10 22:29:18',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(49,'251272','2025-11-08 00:00:00',1269.3277310924373,0,6680.672268907565,79,7950.000000000002,0,'CONTADO',7950,0,'2025-11-10 22:32:35',NULL,47,1,'2025-11-10 22:32:35',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(50,'251270','2025-11-08 00:00:00',18489.075630252104,0,100160.92436974791,79,118650.00000000001,0,'CONTADO',118650,0,'2025-11-10 22:39:15',NULL,47,1,'2025-11-10 22:39:15',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(51,'251117','2025-11-08 00:00:00',1868.0672268907563,0,9831.932773109243,79,11700,0,'CONTADO',11700,0,'2025-11-10 23:21:11',NULL,47,1,'2025-11-10 23:21:11',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(52,'245259','2025-10-23 00:00:00',0,0,25450,79,25450,0,'CONTADO',25450,0,'2025-11-10 23:27:06',NULL,47,1,'2025-11-10 23:27:06',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(53,'36048','2025-10-22 00:00:00',0,0,18000,63,18000,0,'CONTADO',18000,0,'2025-11-10 23:33:40',NULL,47,1,'2025-11-10 23:33:40',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(54,'CDE16541','2025-10-20 00:00:00',11132.403361344537,0,58591.596638655465,149,69724,0,'CONTADO',69724,0,'2025-11-10 23:35:25',NULL,47,1,'2025-11-10 23:35:25',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(55,'84790','2025-10-18 00:00:00',13842.857142857145,0,85857.14285714287,154,99700,0,'CONTADO',99700,0,'2025-11-10 23:40:19',NULL,47,1,'2025-11-10 23:40:19',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(56,'84792','2025-10-18 00:00:00',4705.613445378152,0,24766.38655462185,154,29472.000000000004,0,'CONTADO',29472,0,'2025-11-10 23:41:59',NULL,47,1,'2025-11-10 23:41:59',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(57,'243063','2025-10-18 00:00:00',1564.7058823529412,0,13735.29411764706,79,15300,0,'CONTADO',15300,0,'2025-11-10 23:46:30',NULL,47,1,'2025-11-10 23:46:30',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(58,'303633','2025-10-17 00:00:00',399.15966386554624,0,2100.840336134454,79,2500,0,'CONTADO',2500,0,'2025-11-10 23:50:35',NULL,47,1,'2025-11-10 23:50:35',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(59,NULL,'2025-10-24 00:00:00',0,0,40000,148,40000,0,'CONTADO',40000,0,'2025-11-10 23:51:52',NULL,47,1,'2025-11-10 23:51:52',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(60,NULL,'2025-10-24 00:00:00',0,0,24000,159,24000,0,'CONTADO',24000,0,'2025-11-10 23:56:51',NULL,47,1,'2025-11-10 23:56:51',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(61,'F02E190872','2025-10-23 00:00:00',22671.310924369747,0,119322.68907563026,156,141994,0,'CONTADO',141994,0,'2025-11-10 23:57:56',NULL,47,1,'2025-11-10 23:57:56',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(62,'25667','2025-10-09 00:00:00',1149.579831932773,0,6050.420168067227,85,7200,0,'CONTADO',7200,0,'2025-11-11 11:23:04',NULL,47,1,'2025-11-11 11:23:04',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(63,NULL,'2025-11-02 00:00:00',1021.8487394957982,0,300678.1512605042,158,301700,0,'CONTADO',0,0,'2025-11-11 11:26:03',NULL,47,1,'2025-11-11 11:26:03',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(64,NULL,'2025-10-22 00:00:00',0,0,61500,157,61500,0,'CONTADO',61500,0,'2025-11-11 12:08:03',NULL,47,1,'2025-11-11 12:08:03',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(65,NULL,'2025-10-28 00:00:00',0,0,105000,160,105000,0,'CONTADO',105000,0,'2025-11-11 12:24:25',NULL,47,1,'2025-11-11 12:24:25',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'TRANSFERENCIA',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(66,'251204','2025-11-08 00:00:00',0,0,48150,79,48150,0,'CONTADO',48150,0,'2025-11-11 12:43:50',NULL,47,1,'2025-11-11 12:43:50',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(67,'102291','2025-10-23 00:00:00',5396.638655462186,0,28403.361344537818,161,33800,0,'CONTADO',33800,0,'2025-11-11 12:53:43',NULL,47,1,'2025-11-11 12:53:43',0,'KALDI',5,NULL,0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(68,'253078','2025-11-11 23:05:43',2011.7647058828638,0,10588.235294120335,79,12600.0000000032,0,'CONTADO',12600,0,'2025-11-11 23:05:43',NULL,49,1,'2025-11-11 23:05:43',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(69,'I9G2302553','2025-11-11 23:17:19',2363.0252100840335,0,12436.974789915967,117,14800,0,'CONTADO',14800,0,'2025-11-11 23:17:19',NULL,49,1,'2025-11-11 23:17:19',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(70,'252784','2025-11-11 00:00:00',2123.529411764706,0,11176.470588235294,79,13300,0,'CONTADO',13300,0,'2025-11-13 14:35:09',NULL,51,1,'2025-11-13 14:35:09',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(71,'CDE24203','2025-11-10 00:00:00',22264.966386554624,0,117184.03361344538,149,139449,0,'CONTADO',139449,0,'2025-11-13 14:43:25',NULL,51,1,'2025-11-13 14:43:25',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(72,'I9G2296750','2025-11-01 00:00:00',1245.3781512605042,0,6554.621848739496,117,7800,0,'CONTADO',7800,0,'2025-11-13 14:45:56',NULL,51,1,'2025-11-13 14:45:56',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(73,'36635','2025-11-01 00:00:00',1405.0420168067226,0,7394.957983193278,63,8800,0,'CONTADO',8800,0,'2025-11-13 14:47:23',NULL,51,1,'2025-11-13 14:47:23',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(74,'248890','2025-11-01 00:00:00',0,0,11000,79,11000,0,'CONTADO',11000,0,'2025-11-13 14:50:14',NULL,51,1,'2025-11-13 14:50:14',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(75,'088E209137','2025-10-31 00:00:00',6979.386554621849,0,43333.613445378156,118,50313.00000000001,0,'CONTADO',50313,0,'2025-11-13 15:04:22',NULL,51,1,'2025-11-13 15:04:22',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(76,'I9G2296480','2025-10-31 00:00:00',5248.151260504202,0,31821.8487394958,117,37070,0,'CONTADO',37070,0,'2025-11-13 16:32:18',NULL,52,1,'2025-11-13 16:32:18',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(77,'248503','2025-10-31 00:00:00',2091.5966386554624,0,11008.403361344539,79,13100,0,'CONTADO',13100,0,'2025-11-13 16:43:02',NULL,52,1,'2025-11-13 16:43:02',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(78,'248223','2025-10-31 00:00:00',0,0,7100,79,7100,0,'CONTADO',7100,0,'2025-11-13 16:46:46',NULL,52,1,'2025-11-13 16:46:46',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(79,'21852','2025-10-31 00:00:00',17246.731092436978,0,102772.26890756302,135,120019,0,'CONTADO',120019,0,'2025-11-13 16:53:27',NULL,52,1,'2025-11-13 16:53:27',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(80,'248500','2025-10-31 00:00:00',2913.8655462184875,0,15336.134453781513,79,18250,0,'CONTADO',18250,0,'2025-11-13 17:07:04',NULL,52,1,'2025-11-13 17:07:04',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(82,'214544','2025-11-08 00:00:00',3273.1092436974786,0,17226.89075630252,136,20500,0,'CONTADO',20500,0,'2025-11-13 17:26:13',NULL,52,1,'2025-11-13 17:26:13',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(83,NULL,'2025-10-20 00:00:00',0,0,50000,160,50000,0,'CONTADO',50000,0,'2025-11-13 17:30:58',NULL,52,1,'2025-11-13 17:30:58',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(84,'244291','2025-10-20 00:00:00',566.8067226890757,0,2983.1932773109247,79,3550,0,'CONTADO',3550,0,'2025-11-13 17:33:26',NULL,52,1,'2025-11-13 17:33:26',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(85,'088E202789','2025-10-15 00:00:00',31.932773109243698,0,24918.067226890755,118,24950,0,'CONTADO',24950,0,'2025-11-13 18:05:56',NULL,52,1,'2025-11-13 18:05:56',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(86,'242307','2025-10-15 00:00:00',0,0,20000,79,20000,0,'CONTADO',20000,0,'2025-11-13 18:11:50',NULL,52,1,'2025-11-13 18:11:50',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(87,'088E202556','2025-10-14 00:00:00',0,0,6600,118,6600,0,'CONTADO',6600,0,'2025-11-13 18:14:17',NULL,52,1,'2025-11-13 18:14:17',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(88,NULL,'2025-10-14 00:00:00',0,0,60000,27,60000,0,'CONTADO',60000,0,'2025-11-13 18:19:36',NULL,52,1,'2025-11-13 18:19:36',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(89,'34591','2025-10-01 00:00:00',0,0,4699.999999999997,63,4699.999999999997,0,'CONTADO',4700,0,'2025-11-13 18:37:03',NULL,52,1,'2025-11-13 18:37:03',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(91,NULL,'2025-11-13 20:52:18',0,0,0,91,0,0,'CONTADO',0,0,'2025-11-13 20:52:18',NULL,52,1,'2025-11-13 20:52:18',0,'KALDI',5,NULL,0,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(92,NULL,'2025-11-13 20:52:31',0,0,0,85,0,0,'CONTADO',0,0,'2025-11-13 20:52:31',NULL,52,1,'2025-11-13 20:52:31',0,'KALDI',5,NULL,0,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(94,'15279','2025-10-09 00:00:00',0,0,70800,53,70800,0,'CONTADO',70800,0,'2025-11-15 16:56:04',NULL,56,1,'2025-11-15 16:56:04',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'TRANSFERENCIA',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(95,'I9G3130309','2025-10-01 00:00:00',3304.3417366946774,0,45145.658263305326,117,48450,0,'CONTADO',48450,0,'2025-11-15 17:33:47',NULL,56,1,'2025-11-15 17:33:47',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(96,'34661','2025-10-02 00:00:00',0,0,23900,63,23900,0,'CONTADO',23900,0,'2025-11-15 17:41:36',NULL,56,1,'2025-11-15 17:41:36',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(97,'088B258766','2025-10-02 00:00:00',5169.915966386555,0,27210.08403361345,118,32380.000000000004,0,'CONTADO',32380,0,'2025-11-15 17:45:46',NULL,56,1,'2025-11-15 17:45:46',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(98,'I9G3130608','2025-10-02 00:00:00',5824.537815126049,0,30655.462184873948,117,36480,0,'CONTADO',36480,0,'2025-11-15 17:47:45',NULL,56,1,'2025-11-15 17:47:45',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(99,'237038','2025-10-02 00:00:00',0,0,12950,79,12950,0,'CONTADO',12950,0,'2025-11-15 17:54:46',NULL,56,1,'2025-11-15 17:54:46',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(100,'237051','2025-10-02 00:00:00',3129.4117647058824,0,16470.58823529412,79,19600,0,'CONTADO',19600,0,'2025-11-15 17:56:11',NULL,56,1,'2025-11-15 17:56:11',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(101,'83916','2025-10-02 00:00:00',0,0,66060,154,66060,0,'CONTADO',66060,0,'2025-11-15 18:06:06',NULL,56,1,'2025-11-15 18:06:06',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(102,NULL,'2025-10-03 00:00:00',0,0,20100,163,20100,0,'CONTADO',20100,0,'2025-11-15 18:13:00',NULL,56,1,'2025-11-15 18:13:00',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(103,'V231866','2025-10-03 00:00:00',3121.4285714285716,0,16428.571428571428,164,19550,0,'CONTADO',19550,0,'2025-11-15 18:18:20',NULL,56,1,'2025-11-15 18:18:20',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(104,'237399','2025-10-03 00:00:00',1165.546218487395,0,6134.453781512605,79,7300,0,'CONTADO',7300,0,'2025-11-15 18:25:09',NULL,56,1,'2025-11-15 18:25:09',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(105,'297481','2025-10-03 00:00:00',0,0,5050,79,5050,0,'CONTADO',5050,0,'2025-11-15 18:28:44',NULL,56,1,'2025-11-15 18:28:44',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(106,'9429','2025-10-03 00:00:00',0,0,40000,155,40000,0,'CONTADO',40000,0,'2025-11-15 18:32:22',NULL,56,1,'2025-11-15 18:32:22',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(107,'297609','2025-10-03 00:00:00',0,0,800,79,800,0,'CONTADO',800,0,'2025-11-15 18:33:34',NULL,56,1,'2025-11-15 18:33:34',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(108,'83983','2025-10-03 00:00:00',0,0,86700,154,86700,0,'CONTADO',86700,0,'2025-11-15 18:34:41',NULL,56,1,'2025-11-15 18:34:41',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(109,'237537','2025-10-03 00:00:00',0,0,12599.999999999998,79,12599.999999999998,0,'CONTADO',12600,0,'2025-11-15 18:36:00',NULL,56,1,'2025-11-15 18:36:00',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(110,NULL,'2025-10-04 00:00:00',0,0,45000,157,45000,0,'CONTADO',45000,0,'2025-11-15 18:38:11',NULL,56,1,'2025-11-15 18:38:11',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(111,'238056','2025-10-04 00:00:00',3344.957983193277,0,17605.042016806725,79,20950,0,'CONTADO',20950,0,'2025-11-15 18:39:12',NULL,56,1,'2025-11-15 18:39:12',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(112,'238080','2025-10-04 00:00:00',0,0,6500,79,6500,0,'CONTADO',6500,0,'2025-11-15 18:41:24',NULL,56,1,'2025-11-15 18:41:24',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(113,'238045','2025-10-04 00:00:00',2514.7058823529414,0,13235.29411764706,79,15750,0,'CONTADO',15750,0,'2025-11-15 18:42:36',NULL,56,1,'2025-11-15 18:42:36',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(114,'237688','2025-10-04 00:00:00',0,0,7100,79,7100,0,'CONTADO',7100,0,'2025-11-15 18:46:40',NULL,56,1,'2025-11-15 18:46:40',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(115,'I9G2282325','2025-10-05 00:00:00',4598.319327731092,0,24201.680672268907,117,28800,0,'CONTADO',28800,0,'2025-11-15 19:04:09',NULL,56,1,'2025-11-15 19:04:09',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(116,'238765','2025-10-05 00:00:00',0,0,4100,79,4100,0,'CONTADO',4100,0,'2025-11-15 19:05:47',NULL,56,1,'2025-11-15 19:05:47',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(117,'238629','2025-10-05 00:00:00',0,0,29700,79,29700,0,'CONTADO',29700,0,'2025-11-15 19:06:48',NULL,56,1,'2025-11-15 19:06:48',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(118,'238718','2025-10-05 00:00:00',0,0,5200,79,5200,0,'CONTADO',5200,0,'2025-11-15 19:08:11',NULL,56,1,'2025-11-15 19:08:11',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(119,NULL,'2025-10-05 00:00:00',0,0,60000,157,60000,0,'CONTADO',60000,0,'2025-11-15 19:10:17',NULL,56,1,'2025-11-15 19:10:17',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(120,NULL,'2025-10-05 00:00:00',0,0,318800,157,318800,0,'CONTADO',318800,0,'2025-11-15 19:11:52',NULL,56,1,'2025-11-15 19:11:52',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(121,NULL,'2025-10-05 00:00:00',0,0,142000,158,142000,0,'CONTADO',142000,0,'2025-11-15 19:30:46',NULL,56,1,'2025-11-15 19:30:46',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(122,NULL,'2025-10-06 00:00:00',0,0,36000,27,36000,0,'CONTADO',36000,0,'2025-11-15 19:59:56',NULL,56,1,'2025-11-15 19:59:56',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(123,'I9G3131803','2025-10-06 00:00:00',2953.7815126050423,0,15546.218487394959,117,18500,0,'CONTADO',18500,0,'2025-11-15 20:01:08',NULL,56,1,'2025-11-15 20:01:08',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(124,'239159','2025-10-06 00:00:00',0,0,5500,79,5500,0,'CONTADO',5500,0,'2025-11-15 20:02:30',NULL,56,1,'2025-11-15 20:02:30',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(125,'239151','2025-10-06 00:00:00',0,0,32250,79,32250,0,'CONTADO',32250,0,'2025-11-15 20:03:29',NULL,56,1,'2025-11-15 20:03:29',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(126,'088B262189','2025-10-08 00:00:00',7296.638655462185,0,38403.361344537814,118,45700,0,'CONTADO',45700,0,'2025-11-15 20:06:35',NULL,56,1,'2025-11-15 20:06:35',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(127,'I9G2284035','2025-10-08 00:00:00',5385.462184873948,0,28344.537815126052,117,33730,0,'CONTADO',33730,0,'2025-11-15 20:09:29',NULL,56,1,'2025-11-15 20:09:29',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(128,'15549','2025-10-08 00:00:00',9263.697478991597,0,83256.3025210084,135,92520,0,'CONTADO',92520,0,'2025-11-15 20:13:12',NULL,56,1,'2025-11-15 20:13:12',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(129,'239749','2025-10-08 00:00:00',0,0,6600,79,6600,0,'CONTADO',6600,0,'2025-11-15 20:17:08',NULL,56,1,'2025-11-15 20:17:08',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(130,'A22294','2025-10-07 00:00:00',0,0,156000,147,156000,0,'CONTADO',156000,0,'2025-11-15 20:18:15',NULL,56,1,'2025-11-15 20:18:15',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(131,'088B262733','2025-10-09 00:00:00',0,0,29040,118,29040,0,'CONTADO',29040,0,'2025-11-15 20:20:49',NULL,56,1,'2025-11-15 20:20:49',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(132,'300338','2025-10-09 00:00:00',0,0,3000,79,3000,0,'CONTADO',3000,0,'2025-11-15 20:22:59',NULL,56,1,'2025-11-15 20:22:59',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(133,'300199','2025-10-09 00:00:00',0,0,5050,79,5050,0,'CONTADO',5050,0,'2025-11-15 20:31:43',NULL,56,1,'2025-11-15 20:31:43',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(134,'84334','2025-10-09 00:00:00',0,0,26000,154,26000,0,'CONTADO',26000,0,'2025-11-15 20:33:41',NULL,56,1,'2025-11-15 20:33:41',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(135,NULL,'2025-10-09 00:00:00',0,0,22000,159,22000,0,'CONTADO',22000,0,'2025-11-15 20:36:18',NULL,56,1,'2025-11-15 20:36:18',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(136,'9625','2025-10-09 00:00:00',0,0,40800,155,40800,0,'CONTADO',40800,0,'2025-11-15 20:37:05',NULL,56,1,'2025-11-15 20:37:05',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(137,'088B262733','2025-10-09 00:00:00',6413.69747899159,0,33756.30252100837,166,40169.99999999996,0,'CONTADO',40170,0,'2025-11-15 20:42:15',NULL,56,1,'2025-11-15 20:42:15',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(138,'300741','2025-10-10 00:00:00',0,0,39150,79,39150,0,'CONTADO',39150,0,'2025-11-15 21:26:47',NULL,56,1,'2025-11-15 21:26:47',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(139,'240261','2025-10-10 00:00:00',0,0,13500,79,13500,0,'CONTADO',13500,0,'2025-11-15 21:39:02',NULL,56,1,'2025-11-15 21:39:02',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(140,NULL,'2025-10-10 00:00:00',0,0,25000,159,25000,0,'CONTADO',25000,0,'2025-11-15 21:46:40',NULL,56,1,'2025-11-15 21:46:40',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(141,'F02E189913','2025-10-09 00:00:00',18907.714285714286,0,99514.28571428571,156,118422,0,'CONTADO',118422,0,'2025-11-15 21:48:13',NULL,56,1,'2025-11-15 21:48:13',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(142,NULL,'2025-10-11 00:00:00',0,0,50000,160,50000,0,'CONTADO',50000,0,'2025-11-15 21:52:32',NULL,56,1,'2025-11-15 21:52:32',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(143,'I9G3132997','2025-10-11 00:00:00',4898.487394957982,0,25781.512605042015,117,30680,0,'CONTADO',0,0,'2025-11-15 21:53:47',NULL,56,1,'2025-11-15 21:53:47',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(144,'I9G2285533','2025-10-11 00:00:00',0,0,51600,117,51600,0,'CONTADO',51600,0,'2025-11-15 21:57:13',NULL,56,1,'2025-11-15 21:57:13',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(145,'300892','2025-10-11 00:00:00',0,0,5050,79,5050,0,'CONTADO',5050,0,'2025-11-15 21:59:15',NULL,56,1,'2025-11-15 21:59:15',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(146,'240751','2025-10-11 00:00:00',0,0,5500,79,5500,0,'CONTADO',5500,0,'2025-11-15 22:02:11',NULL,56,1,'2025-11-15 22:02:11',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(147,'169','2025-10-11 00:00:00',0,0,156000,92,156000,0,'CONTADO',156000,0,'2025-11-15 22:07:10',NULL,56,1,'2025-11-15 22:07:10',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(148,'304 - 8676','2025-10-11 00:00:00',0,0,49966.189999999806,105,49966.189999999806,0,'CONTADO',49966,0,'2025-11-15 22:10:01',NULL,56,1,'2025-11-15 22:10:01',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(149,'088C105185','2025-10-12 00:00:00',1428.0952380952378,0,28561.90476190476,118,29989.999999999996,0,'CONTADO',29990,0,'2025-11-15 22:12:38',NULL,56,1,'2025-11-15 22:12:38',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(150,'088C104998','2025-10-12 00:00:00',7296.574789915967,0,38403.02521008404,118,45699.600000000006,0,'CONTADO',45700,0,'2025-11-15 22:15:16',NULL,56,1,'2025-11-15 22:15:16',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(151,'301493','2025-10-12 00:00:00',0,0,8050,79,8050,0,'CONTADO',8050,0,'2025-11-15 22:17:29',NULL,56,1,'2025-11-15 22:17:29',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(152,NULL,'2025-11-15 22:20:19',8915.470588235297,0,60916.52941176471,118,69832.00000000001,0,'CONTADO',69832,1,'2025-11-15 22:20:19',NULL,56,1,'2025-11-15 22:20:19',0,'KALDI',5,NULL,0,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(153,'088C105018','2025-10-12 00:00:00',8915.470588235297,0,60916.52941176471,118,69832.00000000001,0,'CONTADO',69832,0,'2025-11-15 22:29:25',NULL,57,1,'2025-11-15 22:29:25',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(154,'I9G2286098','2025-10-12 00:00:00',3065.546218487395,0,16134.453781512606,117,19200,0,'CONTADO',19200,0,'2025-11-15 22:34:47',NULL,57,1,'2025-11-15 22:34:47',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(155,'35393','2025-10-12 00:00:00',0,0,13200,63,13200,0,'CONTADO',13200,0,'2025-11-15 22:37:18',NULL,57,1,'2025-11-15 22:37:18',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(156,'301853','2025-10-12 00:00:00',0,0,18199.999999,79,18199.999999,0,'CONTADO',18200,0,'2025-11-16 00:02:02',NULL,57,1,'2025-11-16 00:02:02',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(157,'20929','2025-10-12 00:00:00',4789.915966386555,0,25210.084033613446,135,30000,0,'CONTADO',30000,0,'2025-11-16 00:06:44',NULL,57,1,'2025-11-16 00:06:44',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(158,'241353','2025-10-12 00:00:00',1125.6302521008404,0,5924.36974789916,79,7050,0,'CONTADO',7050,0,'2025-11-16 00:08:41',NULL,57,1,'2025-11-16 00:08:41',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(159,'170','2025-10-11 00:00:00',0,0,208000,92,208000,0,'CONTADO',208000,0,'2025-11-16 00:10:12',NULL,57,1,'2025-11-16 00:10:12',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(160,NULL,'2025-10-12 00:00:00',0,0,9000,158,9000,0,'CONTADO',9000,0,'2025-11-16 00:11:00',NULL,57,1,'2025-11-16 00:11:00',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(161,'241640','2025-10-13 00:00:00',0,0,12600,79,12600,0,'CONTADO',12600,0,'2025-11-16 00:14:40',NULL,57,1,'2025-11-16 00:14:40',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(162,'6743','2025-10-13 00:00:00',0,0,9050,169,9050,0,'CONTADO',9050,0,'2025-11-16 00:18:54',NULL,57,1,'2025-11-16 00:18:54',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(163,'101896','2025-10-15 00:00:00',7376.630252100842,0,203824.36974789915,161,211201,0,'CONTADO',211201,0,'2025-11-16 00:22:22',NULL,57,1,'2025-11-16 00:22:22',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(164,'088E202654','2025-10-15 00:00:00',8856.55462184874,0,46613.445378151264,118,55470,0,'CONTADO',55470,0,'2025-11-16 00:27:35',NULL,57,1,'2025-11-16 00:27:35',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(165,'088B265860','2025-10-15 00:00:00',0,0,12290.890000000127,118,12290.890000000127,0,'CONTADO',12291,0,'2025-11-16 00:29:36',NULL,57,1,'2025-11-16 00:29:36',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(166,'MP1 - 4314','2025-10-15 00:00:00',23834.94117647059,0,125447.05882352943,107,149282.00000000003,0,'CONTADO',149282,0,'2025-11-16 00:43:16',NULL,57,1,'2025-11-16 00:43:16',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(167,'I9G2288374','2025-10-16 00:00:00',459.8319327731092,0,8600.16806722689,117,9060,0,'CONTADO',9060,0,'2025-11-16 00:48:16',NULL,57,1,'2025-11-16 00:48:16',0,'KALDI',5,'FACTURA ELECTRONICA',0,10,NULL,NULL,NULL,NULL,'EFECTIVO',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL),(168,'15393','2025-10-16 00:00:00',0,0,66600,53,66600,0,'CONTADO',66600,0,'2025-11-16 00:51:31',NULL,57,1,'2025-11-16 00:51:31',0,'KALDI',5,'SOPORTE INFORMAL',0,10,NULL,NULL,NULL,NULL,'TRANSFERENCIA',NULL,NULL,NULL,0,0.000,0.000,0.00,0.00,0,0,0,0,0,0,NULL);

--
-- Table structure for table `mayoresconteodiario`
--

CREATE TABLE `mayoresconteodiario` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fecha` date DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  `fechacreacion` datetime DEFAULT CURRENT_TIMESTAMP,
  `estado` varchar(25) DEFAULT 'ABIERTO',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idusuario_2` (`idusuario`),
  CONSTRAINT `mayoresconteodiario_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresconteodiario`
--


--
-- Table structure for table `mayorescotizaciones`
--

CREATE TABLE `mayorescotizaciones` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` varchar(15) DEFAULT NULL,
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `bruto` float NOT NULL DEFAULT '0',
  `descuento` float NOT NULL DEFAULT '0',
  `total` float NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `fechavencimiento` datetime DEFAULT CURRENT_TIMESTAMP,
  `cliente` varchar(25) DEFAULT NULL,
  `direccion` varchar(25) DEFAULT NULL,
  `telefono` varchar(25) DEFAULT NULL,
  `base` double DEFAULT '0',
  `impuesto` double DEFAULT '0',
  `fecha` date DEFAULT NULL,
  `codigo_cotizacion` varchar(25) DEFAULT NULL,
  `area_destino` varchar(25) DEFAULT NULL,
  `ciudad` varchar(25) DEFAULT NULL,
  `asunto` text,
  `alcance` text,
  `tiempo_entrega` text,
  `validez_oferta` text,
  `forma_pago` text,
  `notas` text,
  `contacto_nombre` text,
  `contacto_telefono` text,
  `contacto_correo` text,
  `departamento_mc` varchar(25) DEFAULT NULL,
  `ciudad_mc` varchar(25) DEFAULT NULL,
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayorescotizaciones`
--

INSERT INTO `mayorescotizaciones` (`id`, `consecutivo`, `idcliente`, `fechacreacion`, `bruto`, `descuento`, `total`, `idusuario`, `fechavencimiento`, `cliente`, `direccion`, `telefono`, `base`, `impuesto`, `fecha`, `codigo_cotizacion`, `area_destino`, `ciudad`, `asunto`, `alcance`, `tiempo_entrega`, `validez_oferta`, `forma_pago`, `notas`, `contacto_nombre`, `contacto_telefono`, `contacto_correo`, `departamento_mc`, `ciudad_mc`) VALUES (5,NULL,1,'0000-00-00 00:00:00',0,0,12532000,2025,'2025-04-14 17:59:25','LABORATORIOS SOPHIA DE CO',NULL,NULL,0,0,'2025-04-17','i -9a8456-1a','Area de mantenimiento','Pereira','DISEÑO Y FABRICACIÓN DE MECANISMO PARA DES TENSIONAR PAPEL EN RODILLO Y COMPENSACIÓN DE RODILLO. ','Desmote de los soportes actuales y retiro de rodillo para traslado a taller\nCompensación de rodillo para disminuir o eliminar vibraciones\nDiseño de mecanismo para des tensionar y liberar papel del rodillo\nFabricación de mecanismo\nMontaje del mecanismo y del rodillo\nMateriales generales: Lámina ½”, varilla roscada ¾” G5, eje acero 1\nEntrega de las unidades a satisfacción del personal del área','15 dias','8 dias','30 dias','Los precios anteriores no incluyen IVA. \nAclaraciones al respecto con gusto las atenderemos.\nAtentamente,  ','Raúl Otálvaro','+57 3006078110','zuluagajorgeh@gmail.com',NULL,NULL),(6,NULL,1,'0000-00-00 00:00:00',0,0,12532000,2025,'2025-04-14 18:37:15','RAMON PATIÑO JIMENEZ',NULL,NULL,0,0,'2025-04-17','i -9a8456-1a','Area de Mantenimiento','Pereira','hola que tal','Desmote de los soportes actuales y retiro de rodillo para traslado a taller\nCompensación de rodillo para disminuir o eliminar vibraciones\nDiseño de mecanismo para des tensionar y liberar papel del rodillo\nFabricación de mecanismo\nMontaje del mecanismo y del rodillo\nMateriales generales: Lámina ½”, varilla roscada ¾” G5, eje acero 1\nEntrega de las unidades a satisfacción del personal del área','15 dias','8 dias','30 dias','Los precios anteriores no incluyen IVA. \nAclaraciones al respecto con gusto las atenderemos.\nAtentamente,  ','ng. Jorge Humberto Zuluaga','+57 3006078110','zuluagajorgeh@gmail.com',NULL,NULL);

--
-- Table structure for table `mayoresfichaderegistro`
--

CREATE TABLE `mayoresfichaderegistro` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` int DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresfichaderegistro`
--


--
-- Table structure for table `mayoresinventarioinicial`
--

CREATE TABLE `mayoresinventarioinicial` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `fecha` date DEFAULT NULL,
  `idusuario` bigint unsigned DEFAULT NULL,
  `fechacreacion` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` bigint unsigned DEFAULT '1',
  `estado` varchar(25) DEFAULT 'ABIERTO',
  `pv` varchar(25) DEFAULT 'KALDI',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `fecha` (`fecha`,`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idusuario_2` (`idusuario`),
  KEY `cc` (`cc`),
  CONSTRAINT `mayoresinventarioinicial_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresinventarioinicial`
--


--
-- Table structure for table `mayoresnotascredito`
--

CREATE TABLE `mayoresnotascredito` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `IDMOTIVODTO` int DEFAULT '1',
  `IDMINUTA` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `documentid` varchar(200) DEFAULT NULL,
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(25) DEFAULT NULL,
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `cc` int DEFAULT '2',
  `idmesa` int DEFAULT '1',
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` int DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `idfacturaqueabona` int NOT NULL DEFAULT '0',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `iva` int NOT NULL DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `condicion` int NOT NULL DEFAULT '0',
  `fechavencimiento` datetime DEFAULT CURRENT_TIMESTAMP,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pedidonumero` varchar(10) DEFAULT NULL,
  `base` double NOT NULL DEFAULT '0',
  `inquiry` varchar(23) NOT NULL DEFAULT ' ',
  `esbolsillo` int NOT NULL DEFAULT '0',
  `idvendedor` bigint unsigned NOT NULL DEFAULT '1' COMMENT 'este vendedor no hizo toda la venta, solo abriÃƒÂ² la mesa',
  `emailenviado` int NOT NULL DEFAULT '0',
  `escortesia` int NOT NULL DEFAULT '0',
  `idcaja` bigint unsigned NOT NULL DEFAULT '1',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fechaabonado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `CODFORMAPAGO` varchar(5) DEFAULT '1',
  `codalmacen` varchar(25) DEFAULT '1',
  `TIPODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `ESTADODELIVERY` varchar(1) NOT NULL DEFAULT '1',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `aliasespera` int NOT NULL DEFAULT '0',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `esbarra` varchar(1) NOT NULL DEFAULT 'F',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `domicilio` double NOT NULL DEFAULT '0',
  `cedula` varchar(15) NOT NULL DEFAULT '999999',
  `codigociudad` varchar(5) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `codigopostal` varchar(5) DEFAULT NULL,
  `codigodepartamento` varchar(5) DEFAULT NULL,
  `departamento` varchar(25) DEFAULT NULL,
  `ciudad` varchar(5) DEFAULT NULL,
  `cufe` varchar(250) DEFAULT NULL,
  `resoluciondesde` date DEFAULT NULL,
  `resolucionhasta` date DEFAULT NULL,
  `id_tipo_persona` int DEFAULT '0',
  `prefijofe` varchar(5) DEFAULT NULL,
  `consecutivofe` int DEFAULT '0',
  `fecha_registrofactura` varchar(20) DEFAULT NULL,
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `valornc` double DEFAULT '0',
  `notacreditofe` int DEFAULT '0',
  `cufenc` varchar(250) DEFAULT NULL,
  `numlineas` int DEFAULT '0',
  `razonsocial` varchar(200) DEFAULT NULL,
  `nombrecomercial` varchar(200) DEFAULT NULL,
  `tipodepersona` int DEFAULT '0',
  `tipo_identificacion` varchar(5) DEFAULT NULL,
  `dv` int DEFAULT NULL,
  `sfiscalresponsibilities` varchar(10) DEFAULT NULL,
  `regimenfiscal` int DEFAULT NULL,
  `contacto` varchar(100) DEFAULT NULL,
  `prefijo` varchar(5) DEFAULT 'FV',
  `conceptoanulado` varchar(150) DEFAULT NULL,
  `garantiahasta` date DEFAULT NULL,
  `cantidadmediosdepago` int DEFAULT '0',
  `snumsop` varchar(25) DEFAULT NULL,
  `inumoper` varchar(25) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'KALDI',
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `idvendedor` (`idvendedor`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresnotascredito`
--


--
-- Table structure for table `mayoresordendeservicio`
--

CREATE TABLE `mayoresordendeservicio` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` int DEFAULT NULL,
  `idusuario` int DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  `foto1` longtext,
  `foto2` longtext,
  `foto3` longtext,
  `foto4` longtext,
  `foto5` longtext,
  `foto6` longtext,
  `foto7` longtext,
  `foto8` longtext,
  `idmesa` int DEFAULT NULL,
  `estado` varchar(25) NOT NULL DEFAULT 'ABIERTA',
  `idfactura` int DEFAULT '0',
  `kilometraje` int DEFAULT '0',
  `idtecnico1` int DEFAULT NULL,
  `idtecnico2` int DEFAULT NULL,
  `idtecnico3` int DEFAULT NULL,
  `firma` text,
  `horafirmado` datetime DEFAULT NULL,
  `placa` varchar(6) DEFAULT 'NA....',
  `valor` double DEFAULT '0',
  `numlineas` int DEFAULT '0',
  `estadovehiculo` varchar(50) DEFAULT NULL,
  `idclientes` int DEFAULT '0',
  `idcliente` int DEFAULT '0',
  `descuento` double DEFAULT '0',
  `marca` varchar(50) DEFAULT NULL,
  `modelo` int DEFAULT NULL,
  `matricula` varchar(25) DEFAULT NULL,
  `combustible` int DEFAULT '0',
  `descripcionreparacion` varchar(500) DEFAULT NULL,
  `repuestosaportados` varchar(500) DEFAULT NULL,
  `firmaresguardo` text,
  `horafirmadoresguardo` datetime DEFAULT NULL,
  `autorizadoresguardo` int DEFAULT '0',
  `recogepiezas` int DEFAULT '0',
  `referencia` varchar(25) DEFAULT NULL,
  `numerodebastidor` varchar(25) DEFAULT NULL,
  `fechaprevista` date DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idfactura` (`idfactura`,`idmesa`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresordendeservicio`
--

INSERT INTO `mayoresordendeservicio` (`id`, `consecutivo`, `idusuario`, `fechacreacion`, `foto1`, `foto2`, `foto3`, `foto4`, `foto5`, `foto6`, `foto7`, `foto8`, `idmesa`, `estado`, `idfactura`, `kilometraje`, `idtecnico1`, `idtecnico2`, `idtecnico3`, `firma`, `horafirmado`, `placa`, `valor`, `numlineas`, `estadovehiculo`, `idclientes`, `idcliente`, `descuento`, `marca`, `modelo`, `matricula`, `combustible`, `descripcionreparacion`, `repuestosaportados`, `firmaresguardo`, `horafirmadoresguardo`, `autorizadoresguardo`, `recogepiezas`, `referencia`, `numerodebastidor`, `fechaprevista`) VALUES (2,NULL,1,'2024-08-12 23:59:59',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,21,'ABIERTA',47740,0,NULL,NULL,NULL,NULL,NULL,'NMU22B',10115,1,NULL,0,3161,0,'NMU22B',0,'',0,NULL,NULL,NULL,NULL,0,0,NULL,NULL,NULL),(3,NULL,1,'2024-08-12 23:59:59',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,'ABIERTA',0,0,NULL,NULL,NULL,NULL,NULL,NULL,66500,8,NULL,0,0,0,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,0,0,NULL,NULL,NULL),(4,NULL,1,'2024-08-12 23:59:59',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,'ABIERTA',0,0,NULL,NULL,NULL,NULL,NULL,'NA....',27800,5,NULL,0,0,0,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,0,0,NULL,NULL,NULL),(5,NULL,1,'2024-08-12 23:59:59',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,'ABIERTA',0,0,NULL,NULL,NULL,NULL,NULL,'NA....',8300,2,NULL,0,0,0,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,0,0,NULL,NULL,NULL),(6,NULL,1,'2024-08-12 23:59:59',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,4,'ABIERTA',0,0,NULL,NULL,NULL,NULL,NULL,'NA....',42000,3,NULL,0,0,0,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,0,0,NULL,NULL,NULL),(7,NULL,1,'2024-08-12 23:59:59',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10,'ABIERTA',47741,0,NULL,NULL,NULL,NULL,NULL,'NA....',23000,3,NULL,0,3161,0,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,0,0,NULL,NULL,NULL);

--
-- Table structure for table `mayorespedidosweb`
--

CREATE TABLE `mayorespedidosweb` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `observaciondelcleinte` varchar(200) DEFAULT NULL,
  `diasemana` varchar(200) DEFAULT NULL,
  `ordendia` int DEFAULT '0',
  `MESALIBERADA` int DEFAULT '1',
  `aliado` varchar(25) DEFAULT NULL,
  `empacado` int DEFAULT '0',
  `direccion` varchar(200) DEFAULT NULL,
  `barrio` varchar(50) DEFAULT NULL,
  `celular` varchar(50) DEFAULT NULL,
  `cliente` varchar(100) DEFAULT NULL,
  `horaentregadoaldomiciliario` datetime DEFAULT NULL,
  `horaentregadoalcliente` datetime DEFAULT NULL,
  `fecharesolucion` date DEFAULT NULL,
  `resolucion` varchar(20) DEFAULT NULL,
  `desde` int DEFAULT '1',
  `hasta` int DEFAULT '1',
  `iddomiciliario` int DEFAULT '0',
  `entregado` int DEFAULT '0',
  `despachado` int DEFAULT '0',
  `ese` int DEFAULT '0',
  `tienenc` int DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `horatotal` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `documento` varchar(2) NOT NULL DEFAULT 'V',
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `origen` varchar(25) DEFAULT NULL,
  `entrega` varchar(100) NOT NULL DEFAULT ' ',
  `cobra` varchar(100) NOT NULL DEFAULT ' ',
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` int DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `cerrado` int NOT NULL DEFAULT '0',
  `recibido` double NOT NULL DEFAULT '0',
  `devuelta` double NOT NULL DEFAULT '0',
  `impuesto` double DEFAULT '0',
  `fechavencimiento` date DEFAULT NULL,
  `ultimaedicion` datetime DEFAULT CURRENT_TIMESTAMP,
  `base` double NOT NULL DEFAULT '0',
  `pedidonumero` varchar(25) DEFAULT NULL,
  `escortesia` int NOT NULL DEFAULT '0',
  `mediodepago` varchar(25) NOT NULL DEFAULT 'EFECTIVO',
  `nota` varchar(25) NOT NULL DEFAULT '',
  `fecha_anulado` datetime DEFAULT NULL,
  `servicio` int NOT NULL DEFAULT '0',
  `subido` int NOT NULL DEFAULT '0',
  `codalmacen` varchar(25) DEFAULT '1',
  `cuotainicial` int DEFAULT '0',
  `n` varchar(1) NOT NULL DEFAULT 'B',
  `codvendedor` int NOT NULL DEFAULT '0',
  `impresiones` int NOT NULL DEFAULT '0',
  `numservicio` int NOT NULL DEFAULT '0',
  `NUMLINEA` int NOT NULL DEFAULT '1',
  `CODTIPOTASA1` varchar(1) NOT NULL DEFAULT '1',
  `CODTARIFA` varchar(1) NOT NULL DEFAULT '1',
  `ivainc` varchar(1) NOT NULL DEFAULT 'T',
  `codzona` int NOT NULL DEFAULT '1',
  `domicilio` double NOT NULL DEFAULT '0',
  `cedula` varchar(15) DEFAULT NULL,
  `codigociudad` varchar(7) DEFAULT '63001',
  `email` varchar(100) DEFAULT NULL,
  `codigopostal` varchar(7) DEFAULT '630003',
  `codigodepartamento` varchar(7) DEFAULT '63',
  `departamento` varchar(25) DEFAULT 'QUINDIO',
  `ciudad` varchar(25) DEFAULT 'ARMENIA',
  `resoluciondesde` date DEFAULT NULL,
  `resolucionhasta` date DEFAULT NULL,
  `id_tipo_persona` int DEFAULT '0',
  `prefijofe` varchar(5) DEFAULT NULL,
  `COD_SATELITE` varchar(25) DEFAULT NULL,
  `valornc` double DEFAULT '0',
  `notacreditofe` int DEFAULT '0',
  `cufenc` varchar(250) DEFAULT NULL,
  `numlineas` int DEFAULT '0',
  `razonsocial` varchar(200) DEFAULT NULL,
  `nombrecomercial` varchar(200) DEFAULT NULL,
  `tipodepersona` int DEFAULT '0',
  `tipo_identificacion` varchar(5) DEFAULT NULL,
  `dv` int DEFAULT NULL,
  `regimenfiscal` int DEFAULT NULL,
  `contacto` varchar(100) DEFAULT NULL,
  `prefijo` varchar(5) DEFAULT 'FV',
  `garantiahasta` date DEFAULT NULL,
  `cantidadmediosdepago` int DEFAULT '0',
  `snumsop` varchar(25) DEFAULT NULL,
  `inumoper` varchar(25) DEFAULT NULL,
  `domicilioexterno` int DEFAULT '0',
  `pv` varchar(25) DEFAULT 'texasburgers',
  `numeroabajo` int DEFAULT '0',
  `alergenos` varchar(50) DEFAULT '0',
  `facturatienemodificadores` int DEFAULT '0',
  `conseuctivorappi` varchar(11) DEFAULT NULL,
  `delivery_method` varchar(25) DEFAULT NULL,
  `payment_method` varchar(25) DEFAULT NULL,
  `COD_CLIENTE_FRONT` int DEFAULT '0',
  `ID_CLIENTE_CONTROL` int DEFAULT '1',
  `ssignature` text,
  `sqr` text,
  `observacionesnovedad` varchar(150) DEFAULT NULL,
  `horapreparado` datetime DEFAULT NULL,
  `resdianfe` varchar(25) DEFAULT NULL,
  `desdefe` int DEFAULT '0',
  `hastafe` int DEFAULT '0',
  `fecharesfe` date DEFAULT NULL,
  `fechafe` date DEFAULT NULL,
  `placa` varchar(6) DEFAULT NULL,
  `mediodoepagointegracion` varchar(25) DEFAULT NULL,
  `CONFIRMED` datetime DEFAULT NULL,
  `observacionanula` varchar(100) DEFAULT NULL,
  `DISPATCHED` datetime DEFAULT NULL,
  `CONCLUDED` datetime DEFAULT NULL,
  `CANCELLED` datetime DEFAULT NULL,
  `CANCELLATION_REQUESTED` datetime DEFAULT NULL,
  `aceptado` bit(1) DEFAULT b'0',
  `horaaceptado` datetime DEFAULT NULL,
  `anulado` int DEFAULT '0',
  `enviadoataxxa` bit(1) DEFAULT b'0',
  `horanovedad` datetime DEFAULT NULL,
  `novedad` bit(1) DEFAULT b'0',
  `costofactura` double DEFAULT '0',
  `aceptado_domiciliario` bit(1) DEFAULT b'0',
  `hora_aceptado_domiciliario` datetime DEFAULT NULL,
  `prooduco_recibido_domiciliario` bit(1) DEFAULT b'0',
  `hora_prooduco_recibido_domiciliario` datetime DEFAULT NULL,
  `impreso` bit(1) DEFAULT b'0',
  `pedidorechazado` bit(1) DEFAULT b'0',
  `horapedidorechazado` datetime DEFAULT NULL,
  `domicilioconciliado` bit(1) DEFAULT b'0',
  `fechancdian` datetime DEFAULT NULL,
  `tipodevolucion` varchar(25) DEFAULT NULL,
  `deberecoger` datetime DEFAULT NULL,
  `nombrecomercialfactura` varchar(50) DEFAULT NULL,
  `clasificacioncliente` varchar(20) DEFAULT 'CLIENTE FINAL',
  `codeudor` varchar(50) DEFAULT NULL,
  `telefonoocodeudor` varchar(30) DEFAULT NULL,
  `parentescocodeudor` varchar(25) DEFAULT NULL,
  `plazo` int DEFAULT NULL,
  `valorcuota` int DEFAULT NULL,
  `valorcuotainicial` int DEFAULT NULL,
  `fechacuotainicial` date DEFAULT NULL,
  `cuotasapartirde` date DEFAULT NULL,
  `modalidad` int DEFAULT NULL,
  `identificador` varchar(25) DEFAULT NULL,
  `idvendedor` int DEFAULT NULL,
  `fechaorden` date DEFAULT NULL,
  `centrodecostos` varchar(25) DEFAULT NULL,
  `periodicidad` int DEFAULT '0',
  `cantidaddecuotas` bit(1) DEFAULT b'0',
  `fechaprimercuota` date DEFAULT NULL,
  `iva` double DEFAULT '0',
  `idfactura` int DEFAULT '0',
  `idusuarioanula` int DEFAULT '0',
  `enviadoaldomiciliario` int DEFAULT '0',
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB AUTO_INCREMENT=1005 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayorespedidosweb`
--


--
-- Table structure for table `mayoresrecibogeneral`
--

CREATE TABLE `mayoresrecibogeneral` (
  `id` int NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime NOT NULL,
  `idusuario` int NOT NULL,
  `consecutivo` int NOT NULL,
  `total` double DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `idx_idusuario` (`idusuario`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mayoresrecibogeneral`
--


--
-- Table structure for table `mayoresrutas`
--

CREATE TABLE `mayoresrutas` (
  `id` int NOT NULL AUTO_INCREMENT,
  `fechacreacion` datetime DEFAULT NULL,
  `idusuario` bigint unsigned NOT NULL,
  `consecutivo` int DEFAULT NULL,
  `total` int NOT NULL DEFAULT '0',
  `idzona` bigint unsigned DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idzona` (`idzona`),
  CONSTRAINT `mayoresrutas_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `mayoresrutas_ibfk_2` FOREIGN KEY (`idzona`) REFERENCES `zonasclientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mayoresrutas`
--


--
-- Table structure for table `mayoresseparados`
--

CREATE TABLE `mayoresseparados` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idfactura` int NOT NULL DEFAULT '0',
  `consecutivo` int NOT NULL DEFAULT '0',
  `idcliente` bigint unsigned NOT NULL DEFAULT '1',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `saldo` double NOT NULL DEFAULT '0',
  `observacion` text,
  `cc` bigint unsigned NOT NULL,
  `bruto` double NOT NULL DEFAULT '0',
  `descuento` double NOT NULL DEFAULT '0',
  `total` double NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `cerrado` int NOT NULL DEFAULT '0',
  `abonado` int NOT NULL DEFAULT '0',
  `vigenciadelcredito` int NOT NULL DEFAULT '0',
  `fechavencimiento` datetime DEFAULT CURRENT_TIMESTAMP,
  `idusuarioanula` int DEFAULT '0',
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `id_2` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`),
  KEY `facturas_ibfk_3` (`idcliente`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoresseparados`
--


--
-- Table structure for table `mayoressolicitudes`
--

CREATE TABLE `mayoressolicitudes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `consecutivo` int NOT NULL DEFAULT '0',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `observacion` text,
  `origen` varchar(8) NOT NULL DEFAULT 'MESAS',
  `destino` varchar(50) DEFAULT NULL,
  `fecha` datetime DEFAULT CURRENT_TIMESTAMP,
  `total` double NOT NULL DEFAULT '0',
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idz` bigint unsigned NOT NULL DEFAULT '1',
  `abonado` int NOT NULL DEFAULT '0',
  `ESTADO` varchar(12) NOT NULL DEFAULT 'ENVIADA',
  `pv` varchar(25) DEFAULT 'KALDI',
  UNIQUE KEY `id` (`id`),
  KEY `idusuario` (`idusuario`),
  KEY `idz` (`idz`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mayoressolicitudes`
--


--
-- Table structure for table `mayorestraslados`
--

CREATE TABLE `mayorestraslados` (
  `id` int NOT NULL AUTO_INCREMENT,
  `origen` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `destino` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `servicio` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `nota` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `idcaja` int DEFAULT NULL,
  `idvendedor` int DEFAULT NULL,
  `idusuario` int DEFAULT NULL,
  `bruto` decimal(10,2) DEFAULT NULL,
  `consecutivo` int DEFAULT NULL,
  `idmesa` int DEFAULT NULL,
  `idcliente` int DEFAULT NULL,
  `total` decimal(10,2) DEFAULT NULL,
  `cc` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `documento` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `base` decimal(10,2) DEFAULT NULL,
  `iva` decimal(10,2) DEFAULT NULL,
  `fechacreacion` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mayorestraslados`
--


--
-- Table structure for table `mediosdepago`
--

CREATE TABLE `mediosdepago` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `mediodepago` varchar(200) DEFAULT NULL,
  `cc` bigint unsigned NOT NULL,
  `orden` int NOT NULL DEFAULT '0',
  `pv` varchar(25) DEFAULT 'KALDI',
  `cuenta_mediosdepago` varchar(8) DEFAULT NULL,
  `codigodian` varchar(3) DEFAULT '10',
  PRIMARY KEY (`id`),
  KEY `cc` (`cc`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mediosdepago`
--

INSERT INTO `mediosdepago` (`id`, `mediodepago`, `cc`, `orden`, `pv`, `cuenta_mediosdepago`, `codigodian`) VALUES (6,'DATAFONO',2,4,'KALDI','110505','46'),(7,'EFECTIVO',2,1,'KALDI','110505','10'),(8,'TRANSFERENCIA',2,2,'KALDI','110505','46');

--
-- Table structure for table `mesas`
--

CREATE TABLE `mesas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `nombre` varchar(20) DEFAULT NULL,
  `codigo` varchar(20) NOT NULL DEFAULT ' ',
  `cc` bigint unsigned NOT NULL DEFAULT '0',
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idusuario` bigint unsigned NOT NULL DEFAULT '1',
  `idzona` bigint unsigned NOT NULL DEFAULT '21',
  `orden` int NOT NULL DEFAULT '0',
  `idmeseroactual` bigint unsigned NOT NULL DEFAULT '1',
  `barcode` varchar(25) DEFAULT NULL,
  `pv` varchar(25) DEFAULT 'texasburgers',
  `estadomesa` varchar(25) DEFAULT 'OCUPADO',
  `obsmesa` varchar(100) DEFAULT NULL,
  `random` varchar(25) DEFAULT NULL,
  `urlmesa` varchar(250) DEFAULT NULL,
  `descripcionmesa` varchar(250) DEFAULT NULL,
  `valorreserva` int DEFAULT '0',
  `escondida` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  KEY `cc` (`cc`),
  KEY `idusuario` (`idusuario`),
  KEY `idzona` (`idzona`),
  KEY `idmeseroactual` (`idmeseroactual`),
  CONSTRAINT `mesas_ibfk_1` FOREIGN KEY (`idusuario`) REFERENCES `clientes` (`id`),
  CONSTRAINT `mesas_ibfk_2` FOREIGN KEY (`idzona`) REFERENCES `zonas` (`id`),
  CONSTRAINT `mesas_ibfk_3` FOREIGN KEY (`idmeseroactual`) REFERENCES `clientes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mesas`
--

INSERT INTO `mesas` (`id`, `nombre`, `codigo`, `cc`, `fechacreacion`, `idusuario`, `idzona`, `orden`, `idmeseroactual`, `barcode`, `pv`, `estadomesa`, `obsmesa`, `random`, `urlmesa`, `descripcionmesa`, `valorreserva`, `escondida`) VALUES (1,NULL,' ',0,'2025-09-30 13:03:42',1,1,0,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(2,'1',' ',0,'2025-10-02 20:09:18',5,2,1,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(3,'2',' ',0,'2025-10-02 20:09:52',5,2,2,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(4,'3',' ',0,'2025-10-02 20:10:02',5,2,3,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(5,'4',' ',0,'2025-10-02 20:10:12',5,2,4,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(6,'5',' ',0,'2025-10-02 20:10:45',5,3,5,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(7,'7',' ',0,'2025-10-02 20:10:47',5,3,7,1,NULL,'texasburgers','DESOCUPADO',NULL,NULL,NULL,NULL,0,0),(8,'6',' ',0,'2025-10-02 20:10:48',5,3,6,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(9,'8',' ',0,'2025-10-02 20:11:26',5,4,8,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(10,'9',' ',0,'2025-10-02 20:11:30',5,4,9,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(11,'10',' ',0,'2025-10-02 20:11:31',5,4,10,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(12,'11',' ',0,'2025-10-02 20:11:32',5,4,11,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(13,'12',' ',0,'2025-10-02 20:11:57',5,5,12,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(14,'D1',' ',0,'2025-11-06 18:31:28',5,6,1,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0),(15,'D2',' ',0,'2025-11-06 18:31:49',5,6,2,1,NULL,'texasburgers','OCUPADO',NULL,NULL,NULL,NULL,0,0);

--
-- Table structure for table `meses`
--

CREATE TABLE `meses` (
  `mes` int DEFAULT '0',
  `pv` varchar(25) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `meses`
--

INSERT INTO `meses` (`mes`, `pv`) VALUES (1,NULL),(2,NULL),(3,NULL),(4,NULL),(5,NULL),(6,NULL),(7,NULL),(8,NULL),(9,NULL),(10,NULL),(11,NULL),(12,NULL);

--
-- Table structure for table `metas`
--

CREATE TABLE `metas` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idvendedor` int NOT NULL DEFAULT '0',
  `idarticulo` int NOT NULL DEFAULT '0',
  `valor` int NOT NULL DEFAULT '0',
  `fechacreacion` datetime DEFAULT CURRENT_TIMESTAMP,
  `mes` int NOT NULL DEFAULT '0',
  `cumplimiento` double NOT NULL DEFAULT '0',
  `pv` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`),
  UNIQUE KEY `idvendedor` (`idvendedor`,`idarticulo`,`mes`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `metas`
--


--
-- Table structure for table `modificadores`
--

CREATE TABLE `modificadores` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `idfamilia` int NOT NULL,
  `idarticulo` int NOT NULL,
  `minimo` int NOT NULL,
  `maximo` int NOT NULL,
  `incremento` int NOT NULL,
  `fechacreacion` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `idrapi` varchar(25) DEFAULT NULL,
  `papa` int DEFAULT '0',
  `sesubeaifood` int DEFAULT '0',
  `fechacracion` datetime DEFAULT CURRENT_TIMESTAMP,
  `pv` varchar(25) DEFAULT 'KALDI',
  `idrappi` varchar(25) DEFAULT NULL,
  `saleenventa` int DEFAULT '1',
  `sesubearappi` int DEFAULT '0',
  `ordenmodificadores` int DEFAULT '0',
  `incrementov2` int DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=83 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `modificadores`
--

INSERT INTO `modificadores` (`id`, `idfamilia`, `idarticulo`, `minimo`, `maximo`, `incremento`, `fechacreacion`, `idrapi`, `papa`, `sesubeaifood`, `fechacracion`, `pv`, `idrappi`, `saleenventa`, `sesubearappi`, `ordenmodificadores`, `incrementov2`) VALUES (1,3,183,0,0,0,'2025-11-07 16:54:43',NULL,0,0,'2025-11-07 16:54:43','KALDI',NULL,1,0,0,0),(2,3,184,0,0,0,'2025-11-07 16:54:46',NULL,0,0,'2025-11-07 16:54:46','KALDI',NULL,1,0,0,0),(3,3,185,0,0,1000,'2025-11-07 16:54:52',NULL,0,0,'2025-11-07 16:54:52','KALDI',NULL,1,0,0,0),(4,4,39,0,0,0,'2025-11-07 17:04:28',NULL,0,0,'2025-11-07 17:04:28','KALDI',NULL,1,0,0,0),(5,4,40,0,0,0,'2025-11-07 17:04:31',NULL,0,0,'2025-11-07 17:04:31','KALDI',NULL,1,0,0,0),(7,4,30,0,0,0,'2025-11-10 15:18:16',NULL,0,0,'2025-11-10 15:18:16','KALDI',NULL,1,0,0,0),(8,4,2,0,0,0,'2025-11-10 15:18:33',NULL,0,0,'2025-11-10 15:18:33','KALDI',NULL,1,0,0,0),(10,5,166,0,0,18500,'2025-11-10 15:31:50',NULL,0,0,'2025-11-10 15:31:50','KALDI',NULL,1,0,0,0),(15,6,409,0,0,6000,'2025-11-10 15:36:20',NULL,0,0,'2025-11-10 15:36:20','KALDI',NULL,1,0,0,0),(16,6,171,0,0,6000,'2025-11-10 15:36:35',NULL,0,0,'2025-11-10 15:36:35','KALDI',NULL,1,0,0,0),(17,6,165,0,0,4000,'2025-11-10 15:36:49',NULL,0,0,'2025-11-10 15:36:49','KALDI',NULL,1,0,0,0),(18,7,204,0,0,4200,'2025-11-10 15:38:16',NULL,0,0,'2025-11-10 15:38:16','KALDI',NULL,1,0,0,0),(19,7,203,0,0,3800,'2025-11-10 17:01:10',NULL,0,0,'2025-11-10 17:01:10','KALDI',NULL,1,0,0,0),(20,7,206,0,0,4200,'2025-11-10 17:01:24',NULL,0,0,'2025-11-10 17:01:24','KALDI',NULL,1,0,0,0),(21,7,82,0,0,7500,'2025-11-10 17:03:51',NULL,0,0,'2025-11-10 17:03:51','KALDI',NULL,1,0,0,0),(23,5,161,0,0,17000,'2025-11-10 17:06:08',NULL,0,0,'2025-11-10 17:06:08','KALDI',NULL,1,0,0,0),(24,5,164,0,0,11000,'2025-11-10 17:06:19',NULL,0,0,'2025-11-10 17:06:19','KALDI',NULL,1,0,0,0),(25,7,83,0,0,7500,'2025-11-10 17:08:07',NULL,0,0,'2025-11-10 17:08:07','KALDI',NULL,1,0,0,0),(26,8,44,0,0,0,'2025-11-10 17:19:39',NULL,0,0,'2025-11-10 17:19:39','KALDI',NULL,1,0,0,0),(27,8,45,0,0,0,'2025-11-10 17:25:45',NULL,0,0,'2025-11-10 17:25:45','KALDI',NULL,1,0,0,0),(28,8,46,0,0,0,'2025-11-10 17:25:54',NULL,0,0,'2025-11-10 17:25:54','KALDI',NULL,1,0,0,0),(29,8,47,0,0,0,'2025-11-10 17:26:03',NULL,0,0,'2025-11-10 17:26:03','KALDI',NULL,1,0,0,0),(30,8,48,0,0,0,'2025-11-10 17:26:13',NULL,0,0,'2025-11-10 17:26:13','KALDI',NULL,1,0,0,0),(31,8,49,0,0,0,'2025-11-10 17:26:20',NULL,0,0,'2025-11-10 17:26:20','KALDI',NULL,1,0,0,0),(32,8,67,0,0,0,'2025-11-10 17:26:26',NULL,0,0,'2025-11-10 17:26:26','KALDI',NULL,1,0,0,0),(33,9,28,0,0,6000,'2025-11-10 17:38:13',NULL,0,0,'2025-11-10 17:38:13','KALDI',NULL,1,0,0,0),(35,9,60,0,0,9800,'2025-11-10 17:38:40',NULL,0,0,'2025-11-10 17:38:40','KALDI',NULL,1,0,0,0),(36,9,61,0,0,9800,'2025-11-10 17:38:41',NULL,0,0,'2025-11-10 17:38:41','KALDI',NULL,1,0,0,0),(37,9,59,0,0,9800,'2025-11-10 17:38:42',NULL,0,0,'2025-11-10 17:38:42','KALDI',NULL,1,0,0,0),(38,9,57,0,0,9200,'2025-11-10 17:38:44',NULL,0,0,'2025-11-10 17:38:44','KALDI',NULL,1,0,0,0),(39,9,58,0,0,8500,'2025-11-10 17:38:46',NULL,0,0,'2025-11-10 17:38:46','KALDI',NULL,1,0,0,0),(44,9,29,0,0,8000,'2025-11-10 17:46:53',NULL,0,0,'2025-11-10 17:46:53','KALDI',NULL,1,0,0,0),(45,10,55,0,0,6000,'2025-11-10 17:48:42',NULL,0,0,'2025-11-10 17:48:42','KALDI',NULL,1,0,0,0),(46,10,66,0,0,7000,'2025-11-10 17:48:53',NULL,0,0,'2025-11-10 17:48:53','KALDI',NULL,1,0,0,0),(47,10,62,0,0,7000,'2025-11-10 17:48:54',NULL,0,0,'2025-11-10 17:48:54','KALDI',NULL,1,0,0,0),(48,10,63,0,0,7000,'2025-11-10 17:48:54',NULL,0,0,'2025-11-10 17:48:54','KALDI',NULL,1,0,0,0),(49,10,64,0,0,7000,'2025-11-10 17:48:55',NULL,0,0,'2025-11-10 17:48:55','KALDI',NULL,1,0,0,0),(50,10,65,0,0,7000,'2025-11-10 17:48:57',NULL,0,0,'2025-11-10 17:48:57','KALDI',NULL,1,0,0,0),(51,8,50,0,0,0,'2025-11-10 17:53:01',NULL,0,0,'2025-11-10 17:53:01','KALDI',NULL,1,0,0,0),(53,11,80,0,0,7500,'2025-11-10 17:56:04',NULL,0,0,'2025-11-10 17:56:04','KALDI',NULL,1,0,0,0),(54,11,79,0,0,7000,'2025-11-10 17:56:04',NULL,0,0,'2025-11-10 17:56:04','KALDI',NULL,1,0,0,0),(55,11,93,0,0,8500,'2025-11-10 17:56:07',NULL,0,0,'2025-11-10 17:56:07','KALDI',NULL,1,0,0,0),(56,11,74,0,0,8000,'2025-11-10 17:56:09',NULL,0,0,'2025-11-10 17:56:09','KALDI',NULL,1,0,0,0),(57,11,92,0,0,8000,'2025-11-10 17:56:12',NULL,0,0,'2025-11-10 17:56:12','KALDI',NULL,1,0,0,0),(58,11,81,0,0,8000,'2025-11-10 17:56:13',NULL,0,0,'2025-11-10 17:56:13','KALDI',NULL,1,0,0,0),(59,11,91,0,0,8500,'2025-11-10 17:56:18',NULL,0,0,'2025-11-10 17:56:18','KALDI',NULL,1,0,0,0),(60,12,82,0,0,7500,'2025-11-10 18:03:06',NULL,0,0,'2025-11-10 18:03:06','KALDI',NULL,1,0,0,0),(61,12,83,0,0,7500,'2025-11-10 18:03:08',NULL,0,0,'2025-11-10 18:03:08','KALDI',NULL,1,0,0,0),(65,12,488,0,0,6000,'2025-11-10 18:04:28',NULL,0,0,'2025-11-10 18:04:28','KALDI',NULL,1,0,0,0),(66,12,265,0,0,6000,'2025-11-10 18:04:30',NULL,0,0,'2025-11-10 18:04:30','KALDI',NULL,1,0,0,0),(67,12,95,0,0,8000,'2025-11-10 18:04:37',NULL,0,0,'2025-11-10 18:04:37','KALDI',NULL,1,0,0,0),(68,12,94,0,0,8000,'2025-11-10 18:04:37',NULL,0,0,'2025-11-10 18:04:37','KALDI',NULL,1,0,0,0),(69,13,105,0,0,12000,'2025-11-10 18:09:26',NULL,0,0,'2025-11-10 18:09:26','KALDI',NULL,1,0,0,0),(70,13,103,0,0,12000,'2025-11-10 18:09:28',NULL,0,0,'2025-11-10 18:09:28','KALDI',NULL,1,0,0,0),(71,13,104,0,0,12000,'2025-11-10 18:09:29',NULL,0,0,'2025-11-10 18:09:29','KALDI',NULL,1,0,0,0),(72,13,102,0,0,12000,'2025-11-10 18:09:30',NULL,0,0,'2025-11-10 18:09:30','KALDI',NULL,1,0,0,0),(73,13,107,0,0,12000,'2025-11-10 18:14:12',NULL,0,0,'2025-11-10 18:14:12','KALDI',NULL,1,0,0,0),(74,13,106,0,0,12000,'2025-11-10 18:14:15',NULL,0,0,'2025-11-10 18:14:15','KALDI',NULL,1,0,0,0),(75,14,255,0,0,0,'2025-11-10 18:22:50',NULL,0,0,'2025-11-10 18:22:50','KALDI',NULL,1,0,0,0),(76,14,256,0,0,0,'2025-11-10 18:22:52',NULL,0,0,'2025-11-10 18:22:52','KALDI',NULL,1,0,0,0),(77,14,241,0,0,0,'2025-11-10 18:22:53',NULL,0,0,'2025-11-10 18:22:53','KALDI',NULL,1,0,0,0),(78,5,169,0,0,0,'2025-11-10 19:15:44',NULL,0,0,'2025-11-10 19:15:44','KALDI',NULL,1,0,0,0),(79,5,163,0,0,0,'2025-11-10 19:15:46',NULL,0,0,'2025-11-10 19:15:46','KALDI',NULL,1,0,0,0),(80,6,491,0,0,0,'2025-11-10 19:17:25',NULL,0,0,'2025-11-10 19:17:25','KALDI',NULL,1,0,0,0),(81,7,492,0,0,0,'2025-11-10 19:18:12',NULL,0,0,'2025-11-10 19:18:12','KALDI',NULL,1,0,0,0),(82,11,78,0,0,6000,'2025-11-14 17:44:57',NULL,0,0,'2025-11-14 17:44:57','KALDI',NULL,1,0,0,0);

--
