Persistent sales history report generation

php to generate the p.s.h. report