Modified receipt form and module-charges

- Added more features for receipt form
- Changed the calculation function in module-charges from returning a
formatted currency into returning a double for advanced calculation.