           action = $form.attr('action')
           datas['reception'] = action.substr(action.lastIndexOf('/') + 1)
 
-
       $.ajax
         url: url
         data: datas

      if $(closePurchaseOrderBlock).find('input[type="radio"][value="true"]').is(':checked')
        $(lastLineForm).find('.purchase-order-to-close-id').val(modelId)






) ekylibre, jQuery

      itemConditionningQuantity = $(checkboxLine).attr('data-conditionning-quantity')
      itemCompliantState = $(checkboxLine).attr('data-non-compliant')

      console.log "HERE"
      $(lastLineForm).attr('data-item-id', itemId)
      $(lastLineForm).attr('data-non-compliant', itemCompliantState)

      if isPurchaseOrderModal == "true"
        E.reconciliation._fillPurchaseOrderItem(lastLineForm, checkboxLine, itemId, itemQuantity, itemConditionning, itemConditionningQuantity)
      else
        E.reconciliation._fillReceptionItem(lastLineForm, checkboxLine, itemId, itemQuantity)

      $(lastLineForm).find('input[data-remember="equipment"]').first().selector('value', equipmentId)
      $(lastLineForm).find('.no-reconciliate-item-state').addClass('hidden')
      $(lastLineForm).find('.reconciliate-item-state').removeClass('hidden')

    _fillReceptionItem: (lastLineForm, checkboxLine, itemId, itemQuantity) ->
      variantId = $(checkboxLine).find('.variant').attr('data-id')
