www/app/components/provisionalPlan/controllers/provisionalPlansListController.js
/**
     * @function _onItemUpdated
     * @param {ProvisionalPlan} updated Provisional plan sending from component which updated
     * Update this list of provisional plan by callback called from the component which have
     * the responsability of the updating.
     */
@function _onItemUpdated
@param {ProvisionalPlan} updated Provisional plan sending from component which updated
Update this list of provisional plan by callback called from the component which have
the responsability of the updating.
@function _onItemUpdated @param { ProvisionalPlan } updated Provisional plan sending from component which updated Update this list of provisional plan by callback called from the component which have the responsability of the updating .
function _onItemUpdated(updated) {
      for (var i = 0; i < self.provisionalPlans.length; i++) {
        if (self.provisionalPlans[i].id === updated.id) {
          self.provisionalPlans[i] = updated;
        }
      }
    }
function _onItemUpdated ( updated ) { for ( var i = 0 ; i < self . provisionalPlans . length ; i ++ ) { if ( self . provisionalPlans [ i ] . id === updated . id ) { self . provisionalPlans [ i ] = updated ; } } }
@function _onItemUpdated
 @param {ProvisionalPlan} updated Provisional plan sending from component which updated
 Update this list of provisional plan by callback called from the component which have
 the responsability of the updating.
@function _onItemUpdated @param { ProvisionalPlan } updated Provisional plan sending from component which updated Update this list of provisional plan by callback called from the component which have the responsability of the updating .