app/helpers/application_helper.rb
#Purchased enrollment family premium (family home page - view details button on the enrollment)
Purchased enrollment family premium (family home page - view details button on the enrollment)
Purchased enrollment family premium ( family home page - view details button on the enrollment )
def current_cost(hbx_enrollment = nil, source = nil)
    return unless source == 'account' && hbx_enrollment.present? && hbx_enrollment.coverage_kind == 'health'
    (hbx_enrollment.total_premium - hbx_enrollment.applied_aptc_amount.to_f)
  end
def current_cost ( hbx_enrollment = nil , source = nil ) return unless source == 'account' && hbx_enrollment . present? && hbx_enrollment . coverage_kind == 'health' ( hbx_enrollment . total_premium - hbx_enrollment . applied_aptc_amount . to_f ) end
Purchased enrollment family premium (family home page - view details button on the enrollment)
Purchased enrollment family premium ( family home page - view details button on the enrollment )
# source is account or shopping
hbx_enrollment
source