www/app/components/provisionalPlan/controllers/provisionalPlansListController.js
/**
     * @desc Open a modal to confirm action of deleting then call de delete webservice if user confirm action
     * @function _openModalToConfirmDelete
     * @param {ProvisionalPlan} provisionalPlan Provisional plan to remove
     * @memberOf Controllers.MovementController
     */
@desc Open a modal to confirm action of deleting then call de delete webservice if user confirm action
@function _openModalToConfirmDelete
@param {ProvisionalPlan} provisionalPlan Provisional plan to remove
@memberOf Controllers.MovementController
@desc Open a modal to confirm action of deleting then call de delete webservice if user confirm action @function _openModalToConfirmDelete @param { ProvisionalPlan } provisionalPlan Provisional plan to remove @memberOf Controllers . MovementController
function _openModalToConfirmDeleteClickListener(provisionalPlan) {
      ConfirmActionService.manageModalConfirmationToDeleteMovement({
        title: 'Confirmation',
        template: 'Êtes-vous sur de vouloir supprimer ' + provisionalPlan.name + ' ?',
        cancelText: 'Non',
        okText: 'Oui'
      }).then(function (res) {
        if (res) {
          _deleteThenRefreshBy(provisionalPlan);
        } else {
          console.log('Suppression annulé');
        }
      });
    }
function _openModalToConfirmDeleteClickListener ( provisionalPlan ) { ConfirmActionService . manageModalConfirmationToDeleteMovement ( { title : 'Confirmation' , template : 'Êtes-vous sur de vouloir supprimer '  rovisionalPlan. n ame   ?', cancelText : 'Non' , okText : 'Oui' } ) . then ( function ( res ) { if ( res ) { _deleteThenRefreshBy ( provisionalPlan ) ; } else { console . log ( 'Suppression annulé') ; } } ) ; }
@desc Open a modal to confirm action of deleting then call de delete webservice if user confirm action
 @function _openModalToConfirmDelete
 @param {ProvisionalPlan} provisionalPlan Provisional plan to remove
 @memberOf Controllers.MovementController
@desc Open a modal to confirm action of deleting then call de delete webservice if user confirm action @function _openModalToConfirmDelete @param { ProvisionalPlan } provisionalPlan Provisional plan to remove @memberOf Controllers . MovementController