added new feature & fixed some bugs

1.fixed statistics bug
2.added expandablity for statistics to show some details, Only enable
category statistics currently.
3. added combine print option for checkout