[03-Feb-2026 23:59:47 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[03-Feb-2026 23:59:47 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[03-Feb-2026 23:59:47 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[03-Feb-2026 23:59:47 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[03-Feb-2026 23:59:47 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[03-Feb-2026 23:59:47 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[03-Feb-2026 23:59:47 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[03-Feb-2026 23:59:47 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[03-Feb-2026 23:59:49 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[03-Feb-2026 23:59:49 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[03-Feb-2026 23:59:49 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[03-Feb-2026 23:59:49 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[03-Feb-2026 23:59:49 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[03-Feb-2026 23:59:49 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[03-Feb-2026 23:59:49 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[03-Feb-2026 23:59:49 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[03-Feb-2026 23:59:50 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[03-Feb-2026 23:59:50 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[03-Feb-2026 23:59:50 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[03-Feb-2026 23:59:50 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[03-Feb-2026 23:59:50 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[03-Feb-2026 23:59:50 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[03-Feb-2026 23:59:50 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[03-Feb-2026 23:59:50 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 00:00:08 America/Lima] PHP Notice:  date_default_timezone_set(): Timezone ID '' is invalid in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 2
[04-Feb-2026 00:00:08 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 00:00:08 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 00:00:08 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 00:00:08 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 00:00:08 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 00:00:08 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 00:00:08 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 00:00:08 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 11:41:49 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[04-Feb-2026 11:41:49 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[04-Feb-2026 12:03:46 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[04-Feb-2026 12:03:46 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[04-Feb-2026 12:03:54 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:03:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:03:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:03:54 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:03:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:03:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:03:54 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:03:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:05:43 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:05:43 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:05:43 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:05:43 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:05:43 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:05:43 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:05:43 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:05:43 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:05:51 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:05:51 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:05:51 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:05:51 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:05:51 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:05:51 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:05:51 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:05:51 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:09:15 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:09:15 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:09:15 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:09:15 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:09:15 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:09:15 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:09:15 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:09:15 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:11:15 America/Lima] PHP Notice:  date_default_timezone_set(): Timezone ID '' is invalid in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 2
[04-Feb-2026 12:11:15 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:11:15 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:11:15 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:11:15 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:11:15 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:11:15 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:11:15 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:11:15 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:11:48 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:11:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:11:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:11:48 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:11:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:11:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:11:48 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:11:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:12:32 America/Lima] RegistrarVenta: detalle count = 1, total = 10
[04-Feb-2026 12:12:32 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"127",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"1",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"10.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"10",":codigo_operacion":"",":fecha_venta":"2026-02-04 12:12:32"}
[04-Feb-2026 12:12:35 America/Lima] PDF Gen Step 1: Fetching venta #126
[04-Feb-2026 12:12:35 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=127
[04-Feb-2026 12:12:35 America/Lima] PDF Gen Step 2: Fetching cliente #1
[04-Feb-2026 12:12:35 America/Lima] PDF Gen Step 2: OK
[04-Feb-2026 12:12:35 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #127
[04-Feb-2026 12:12:35 America/Lima] PDF Gen Step 3b/c: OK
[04-Feb-2026 12:12:35 America/Lima] PDF Gen Step 4: Fetching detalle for venta #126
[04-Feb-2026 12:12:35 America/Lima] PDF Gen Step 4: OK - Found 1 items
[04-Feb-2026 12:12:35 America/Lima] PDF Gen Step 5: Fetching config
[04-Feb-2026 12:12:35 America/Lima] PDF Gen Step 5: OK
[04-Feb-2026 12:12:35 America/Lima] PDF Gen: Completed successfully for venta #126
[04-Feb-2026 12:14:29 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:14:29 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:14:29 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[04-Feb-2026 12:14:29 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:14:29 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:14:29 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[04-Feb-2026 12:14:29 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:14:29 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[04-Feb-2026 12:14:44 America/Lima] RegistrarVenta: detalle count = 1, total = 10
[04-Feb-2026 12:14:44 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"129",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"1",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"10.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"10",":codigo_operacion":"",":fecha_venta":"2026-02-04 12:14:44"}
[04-Feb-2026 12:14:47 America/Lima] PDF Gen Step 1: Fetching venta #127
[04-Feb-2026 12:14:47 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=129
[04-Feb-2026 12:14:47 America/Lima] PDF Gen Step 2: Fetching cliente #1
[04-Feb-2026 12:14:47 America/Lima] PDF Gen Step 2: OK
[04-Feb-2026 12:14:47 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #129
[04-Feb-2026 12:14:47 America/Lima] PDF Gen Step 3b/c: OK
[04-Feb-2026 12:14:47 America/Lima] PDF Gen Step 4: Fetching detalle for venta #127
[04-Feb-2026 12:14:47 America/Lima] PDF Gen Step 4: OK - Found 1 items
[04-Feb-2026 12:14:47 America/Lima] PDF Gen Step 5: Fetching config
[04-Feb-2026 12:14:47 America/Lima] PDF Gen Step 5: OK
[04-Feb-2026 12:14:47 America/Lima] PDF Gen: Completed successfully for venta #127
[05-Feb-2026 18:28:35 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[05-Feb-2026 18:28:35 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[05-Feb-2026 18:30:12 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:30:12 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:30:12 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:30:12 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:30:12 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:30:12 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:30:12 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 18:30:12 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 18:30:43 America/Lima] RegistrarVenta: detalle count = 2, total = 18
[05-Feb-2026 18:30:43 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"130",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"1",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"18.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"18",":codigo_operacion":"",":fecha_venta":"2026-02-05 18:30:43"}
[05-Feb-2026 18:30:46 America/Lima] PDF Gen Step 1: Fetching venta #128
[05-Feb-2026 18:30:46 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=130
[05-Feb-2026 18:30:46 America/Lima] PDF Gen Step 2: Fetching cliente #1
[05-Feb-2026 18:30:46 America/Lima] PDF Gen Step 2: OK
[05-Feb-2026 18:30:46 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #130
[05-Feb-2026 18:30:46 America/Lima] PDF Gen Step 3b/c: OK
[05-Feb-2026 18:30:46 America/Lima] PDF Gen Step 4: Fetching detalle for venta #128
[05-Feb-2026 18:30:46 America/Lima] PDF Gen Step 4: OK - Found 2 items
[05-Feb-2026 18:30:46 America/Lima] PDF Gen Step 5: Fetching config
[05-Feb-2026 18:30:46 America/Lima] PDF Gen Step 5: OK
[05-Feb-2026 18:30:46 America/Lima] PDF Gen: Completed successfully for venta #128
[05-Feb-2026 18:30:59 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:30:59 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:30:59 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:30:59 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:30:59 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:30:59 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:30:59 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 18:30:59 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 18:31:18 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:31:18 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:31:18 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:31:18 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:31:18 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:31:18 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:31:18 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 18:31:18 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 18:31:56 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:31:56 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:31:56 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:31:56 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:31:56 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:31:56 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:31:56 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 18:31:56 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 18:32:48 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:32:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:32:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 18:32:48 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:32:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:32:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 18:32:48 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 18:32:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 19:46:30 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[05-Feb-2026 19:46:30 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[05-Feb-2026 19:46:48 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 19:46:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 19:46:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 19:46:48 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 19:46:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 19:46:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 19:46:48 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 19:46:48 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 22:24:22 America/Lima] PHP Notice:  date_default_timezone_set(): Timezone ID '' is invalid in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 2
[05-Feb-2026 22:24:22 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 22:24:22 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 22:24:22 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[05-Feb-2026 22:24:22 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 22:24:22 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 22:24:22 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[05-Feb-2026 22:24:22 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[05-Feb-2026 22:24:22 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 12:25:10 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 12:25:10 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:02:18 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:02:18 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:04:04 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:04:04 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:04:28 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:04:28 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:04:29 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:04:29 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:04:39 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:04:39 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:05:10 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:05:10 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:05:54 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:05:54 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:06:01 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:06:01 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:06:53 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 16:06:53 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 17:04:38 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 17:04:38 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 17:05:40 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 17:05:40 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 17:05:50 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 17:05:50 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 17:07:38 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 17:07:38 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 17:09:37 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:09:37 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:09:37 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:09:37 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:09:37 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:09:37 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:09:37 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:09:37 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:09:55 America/Lima] RegistrarVenta: detalle count = 2, total = 18
[06-Feb-2026 17:09:55 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"131",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"1",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"18.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"18",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:09:55"}
[06-Feb-2026 17:09:58 America/Lima] PDF Gen Step 1: Fetching venta #129
[06-Feb-2026 17:09:58 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=131
[06-Feb-2026 17:09:58 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 17:09:58 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:09:58 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #131
[06-Feb-2026 17:09:58 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:09:58 America/Lima] PDF Gen Step 4: Fetching detalle for venta #129
[06-Feb-2026 17:09:58 America/Lima] PDF Gen Step 4: OK - Found 2 items
[06-Feb-2026 17:09:58 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:09:58 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:09:58 America/Lima] PDF Gen: Completed successfully for venta #129
[06-Feb-2026 17:10:55 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:10:55 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:10:55 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:10:55 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:10:55 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:10:55 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:10:55 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:10:55 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:12:12 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:12:12 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:12:12 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:12:12 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:12:12 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:12:12 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:12:12 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:12:12 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:12:25 America/Lima] RegistrarVenta: detalle count = 2, total = 18
[06-Feb-2026 17:12:25 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"132",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"1",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"18.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"18",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:12:25"}
[06-Feb-2026 17:12:28 America/Lima] PDF Gen Step 1: Fetching venta #130
[06-Feb-2026 17:12:28 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=132
[06-Feb-2026 17:12:28 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 17:12:28 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:12:28 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #132
[06-Feb-2026 17:12:28 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:12:28 America/Lima] PDF Gen Step 4: Fetching detalle for venta #130
[06-Feb-2026 17:12:28 America/Lima] PDF Gen Step 4: OK - Found 2 items
[06-Feb-2026 17:12:28 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:12:28 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:12:28 America/Lima] PDF Gen: Completed successfully for venta #130
[06-Feb-2026 17:12:59 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:12:59 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:12:59 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:12:59 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:12:59 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:12:59 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:12:59 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:12:59 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:13:15 America/Lima] RegistrarVenta: detalle count = 2, total = 18
[06-Feb-2026 17:13:15 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"133",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"8",":id_tipo_doc":"2",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"18.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"18",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:13:15"}
[06-Feb-2026 17:13:17 America/Lima] PDF Gen Step 1: Fetching venta #131
[06-Feb-2026 17:13:17 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=8, id_ped=133
[06-Feb-2026 17:13:17 America/Lima] PDF Gen Step 2: Fetching cliente #8
[06-Feb-2026 17:13:17 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:13:17 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #133
[06-Feb-2026 17:13:17 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:13:17 America/Lima] PDF Gen Step 4: Fetching detalle for venta #131
[06-Feb-2026 17:13:17 America/Lima] PDF Gen Step 4: OK - Found 2 items
[06-Feb-2026 17:13:17 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:13:17 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:13:17 America/Lima] PDF Gen: Completed successfully for venta #131
[06-Feb-2026 17:15:03 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:15:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:15:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:15:03 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:15:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:15:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:15:03 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:15:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:15:41 America/Lima] RegistrarVenta: detalle count = 2, total = 18
[06-Feb-2026 17:15:41 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"134",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"18.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"18",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:15:41"}
[06-Feb-2026 17:15:41 America/Lima] PDF Gen Step 1: Fetching venta #132
[06-Feb-2026 17:15:41 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=134
[06-Feb-2026 17:15:41 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 17:15:41 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:15:41 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #134
[06-Feb-2026 17:15:41 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:15:41 America/Lima] PDF Gen Step 4: Fetching detalle for venta #132
[06-Feb-2026 17:15:41 America/Lima] PDF Gen Step 4: OK - Found 2 items
[06-Feb-2026 17:15:41 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:15:41 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:15:41 America/Lima] PDF Gen: Completed successfully for venta #132
[06-Feb-2026 17:16:09 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:16:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:16:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:16:09 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:16:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:16:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:16:09 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:16:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:16:58 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:16:58 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:16:58 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:16:58 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:16:58 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:16:58 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:16:58 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:16:58 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:51:31 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 17:51:31 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[06-Feb-2026 17:51:39 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:51:39 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:51:39 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:51:39 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:51:39 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:51:39 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:51:39 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:51:39 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:52:04 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:52:04 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:52:04 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:52:04 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:52:04 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:52:04 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:52:04 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:52:04 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:52:13 America/Lima] RegistrarVenta: detalle count = 2, total = 18
[06-Feb-2026 17:52:13 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"135",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"18.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"18",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:52:13"}
[06-Feb-2026 17:52:13 America/Lima] PDF Gen Step 1: Fetching venta #133
[06-Feb-2026 17:52:13 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=135
[06-Feb-2026 17:52:13 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 17:52:13 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:52:13 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #135
[06-Feb-2026 17:52:13 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:52:13 America/Lima] PDF Gen Step 4: Fetching detalle for venta #133
[06-Feb-2026 17:52:13 America/Lima] PDF Gen Step 4: OK - Found 2 items
[06-Feb-2026 17:52:13 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:52:13 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:52:13 America/Lima] PDF Gen: Completed successfully for venta #133
[06-Feb-2026 17:52:29 America/Lima] RegistrarVenta: detalle count = 2, total = 22
[06-Feb-2026 17:52:29 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"136",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"22.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"22",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:52:29"}
[06-Feb-2026 17:52:29 America/Lima] PDF Gen Step 1: Fetching venta #134
[06-Feb-2026 17:52:29 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=136
[06-Feb-2026 17:52:29 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 17:52:29 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:52:29 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #136
[06-Feb-2026 17:52:29 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:52:29 America/Lima] PDF Gen Step 4: Fetching detalle for venta #134
[06-Feb-2026 17:52:29 America/Lima] PDF Gen Step 4: OK - Found 2 items
[06-Feb-2026 17:52:29 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:52:29 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:52:29 America/Lima] PDF Gen: Completed successfully for venta #134
[06-Feb-2026 17:53:05 America/Lima] RegistrarVenta: detalle count = 2, total = 22
[06-Feb-2026 17:53:05 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"137",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"22.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"22",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:53:05"}
[06-Feb-2026 17:53:05 America/Lima] PDF Gen Step 1: Fetching venta #135
[06-Feb-2026 17:53:05 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=137
[06-Feb-2026 17:53:05 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 17:53:05 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:53:05 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #137
[06-Feb-2026 17:53:05 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:53:05 America/Lima] PDF Gen Step 4: Fetching detalle for venta #135
[06-Feb-2026 17:53:05 America/Lima] PDF Gen Step 4: OK - Found 2 items
[06-Feb-2026 17:53:05 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:53:05 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:53:05 America/Lima] PDF Gen: Completed successfully for venta #135
[06-Feb-2026 17:53:22 America/Lima] RegistrarVenta: detalle count = 2, total = 20
[06-Feb-2026 17:53:22 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"138",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"19.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"2",":descuento_personal":"0",":descuento_monto":"1",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0.00",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"20",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:53:22"}
[06-Feb-2026 17:53:22 America/Lima] PDF Gen Step 1: Fetching venta #136
[06-Feb-2026 17:53:22 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=138
[06-Feb-2026 17:53:22 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 17:53:22 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:53:22 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #138
[06-Feb-2026 17:53:22 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:53:22 America/Lima] PDF Gen Step 4: Fetching detalle for venta #136
[06-Feb-2026 17:53:22 America/Lima] PDF Gen Step 4: OK - Found 1 items
[06-Feb-2026 17:53:22 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:53:22 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:53:22 America/Lima] PDF Gen: Completed successfully for venta #136
[06-Feb-2026 17:53:54 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:53:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:53:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:53:54 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:53:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:53:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:53:54 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:53:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:54:12 America/Lima] RegistrarVenta: detalle count = 1, total = 12
[06-Feb-2026 17:54:12 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"125",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"200.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"12",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:54:12"}
[06-Feb-2026 17:54:12 America/Lima] PDF Gen Step 1: Fetching venta #137
[06-Feb-2026 17:54:12 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=125
[06-Feb-2026 17:54:12 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 17:54:12 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:54:12 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #125
[06-Feb-2026 17:54:12 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:54:12 America/Lima] PDF Gen Step 4: Fetching detalle for venta #137
[06-Feb-2026 17:54:12 America/Lima] PDF Gen Step 4: OK - Found 1 items
[06-Feb-2026 17:54:12 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:54:12 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:54:12 America/Lima] PDF Gen: Completed successfully for venta #137
[06-Feb-2026 17:54:40 America/Lima] RegistrarVenta: detalle count = 2, total = 10
[06-Feb-2026 17:54:40 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"2",":id_pedido":"140",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"10.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"10",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:54:40"}
[06-Feb-2026 17:54:40 America/Lima] PDF Gen Step 1: Fetching venta #138
[06-Feb-2026 17:54:40 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=140
[06-Feb-2026 17:54:40 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 17:54:40 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:54:40 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #140
[06-Feb-2026 17:54:40 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:54:40 America/Lima] PDF Gen Step 4: Fetching detalle for venta #138
[06-Feb-2026 17:54:40 America/Lima] PDF Gen Step 4: OK - Found 1 items
[06-Feb-2026 17:54:40 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:54:40 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:54:40 America/Lima] PDF Gen: Completed successfully for venta #138
[06-Feb-2026 17:54:50 America/Lima] RegistrarVenta: detalle count = 2, total = 8
[06-Feb-2026 17:54:50 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"140",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"8.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"8",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:54:50"}
[06-Feb-2026 17:54:50 America/Lima] PDF Gen Step 1: Fetching venta #139
[06-Feb-2026 17:54:50 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=140
[06-Feb-2026 17:54:50 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 17:54:50 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:54:50 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #140
[06-Feb-2026 17:54:50 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:54:50 America/Lima] PDF Gen Step 4: Fetching detalle for venta #139
[06-Feb-2026 17:54:50 America/Lima] PDF Gen Step 4: OK - Found 1 items
[06-Feb-2026 17:54:50 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:54:50 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:54:50 America/Lima] PDF Gen: Completed successfully for venta #139
[06-Feb-2026 17:57:33 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:57:33 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:57:33 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:57:33 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:57:33 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:57:33 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:57:33 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:57:33 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:57:45 America/Lima] RegistrarVenta: detalle count = 2, total = 22
[06-Feb-2026 17:57:45 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"141",":tipo_pedido":"2",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"22.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0.00",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"22",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:57:45"}
[06-Feb-2026 17:57:46 America/Lima] PDF Gen Step 1: Fetching venta #140
[06-Feb-2026 17:57:46 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=141
[06-Feb-2026 17:57:46 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 17:57:46 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:57:46 America/Lima] PDF Gen Step 3b: Fetching llevar pedido #141
[06-Feb-2026 17:57:46 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:57:46 America/Lima] PDF Gen Step 4: Fetching detalle for venta #140
[06-Feb-2026 17:57:46 America/Lima] PDF Gen Step 4: OK - Found 2 items
[06-Feb-2026 17:57:46 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:57:46 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:57:46 America/Lima] PDF Gen: Completed successfully for venta #140
[06-Feb-2026 17:58:46 America/Lima] RegistrarVenta: detalle count = 3, total = 34
[06-Feb-2026 17:58:46 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"142",":tipo_pedido":"3",":tipo_entrega":"1",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"39.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"5.00",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"34",":codigo_operacion":"",":fecha_venta":"2026-02-06 17:58:46"}
[06-Feb-2026 17:58:46 America/Lima] PDF Gen Step 1: Fetching venta #141
[06-Feb-2026 17:58:46 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=142
[06-Feb-2026 17:58:46 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 17:58:46 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 17:58:46 America/Lima] PDF Gen Step 3a: Fetching delivery pedido #142
[06-Feb-2026 17:58:46 America/Lima] PDF Gen Step 3a: OK
[06-Feb-2026 17:58:46 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #142
[06-Feb-2026 17:58:46 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 17:58:46 America/Lima] PDF Gen Step 4: Fetching detalle for venta #141
[06-Feb-2026 17:58:46 America/Lima] PDF Gen Step 4: OK - Found 2 items
[06-Feb-2026 17:58:46 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 17:58:46 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 17:58:46 America/Lima] PDF Gen: Completed successfully for venta #141
[06-Feb-2026 17:59:42 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:59:42 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:59:42 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 17:59:42 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:59:42 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:59:42 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 17:59:42 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 17:59:42 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 18:00:20 America/Lima] Stock insumo incrementado: id_ins=1, +0.500
[06-Feb-2026 18:00:20 America/Lima] Stock insumo incrementado: id_ins=1, +0.250
[06-Feb-2026 18:01:05 America/Lima] Stock insumo incrementado: id_ins=1, +0.250
[06-Feb-2026 18:01:32 America/Lima] Stock incrementado: id_pres=3, +1.000
[06-Feb-2026 18:01:43 America/Lima] RegistrarVenta: detalle count = 1, total = 12
[06-Feb-2026 18:01:43 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"128",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"12.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"12",":codigo_operacion":"",":fecha_venta":"2026-02-06 18:01:43"}
[06-Feb-2026 18:01:44 America/Lima] PDF Gen Step 1: Fetching venta #142
[06-Feb-2026 18:01:44 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=128
[06-Feb-2026 18:01:44 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 18:01:44 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 18:01:44 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #128
[06-Feb-2026 18:01:44 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 18:01:44 America/Lima] PDF Gen Step 4: Fetching detalle for venta #142
[06-Feb-2026 18:01:44 America/Lima] PDF Gen Step 4: OK - Found 1 items
[06-Feb-2026 18:01:44 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 18:01:44 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 18:01:44 America/Lima] PDF Gen: Completed successfully for venta #142
[06-Feb-2026 18:01:48 America/Lima] RegistrarVenta: detalle count = 2, total = 24
[06-Feb-2026 18:01:48 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"139",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"24.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"24",":codigo_operacion":"",":fecha_venta":"2026-02-06 18:01:48"}
[06-Feb-2026 18:01:48 America/Lima] PDF Gen Step 1: Fetching venta #143
[06-Feb-2026 18:01:48 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=139
[06-Feb-2026 18:01:48 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 18:01:48 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 18:01:48 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #139
[06-Feb-2026 18:01:48 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 18:01:48 America/Lima] PDF Gen Step 4: Fetching detalle for venta #143
[06-Feb-2026 18:01:48 America/Lima] PDF Gen Step 4: OK - Found 1 items
[06-Feb-2026 18:01:48 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 18:01:48 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 18:01:48 America/Lima] PDF Gen: Completed successfully for venta #143
[06-Feb-2026 18:01:52 America/Lima] RegistrarVenta: detalle count = 2, total = 8
[06-Feb-2026 18:01:52 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"145",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"8.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"8",":codigo_operacion":"",":fecha_venta":"2026-02-06 18:01:52"}
[06-Feb-2026 18:01:52 America/Lima] PDF Gen Step 1: Fetching venta #144
[06-Feb-2026 18:01:52 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=145
[06-Feb-2026 18:01:52 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 18:01:52 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 18:01:52 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #145
[06-Feb-2026 18:01:52 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 18:01:52 America/Lima] PDF Gen Step 4: Fetching detalle for venta #144
[06-Feb-2026 18:01:52 America/Lima] PDF Gen Step 4: OK - Found 1 items
[06-Feb-2026 18:01:52 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 18:01:52 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 18:01:52 America/Lima] PDF Gen: Completed successfully for venta #144
[06-Feb-2026 18:01:56 America/Lima] RegistrarVenta: detalle count = 4, total = 32
[06-Feb-2026 18:01:56 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"143",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"32.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"32",":codigo_operacion":"",":fecha_venta":"2026-02-06 18:01:56"}
[06-Feb-2026 18:01:56 America/Lima] PDF Gen Step 1: Fetching venta #145
[06-Feb-2026 18:01:56 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=143
[06-Feb-2026 18:01:56 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 18:01:56 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 18:01:56 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #143
[06-Feb-2026 18:01:56 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 18:01:56 America/Lima] PDF Gen Step 4: Fetching detalle for venta #145
[06-Feb-2026 18:01:56 America/Lima] PDF Gen Step 4: OK - Found 2 items
[06-Feb-2026 18:01:56 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 18:01:56 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 18:01:56 America/Lima] PDF Gen: Completed successfully for venta #145
[06-Feb-2026 18:02:00 America/Lima] RegistrarVenta: detalle count = 2, total = 10
[06-Feb-2026 18:02:00 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"144",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"10.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"10",":codigo_operacion":"",":fecha_venta":"2026-02-06 18:02:00"}
[06-Feb-2026 18:02:01 America/Lima] PDF Gen Step 1: Fetching venta #146
[06-Feb-2026 18:02:01 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=144
[06-Feb-2026 18:02:01 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 18:02:01 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 18:02:01 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #144
[06-Feb-2026 18:02:01 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 18:02:01 America/Lima] PDF Gen Step 4: Fetching detalle for venta #146
[06-Feb-2026 18:02:01 America/Lima] PDF Gen Step 4: OK - Found 1 items
[06-Feb-2026 18:02:01 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 18:02:01 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 18:02:01 America/Lima] PDF Gen: Completed successfully for venta #146
[06-Feb-2026 18:02:18 America/Lima] RegistrarVenta: detalle count = 3, total = 24
[06-Feb-2026 18:02:18 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"146",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"3",":id_usu":"1",":id_apc":1,":pago_efe_none":"12",":pago_tar":"12",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0.00",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"24",":codigo_operacion":"",":fecha_venta":"2026-02-06 18:02:18"}
[06-Feb-2026 18:02:18 America/Lima] PDF Gen Step 1: Fetching venta #147
[06-Feb-2026 18:02:18 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=146
[06-Feb-2026 18:02:18 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 18:02:18 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 18:02:18 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #146
[06-Feb-2026 18:02:18 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 18:02:18 America/Lima] PDF Gen Step 4: Fetching detalle for venta #147
[06-Feb-2026 18:02:18 America/Lima] PDF Gen Step 4: OK - Found 1 items
[06-Feb-2026 18:02:18 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 18:02:18 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 18:02:18 America/Lima] PDF Gen: Completed successfully for venta #147
[06-Feb-2026 18:02:32 America/Lima] RegistrarVenta: detalle count = 1, total = 8
[06-Feb-2026 18:02:32 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"147",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"5",":id_usu":"1",":id_apc":1,":pago_efe_none":"0.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0.00",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"8",":codigo_operacion":"",":fecha_venta":"2026-02-06 18:02:32"}
[06-Feb-2026 18:02:32 America/Lima] PDF Gen Step 1: Fetching venta #148
[06-Feb-2026 18:02:32 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=147
[06-Feb-2026 18:02:32 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 18:02:32 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 18:02:32 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #147
[06-Feb-2026 18:02:32 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 18:02:32 America/Lima] PDF Gen Step 4: Fetching detalle for venta #148
[06-Feb-2026 18:02:32 America/Lima] PDF Gen Step 4: OK - Found 1 items
[06-Feb-2026 18:02:32 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 18:02:32 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 18:02:32 America/Lima] PDF Gen: Completed successfully for venta #148
[06-Feb-2026 18:02:51 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 18:02:51 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 18:02:51 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 18:02:51 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 18:02:51 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 18:02:51 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 18:02:51 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 18:02:51 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 18:03:13 America/Lima] RegistrarVenta: detalle count = 1, total = 10
[06-Feb-2026 18:03:13 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"148",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"3",":id_usu":"1",":id_apc":1,":pago_efe_none":"5",":pago_tar":"5",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0.00",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"10",":codigo_operacion":"",":fecha_venta":"2026-02-06 18:03:13"}
[06-Feb-2026 18:03:14 America/Lima] PDF Gen Step 1: Fetching venta #149
[06-Feb-2026 18:03:14 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=148
[06-Feb-2026 18:03:14 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 18:03:14 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 18:03:14 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #148
[06-Feb-2026 18:03:14 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 18:03:14 America/Lima] PDF Gen Step 4: Fetching detalle for venta #149
[06-Feb-2026 18:03:14 America/Lima] PDF Gen Step 4: OK - Found 1 items
[06-Feb-2026 18:03:14 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 18:03:14 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 18:03:14 America/Lima] PDF Gen: Completed successfully for venta #149
[06-Feb-2026 18:04:03 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 18:04:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 18:04:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[06-Feb-2026 18:04:03 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 18:04:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 18:04:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[06-Feb-2026 18:04:03 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 18:04:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[06-Feb-2026 18:04:10 America/Lima] RegistrarVenta: detalle count = 1, total = 10
[06-Feb-2026 18:04:10 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"149",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"8",":id_usu":"1",":id_apc":1,":pago_efe_none":"0.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0.00",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"10",":codigo_operacion":"",":fecha_venta":"2026-02-06 18:04:10"}
[06-Feb-2026 18:04:10 America/Lima] PDF Gen Step 1: Fetching venta #150
[06-Feb-2026 18:04:10 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=149
[06-Feb-2026 18:04:10 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 18:04:10 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 18:04:10 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #149
[06-Feb-2026 18:04:10 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 18:04:10 America/Lima] PDF Gen Step 4: Fetching detalle for venta #150
[06-Feb-2026 18:04:10 America/Lima] PDF Gen Step 4: OK - Found 1 items
[06-Feb-2026 18:04:10 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 18:04:10 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 18:04:10 America/Lima] PDF Gen: Completed successfully for venta #150
[06-Feb-2026 18:05:08 America/Lima] RegistrarVenta: detalle count = 2, total = 22
[06-Feb-2026 18:05:08 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"150",":tipo_pedido":"3",":tipo_entrega":"1",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"32.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"10.00",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"22",":codigo_operacion":"",":fecha_venta":"2026-02-06 18:05:08"}
[06-Feb-2026 18:05:09 America/Lima] PDF Gen Step 1: Fetching venta #151
[06-Feb-2026 18:05:09 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=150
[06-Feb-2026 18:05:09 America/Lima] PDF Gen Step 2: Fetching cliente #1
[06-Feb-2026 18:05:09 America/Lima] PDF Gen Step 2: OK
[06-Feb-2026 18:05:09 America/Lima] PDF Gen Step 3a: Fetching delivery pedido #150
[06-Feb-2026 18:05:09 America/Lima] PDF Gen Step 3a: OK
[06-Feb-2026 18:05:09 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #150
[06-Feb-2026 18:05:09 America/Lima] PDF Gen Step 3b/c: OK
[06-Feb-2026 18:05:09 America/Lima] PDF Gen Step 4: Fetching detalle for venta #151
[06-Feb-2026 18:05:09 America/Lima] PDF Gen Step 4: OK - Found 2 items
[06-Feb-2026 18:05:09 America/Lima] PDF Gen Step 5: Fetching config
[06-Feb-2026 18:05:09 America/Lima] PDF Gen Step 5: OK
[06-Feb-2026 18:05:09 America/Lima] PDF Gen: Completed successfully for venta #151
[08-Feb-2026 13:09:02 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[08-Feb-2026 13:09:02 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[08-Feb-2026 13:09:18 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[08-Feb-2026 13:09:18 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[08-Feb-2026 13:09:18 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[08-Feb-2026 13:09:18 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[08-Feb-2026 13:09:18 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[08-Feb-2026 13:09:18 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[08-Feb-2026 13:09:18 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[08-Feb-2026 13:09:18 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[08-Feb-2026 13:10:09 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[08-Feb-2026 13:10:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[08-Feb-2026 13:10:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[08-Feb-2026 13:10:09 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[08-Feb-2026 13:10:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[08-Feb-2026 13:10:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[08-Feb-2026 13:10:09 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[08-Feb-2026 13:10:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[08-Feb-2026 13:11:07 America/Lima] PHP Notice:  date_default_timezone_set(): Timezone ID '' is invalid in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 2
[08-Feb-2026 13:11:07 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[08-Feb-2026 13:11:07 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[08-Feb-2026 13:11:07 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[08-Feb-2026 13:11:07 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[08-Feb-2026 13:11:07 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[08-Feb-2026 13:11:07 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[08-Feb-2026 13:11:07 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[08-Feb-2026 13:11:07 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[09-Feb-2026 15:34:49 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[09-Feb-2026 15:34:49 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[09-Feb-2026 15:36:03 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[09-Feb-2026 15:36:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[09-Feb-2026 15:36:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[09-Feb-2026 15:36:03 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[09-Feb-2026 15:36:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[09-Feb-2026 15:36:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[09-Feb-2026 15:36:03 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[09-Feb-2026 15:36:03 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[09-Feb-2026 15:42:47 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[09-Feb-2026 15:42:47 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[09-Feb-2026 15:42:47 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[09-Feb-2026 15:42:47 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[09-Feb-2026 15:42:47 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[09-Feb-2026 15:42:47 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[09-Feb-2026 15:42:47 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[09-Feb-2026 15:42:47 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[09-Feb-2026 16:00:51 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[09-Feb-2026 16:00:51 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[09-Feb-2026 16:01:11 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[09-Feb-2026 16:01:11 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[09-Feb-2026 16:01:11 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[09-Feb-2026 16:01:11 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[09-Feb-2026 16:01:11 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[09-Feb-2026 16:01:11 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[09-Feb-2026 16:01:11 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[09-Feb-2026 16:01:11 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[09-Feb-2026 16:01:56 America/Lima] RegistrarVenta: detalle count = 2, total = 22
[09-Feb-2026 16:01:56 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"158",":tipo_pedido":"2",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"27.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"5.00",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"22",":codigo_operacion":"",":fecha_venta":"2026-02-09 16:01:56"}
[09-Feb-2026 16:01:57 America/Lima] PDF Gen Step 1: Fetching venta #153
[09-Feb-2026 16:01:57 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=158
[09-Feb-2026 16:01:57 America/Lima] PDF Gen Step 2: Fetching cliente #1
[09-Feb-2026 16:01:57 America/Lima] PDF Gen Step 2: OK
[09-Feb-2026 16:01:57 America/Lima] PDF Gen Step 3b: Fetching llevar pedido #158
[09-Feb-2026 16:01:57 America/Lima] PDF Gen Step 3b/c: OK
[09-Feb-2026 16:01:57 America/Lima] PDF Gen Step 4: Fetching detalle for venta #153
[09-Feb-2026 16:01:57 America/Lima] PDF Gen Step 4: OK - Found 2 items
[09-Feb-2026 16:01:57 America/Lima] PDF Gen Step 5: Fetching config
[09-Feb-2026 16:01:57 America/Lima] PDF Gen Step 5: OK
[09-Feb-2026 16:01:57 America/Lima] PDF Gen: Completed successfully for venta #153
[09-Feb-2026 16:02:19 America/Lima] RegistrarVenta: detalle count = 1, total = 12
[09-Feb-2026 16:02:19 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"159",":tipo_pedido":"3",":tipo_entrega":"1",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"17.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"5.00",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"12",":codigo_operacion":"",":fecha_venta":"2026-02-09 16:02:19"}
[09-Feb-2026 16:02:19 America/Lima] PDF Gen Step 1: Fetching venta #154
[09-Feb-2026 16:02:19 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=159
[09-Feb-2026 16:02:19 America/Lima] PDF Gen Step 2: Fetching cliente #1
[09-Feb-2026 16:02:19 America/Lima] PDF Gen Step 2: OK
[09-Feb-2026 16:02:19 America/Lima] PDF Gen Step 3a: Fetching delivery pedido #159
[09-Feb-2026 16:02:19 America/Lima] PDF Gen Step 3a: OK
[09-Feb-2026 16:02:19 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #159
[09-Feb-2026 16:02:19 America/Lima] PDF Gen Step 3b/c: OK
[09-Feb-2026 16:02:19 America/Lima] PDF Gen Step 4: Fetching detalle for venta #154
[09-Feb-2026 16:02:19 America/Lima] PDF Gen Step 4: OK - Found 1 items
[09-Feb-2026 16:02:19 America/Lima] PDF Gen Step 5: Fetching config
[09-Feb-2026 16:02:19 America/Lima] PDF Gen Step 5: OK
[09-Feb-2026 16:02:19 America/Lima] PDF Gen: Completed successfully for venta #154
[11-Feb-2026 17:17:40 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[11-Feb-2026 17:17:40 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[11-Feb-2026 17:17:45 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[11-Feb-2026 17:17:45 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[11-Feb-2026 17:17:45 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[11-Feb-2026 17:17:45 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[11-Feb-2026 17:17:45 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[11-Feb-2026 17:17:45 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[11-Feb-2026 17:17:45 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[11-Feb-2026 17:17:45 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[11-Feb-2026 17:17:56 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[11-Feb-2026 17:17:56 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[11-Feb-2026 17:17:56 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[11-Feb-2026 17:17:56 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[11-Feb-2026 17:17:56 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[11-Feb-2026 17:17:56 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[11-Feb-2026 17:17:56 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[11-Feb-2026 17:17:56 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[11-Feb-2026 17:18:14 America/Lima] RegistrarVenta: detalle count = 4, total = 44
[11-Feb-2026 17:18:14 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"160",":tipo_pedido":"3",":tipo_entrega":"1",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":1,":pago_efe_none":"48.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0",":pago_tran":"0",":descuento_tipo":"0",":descuento_personal":"0",":descuento_monto":"0",":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"4.00",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"44",":codigo_operacion":"",":fecha_venta":"2026-02-11 17:18:14"}
[11-Feb-2026 17:18:15 America/Lima] PDF Gen Step 1: Fetching venta #155
[11-Feb-2026 17:18:15 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=160
[11-Feb-2026 17:18:15 America/Lima] PDF Gen Step 2: Fetching cliente #1
[11-Feb-2026 17:18:15 America/Lima] PDF Gen Step 2: OK
[11-Feb-2026 17:18:15 America/Lima] PDF Gen Step 3a: Fetching delivery pedido #160
[11-Feb-2026 17:18:15 America/Lima] PDF Gen Step 3a: OK
[11-Feb-2026 17:18:15 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #160
[11-Feb-2026 17:18:15 America/Lima] PDF Gen Step 3b/c: OK
[11-Feb-2026 17:18:15 America/Lima] PDF Gen Step 4: Fetching detalle for venta #155
[11-Feb-2026 17:18:15 America/Lima] PDF Gen Step 4: OK - Found 2 items
[11-Feb-2026 17:18:15 America/Lima] PDF Gen Step 5: Fetching config
[11-Feb-2026 17:18:15 America/Lima] PDF Gen Step 5: OK
[11-Feb-2026 17:18:15 America/Lima] PDF Gen: Completed successfully for venta #155
[18-Feb-2026 15:17:42 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[18-Feb-2026 15:17:42 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[18-Feb-2026 17:31:54 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[18-Feb-2026 17:31:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[18-Feb-2026 17:31:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[18-Feb-2026 17:31:54 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[18-Feb-2026 17:31:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[18-Feb-2026 17:31:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[18-Feb-2026 17:31:54 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[18-Feb-2026 17:31:54 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[18-Feb-2026 17:32:04 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[18-Feb-2026 17:32:04 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[18-Feb-2026 17:32:04 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[18-Feb-2026 17:32:04 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[18-Feb-2026 17:32:04 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[18-Feb-2026 17:32:04 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[18-Feb-2026 17:32:04 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[18-Feb-2026 17:32:04 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[18-Feb-2026 17:32:45 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[18-Feb-2026 17:32:45 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[18-Feb-2026 17:32:45 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 31
[18-Feb-2026 17:32:45 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[18-Feb-2026 17:32:45 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[18-Feb-2026 17:32:45 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 32
[18-Feb-2026 17:32:45 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[18-Feb-2026 17:32:45 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/views/venta/index.php on line 33
[18-Feb-2026 17:34:11 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[18-Feb-2026 17:34:11 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[18-Feb-2026 17:36:02 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[18-Feb-2026 17:36:02 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php:2942
Stack trace:
#0 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/controllers/venta.php(626): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/lacabana/restaurantepro/facturacion/models/venta_model.php on line 2942
[15-Apr-2026 16:07:09 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 43
[15-Apr-2026 16:07:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 43
[15-Apr-2026 16:07:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 43
[15-Apr-2026 16:07:09 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 44
[15-Apr-2026 16:07:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 44
[15-Apr-2026 16:07:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 44
[15-Apr-2026 16:07:09 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 45
[15-Apr-2026 16:07:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 45
[15-Apr-2026 16:07:41 America/Lima] RegistrarVenta: detalle count = 3, total = 59
[15-Apr-2026 16:07:41 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"3",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"3",":id_usu":"1",":id_apc":1,":pago_efe_none":"11",":pago_tar":"12",":pago_yape":"12",":pago_plin":"12",":pago_tran":"12",":descuento_tipo":0,":descuento_personal":0,":descuento_monto":0,":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0.00",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"59",":codigo_operacion":"",":fecha_venta":"2026-04-15 16:07:41"}
[15-Apr-2026 16:07:42 America/Lima] PDF Gen Step 1: Fetching venta #3
[15-Apr-2026 16:07:42 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=3
[15-Apr-2026 16:07:42 America/Lima] PDF Gen Step 2: Fetching cliente #1
[15-Apr-2026 16:07:42 America/Lima] PDF Gen Step 2: OK
[15-Apr-2026 16:07:42 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #3
[15-Apr-2026 16:07:42 America/Lima] PDF Gen Step 3b/c: OK
[15-Apr-2026 16:07:42 America/Lima] PDF Gen Step 4: Fetching detalle for venta #3
[15-Apr-2026 16:07:42 America/Lima] PDF Gen Step 4: OK - Found 3 items
[15-Apr-2026 16:07:42 America/Lima] PDF Gen Step 5: Fetching config
[15-Apr-2026 16:07:42 America/Lima] PDF Gen Step 5: OK
[15-Apr-2026 16:07:42 America/Lima] PDF Gen: Completed successfully for venta #3
[16-Apr-2026 18:58:52 America/Lima] PHP Notice:  Undefined variable: stm in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/models/venta_model.php on line 3633
[16-Apr-2026 18:58:52 America/Lima] PHP Fatal error:  Uncaught Error: Call to a member function execute() on null in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/models/venta_model.php:3633
Stack trace:
#0 /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/controllers/venta.php(807): Venta_Model->contadorPedidosPreparados()
#1 /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/libs/Bootstrap.php(153): Venta->contadorPedidosPreparados()
#2 /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/libs/Bootstrap.php(31): Bootstrap->_callControllerMethod()
#3 /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/index.php(30): Bootstrap->init()
#4 {main}
  thrown in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/models/venta_model.php on line 3633
[16-Apr-2026 18:59:09 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 43
[16-Apr-2026 18:59:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 43
[16-Apr-2026 18:59:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 43
[16-Apr-2026 18:59:09 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 44
[16-Apr-2026 18:59:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 44
[16-Apr-2026 18:59:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 44
[16-Apr-2026 18:59:09 America/Lima] PHP Notice:  Undefined property: View::$Invoice in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 45
[16-Apr-2026 18:59:09 America/Lima] PHP Notice:  Trying to access array offset on value of type null in /home/juantufacturaya/public_html/restdartech/restaurantepro/facturacion/views/venta/index.php on line 45
[16-Apr-2026 18:59:37 America/Lima] RegistrarVenta: detalle count = 2, total = 12
[16-Apr-2026 18:59:37 America/Lima] usp_restEmitirVenta params: {":flag":1,":dividir_cuenta":"1",":id_pedido":"4",":tipo_pedido":"1",":tipo_entrega":"0",":id_cliente":"1",":id_tipo_doc":"3",":id_tipo_pago":"1",":id_usu":"1",":id_apc":2,":pago_efe_none":"12.00",":pago_tar":"0.00",":pago_yape":"0.00",":pago_plin":"0.00",":pago_tran":"0.00",":descuento_tipo":0,":descuento_personal":0,":descuento_monto":0,":descuento_motivo":"",":comision_tarjeta":"0",":comision_delivery":"0",":igv":0.1000000000000000055511151231257827021181583404541015625,":total":"12",":codigo_operacion":"",":fecha_venta":"2026-04-16 18:59:37"}
[16-Apr-2026 18:59:37 America/Lima] PDF Gen Step 1: Fetching venta #4
[16-Apr-2026 18:59:37 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=4
[16-Apr-2026 18:59:37 America/Lima] PDF Gen Step 2: Fetching cliente #1
[16-Apr-2026 18:59:37 America/Lima] PDF Gen Step 2: OK
[16-Apr-2026 18:59:37 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #4
[16-Apr-2026 18:59:37 America/Lima] PDF Gen Step 3b/c: OK
[16-Apr-2026 18:59:37 America/Lima] PDF Gen Step 4: Fetching detalle for venta #4
[16-Apr-2026 18:59:37 America/Lima] PDF Gen Step 4: OK - Found 1 items
[16-Apr-2026 18:59:37 America/Lima] PDF Gen Step 5: Fetching config
[16-Apr-2026 18:59:37 America/Lima] PDF Gen Step 5: OK
[16-Apr-2026 18:59:37 America/Lima] PDF Gen: Completed successfully for venta #4
[16-Apr-2026 18:59:50 America/Lima] PDF Gen Step 1: Fetching venta #4
[16-Apr-2026 18:59:50 America/Lima] PDF Gen Step 1: OK - Found venta, id_cli=1, id_ped=4
[16-Apr-2026 18:59:50 America/Lima] PDF Gen Step 2: Fetching cliente #1
[16-Apr-2026 18:59:50 America/Lima] PDF Gen Step 2: OK
[16-Apr-2026 18:59:50 America/Lima] PDF Gen Step 3c: Fetching mesa pedido #4
[16-Apr-2026 18:59:50 America/Lima] PDF Gen Step 3b/c: OK
[16-Apr-2026 18:59:50 America/Lima] PDF Gen Step 4: Fetching detalle for venta #4
[16-Apr-2026 18:59:50 America/Lima] PDF Gen Step 4: OK - Found 1 items
[16-Apr-2026 18:59:50 America/Lima] PDF Gen Step 5: Fetching config
[16-Apr-2026 18:59:50 America/Lima] PDF Gen Step 5: OK
[16-Apr-2026 18:59:50 America/Lima] PDF Gen: Completed successfully for venta #4
