@receiver(get_customer_data)<EOL>def provideCustomerReferralCode(sender,**kwargs):
customer = kwargs.pop('<STR_LIT>')<EOL>if getConstant('<STR_LIT>') and getConstant('<STR_LIT>'):<EOL><INDENT>vrd = ensureReferralVouchersExist(customer)<EOL>return {<EOL>'<STR_LIT>': vrd.referreeVoucher.voucherId<EOL>}<EOL><DEDENT>
If the vouchers app is installed and referrals are enabled, then the customer's profile page can show their voucher referral code.