<br />
<b>Notice</b>:  Trying to get property 'finicio' of non-object in <b>/home/hostuper/mallascar.hostuperu.com/apimallascar_asdas/reportes/repo_productos_vendidos.php</b> on line <b>9</b><br />
<br />
<b>Notice</b>:  Trying to get property 'ffinal' of non-object in <b>/home/hostuper/mallascar.hostuperu.com/apimallascar_asdas/reportes/repo_productos_vendidos.php</b> on line <b>10</b><br />
{
    "ok": true,
    "sql": "SELECT \r\nven.fecha_venta, \r\nSUM(det.cantidad * det.precio_venta) total_venta,\r\nSUM(det.cantidad * (det.precio_venta - det.precio_compra)) total_utilidades \r\nFROM ven_ventas ven \r\nLEFT JOIN ven_detalle_venta det ON det.idventa = ven.idventa AND det.esservicio IS NULL  \r\nWHERE ven.vigencia = 1 AND ven.anulacion IS NULL AND ven.fecha_venta BETWEEN '' AND '' \r\nGROUP BY ven.fecha_venta ORDER BY ven.fecha_venta ASC",
    "data": [],
    "msg": "Datos encontrados con exito",
    "id": null
}