Skip to content

Commit

Permalink
BugID: 779 - Tipo di prestazione su Compenso
Browse files Browse the repository at this point in the history
  • Loading branch information
mdurso committed Jan 21, 2013
1 parent 8a8ad2e commit c87d9fd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -449,7 +449,7 @@ public void findTipiPrestazioneCompenso(ActionContext context) throws BusinessPr
java.util.Collection coll = component.findTipiPrestazioneCompenso(context.getUserContext(), compenso);
compenso.setTipiPrestazioneCompenso(coll);

if(coll == null || coll.isEmpty()){
if((coll == null || coll.isEmpty()) && compenso.isPrestazioneCompensoEnabled()){
compenso.setTipoPrestazioneCompenso(null);
throw new it.cnr.jada.comp.ApplicationException("Non esistono Tipi di prestazione associati al Tipo di Rapporto selezionato");
}
Expand Down

0 comments on commit c87d9fd

Please sign in to comment.