join query in receipt add form