created flow to print receipt