www/app/components/provisionalPlan/controllers/provisionalPlansListController.js
/**
     * @desc Save the movementFormModel and update the model then hide modal
     * @function _saveThenCloseProvisionalPlanModalForm
     */
@desc Save the movementFormModel and update the model then hide modal
@function _saveThenCloseProvisionalPlanModalForm
@desc Save the movementFormModel and update the model then hide modal @function _saveThenCloseProvisionalPlanModalForm
function _saveThenCloseProvisionalPlanModalForm(provisionalPlanFormModel) {
      ProvisionalPlanService.save(provisionalPlanFormModel).catch(function () {
        throw new Error(reason);
      }).finally(function () {
        self.provisionalPlanFormModal.hide();
      });
    }
function _saveThenCloseProvisionalPlanModalForm ( provisionalPlanFormModel ) { ProvisionalPlanService . save ( provisionalPlanFormModel ) . catch ( function ( ) { throw new Error ( reason ) ; } ) . finally ( function ( ) { self . provisionalPlanFormModal . hide ( ) ; } ) ; }
@desc Save the movementFormModel and update the model then hide modal
 @function _saveThenCloseProvisionalPlanModalForm
@desc Save the movementFormModel and update the model then hide modal @function _saveThenCloseProvisionalPlanModalForm