select * from boletas WHERE estado='Pendiente' and fecha>='2022-07-01' ORDER by fecha ASC
fecha->2022-07-01
select * from boletas where fecha='2022-07-01' and estado='Pendiente' ORDER BY numero_bol ASC
->x<-8916-8916
->x<-8916
sql3->select id,numero_bol,fecha,neto,iva,total,estado,xmlgenerado,pdfgenerado from boletas where numero_bol=8916
estado->Pendiente
Aqui.....1
Estado->Pendiente
iiiii->8916Array ( [0] => Array ( [Encabezado] => Array ( [IdDoc] => Array ( [TipoDTE] => 39 [Folio] => 8916 [FchEmis] => 2022-07-01 ) [Emisor] => Array ( [RUTEmisor] => 76857135-K [RznSoc] => TRES BRUJAS SPA [GiroEmis] => VENTA Y DISTRIBUCION [Acteco] => 202300 [DirOrigen] => IGNACIO CARRERA PINTO 1202 [CmnaOrigen] => RANCAGUA [Telefono] => [CorreoEmisor] => [CdgVendedor] => sistema ) [Receptor] => Array ( [RUTRecep] => 66.666.666-6 [RznSocRecep] => Cliente S.A. [GiroRecep] => [DirRecep] => Santiago [CmnaRecep] => Santiago ) ) [Detalle] => Array ( [0] => Array ( [NmbItem] => Venta [QtyItem] => 1 [PrcItem] => 18240 ) ) [Referencia] => Array ( [0] => Array ( [NroLinRef] => 1 [CodRef] => RO [RazonRef] => sistema [CodVndor] => RO ) ) ) )
Notice: Undefined index: in /var/www/html/erpexpress/vendor/sasco/libredte/lib/Sii/EnvioDte.php on line 269

Notice: Undefined variable: pdf in /var/www/html/erpexpress/vendor/sasco/libredte/examples/alumgoBrujas.php on line 400

Fatal error: Uncaught Error: Call to a member function Output() on null in /var/www/html/erpexpress/vendor/sasco/libredte/examples/alumgoBrujas.php:400 Stack trace: #0 {main} thrown in /var/www/html/erpexpress/vendor/sasco/libredte/examples/alumgoBrujas.php on line 400