     $(this).each ->
       E.interventions.generateItemsArrayFromId($(this))
 
+  $(document).on "keyup change", 'input.input-quantity', ->
+    $(this).each ->
+      E.interventions.updateTotalAmount($(this))
+
 
   $(document).ready ->
 

                itemLine.push("<span class='item-amount'>" + item.amount + "</span>")
                $('.purchase-items-array').append("<li class='item-line'>" + itemLine.join('') + "</li>")



  ##############################################################################
  # Triggers


    generateItemsArrayFromId: (input)->
      id = input.parent().find('.selector-value').val()
      $('.purchase-items-array').empty()
      itemHeader = []
      itemHeader.push("<span class='header-name'>Article</span>")
      itemHeader.push("<span class='header-quantity'>Quantité</span>")
