Added a bit more content into receipt generation code.