new referral code fix.
Adde the changes to pnc and anc report.
fix referrals.
Added the better formating.
Merge branch 'fixes' into referral_fix

Conflicts:
	mwana/apps/smgl/views.py