How to print bills before payment?