gatherPayData
Gather payment data from students
u = context.portal_membership.getMemberById(userid)
return {
'getId':u.getId(),
'getFirstname':u.getFirstname(),
'getLastname':u.getLastname(),
'getCity':u.getCity(),
'getState':u.getState(),
'getEmail':u.getEmail(),
'getPhone':u.getPhone(),
'extraTshirts':u.getExtraTshirts(),
'donationAmount':u.getDonationAmount(),
'tshirtCosts': 15 * u.getExtraTshirts(),
'bootcampCost': 250,
'totalCost': 250 + u.getDonationAmount() + 15 * u.getExtraTshirts(),
'getLocalResident':u.getLocalResident(),
'show': context.ZopeTime() > context.ZopeTime('2005/04/20') or
u.getLocalResident(),
}
return {
'getId':u.getId(),
'getFirstname':u.getFirstname(),
'getLastname':u.getLastname(),
'getCity':u.getCity(),
'getState':u.getState(),
'getEmail':u.getEmail(),
'getPhone':u.getPhone(),
'extraTshirts':u.getExtraTshirts(),
'donationAmount':u.getDonationAmount(),
'tshirtCosts': 15 * u.getExtraTshirts(),
'bootcampCost': 250,
'totalCost': 250 + u.getDonationAmount() + 15 * u.getExtraTshirts(),
'getLocalResident':u.getLocalResident(),
'show': context.ZopeTime() > context.ZopeTime('2005/04/20') or
u.getLocalResident(),
}
