added the status for registration code in the receipt template