     plan = @getData()
 
     for product in products
-      qty = plan.quatities?[product.planCode] ? 0
+      qty = plan.quantities?[product.planCode] ? 0
       item = @products.addItem product
       item.setQuantity qty
      cssClass: "formline button-field clearfix"

    @buttonField.addSubView new KDButtonView
      title: 'Save'
      cssClass: 'modal-clean-green'

    @buttonField.addSubView new KDButtonView
      title: 'cancel'
      cssClass: 'modal-cancel'

    @addSubView @planExplanation
    @addSubView @planView

    @addSubView @products.getView()
    @addSubView @buttonField

  save: (callback) ->
    quantities = {}

    plan = @getData()

    @products.getItemsOrdered().forEach (item) ->
      { planCode } = item.getData()
      qty = item.qtyView.getValue()
      quantities[planCode] = qty  if qty > 0

    plan.quantities = quantities

    plan.modify { quantities }, callback

    @emit 'ProductsAdded'

  setProducts: (products) ->
    @loader.hide()
