dynamic receipt working for edit page