Did you not have a plan for this before as that would have been the same if you had used SQL LOL
Maybe you would be better looking at mertik (although in beta is sambas reporting app) or maybe Q’s custom web based extention which can do web based mobile device interface and reporting also.
QMX - QMX for SambaPOS ::: Cross-Platform Mobile Client