Fixed insert query
Added global constants to index
Added session_start () function, without this no user has permission to use the inventory
Fixed some issues
-Removed extra argument
-Added a flag to query differently depending on whether or not sales user
Edited variable names
-Removed extra argument in crearFactura()
- User "inventory" now can display his own bill
Merge branch 'master' of github.com:gabomarin/venta_web
Nope