Added factura and venta cases on index.php