Forgot to add parameter pid for past week
Still buggy when sending recurring contribution mail
fixes sort error.
Recurring end day calculation problem
fixes export note missing error when export contribution.