       $(this).text(revenues - expenses)
 
   $(document).ready ->
-    survey()
     # sorts budgets by direction
     $("tr[data-budget-direction]").each ->
       direction = $(this).attr('data-budget-direction')

  # updates working indicator measure values
  $(document).on 'change', "select[id^='production_working_']", ->
    updateIndicatorsValues()
  $(document).on 'change', "input:hidden[data-parameter-name='storage_id']", ->
    updateIndicatorValue($(this))

  # manages working indicator and working unit

(($) ->
  'use strict'
  # usefull functions
  updateItems = () ->
    $(".budget_nested_fields").filter(':visible').each ->
      default_value = $(this).find("input.homogeneous").filter(':visible').first().val()
