www/app/components/provisionalPlan/controllers/provisionalPlanDetailsController.js
/**
     * @desc Open a modal to confirm action of deleting then call de delete webservice if user confirm action
     * @function _openModalToConfirmDeleteClickListener
     * @param {Movement} movement Movement to remove
     */
@desc Open a modal to confirm action of deleting then call de delete webservice if user confirm action
@function _openModalToConfirmDeleteClickListener
@param {Movement} movement Movement to remove
@desc Open a modal to confirm action of deleting then call de delete webservice if user confirm action @function _openModalToConfirmDeleteClickListener @param { Movement } movement Movement to remove
function _openModalToConfirmDeleteClickListener(movement) {
      ConfirmActionService.manageModalConfirmationToDeleteMovement({
        title: 'Confirmation',
        template: 'Êtes-vous sur de vouloir supprimer ' + movement.name + ' ?',
        cancelText: 'Non',
        okText: 'Oui'
      }).then(function () {
        _deleteThenRefreshBy(self.provisionalPlan.id, movement);
      }, function () {
        console.log('Suppression annulé.');
      });
    }
function _openModalToConfirmDeleteClickListener ( movement ) { ConfirmActionService . manageModalConfirmationToDeleteMovement ( { title : 'Confirmation' , template : 'Êtes-vous sur de vouloir supprimer '  ovement. n ame   ?', cancelText : 'Non' , okText : 'Oui' } ) . then ( function ( ) { _deleteThenRefreshBy ( self . provisionalPlan . id , movement ) ; } , function ( ) { console . log ( 'Suppression annulé.') ; } ) ; }
@desc Open a modal to confirm action of deleting then call de delete webservice if user confirm action
 @function _openModalToConfirmDeleteClickListener
 @param {Movement} movement Movement to remove
@desc Open a modal to confirm action of deleting then call de delete webservice if user confirm action @function _openModalToConfirmDeleteClickListener @param { Movement } movement Movement to remove