add date to activityRecordPurchase layout and 'bugfix'