                   style       : 'modal-cancel'
                   callback    : -> useExistingModal.destroy()
 
-            billingMethodView = new BillingMethodView {}, billing
-            useExistingModal.addSubView billingMethodView
 
-            billingMethodView.on 'BillingEditRequested', ->
-              billingInfoModal.setBillingInfo personalBillingInfo.billing
-              useExistingModal.destroy()
+            personalBillingMethods.forEach ({ accountCode, billing }) ->
+
+              billingMethodView = new BillingMethodView {}, billing
+              useExistingModal.addSubView billingMethodView
+              destroy = useExistingModal.bound 'destroy'
+              billingInfoModal.on 'KDObjectWillBeDestroyed', destroy
+
+              billingMethodView.on 'BillingEditRequested', ->
+                console.log { accountCode }
+                # group.addPaymentMethod
 
 
     return billingInfoModal


  createBillingInfoModal: ->

    paymentController = KD.getSingleton "paymentController"

    billingInfoModal = paymentController.createBillingInfoModal 'group', {}

    paymentController.fetchBillingInfo 'group', (err, groupBillingInfo) ->

      if groupBillingInfo
        billingInfoModal.setBillingInfo groupBillingInfo

      else
        paymentController.fetchBillingInfo 'user', (err, personalBillingInfo) ->

          if personalBillingInfo
            { billing } = personalBillingInfo

            useExistingModal = new KDModalView
              title: 'Would you like to link an existing payment method?'

  policyViewAdded: (pane, view) ->

  paymentViewAdded: (pane, view) ->

    paymentController = KD.getSingleton 'paymentController'

    group = @getData()

    group.fetchPaymentMethod (err, paymentMethod) ->
      return new KDNotificationView title: err.message  if err

      view.setBillingInfo paymentMethod  if paymentMethod

    @paymentView = view

