Updating customer_details and risk_details view method to reflect latest changes to Risk model. Also replaced the instances of strftime('%s') with the new Win32 method