             $('#purchase_invoice_responsible_id').first().selector('value', responsibleId)
 
           E.reconciliation._fillNewLineForm(itemCheckbox, isPurchaseOrderModal)
-
+        
         if isPurchaseOrderModal == "true"
           $itemCb = $(itemCheckbox)
           purchaseOrderItemId = $itemCb.data('id')
           $formContainer = $("table.list .nested-fields .nested-item-form[data-item-id='#{purchaseOrderItemId}']")
-          purchaseOrderToCloseUpdate($itemCb, $formContainer)
+          purchaseOrderToCloseUpdate($itemCb, $formContainer) 
 
     removeLineWithUnselectedItems: (modal, displayedItemIds, event) ->
       for id in displayedItemIds


  # Given checkbox and formContainer, this method sets the purchase-order-to-close-id property to the purchase order id on the given reception item's form fields
  #    if the purchase order of the selected element is marked for closure when saving the reception
  #
  # @param [jQuery<HTMLElement>] checkbox %li containing a checkbox for an item to maybereconcile
  # @param [jQuery<HTMLElement>] formContainer form line containing information about a reception item
  purchaseOrderToCloseUpdate = ($checkbox, $formContainer) ->

      else
        E.reconciliation._fillReceptionItem(lastLineForm, checkboxLine, itemId, itemQuantity, itemAnnotation)

      $(lastLineForm).find('input[data-remember="equipment"]').first().selector('value', equipmentId)
      $(lastLineForm).find('input[data-remember="team"]').first().selector('value', teamId)
      $(lastLineForm).find('input[data-remember="project_budget"]').first().selector('value', projectBudgetId)
      $(lastLineForm).find('input[data-remember="activity_budget"]').first().selector('value', activityBudgetId)
      $(lastLineForm).find('.no-reconciliate-item-state').addClass('hidden')
      $(lastLineForm).find('.reconciliate-item-state').removeClass('hidden')
      $line = $(lastLineForm).parent('.nested-fields')
