r3453 - trunk/lima-swing/src/main/java/org/chorem/lima/ui/entrybooksreports
Author: echatellier Date: 2012-06-07 16:14:32 +0200 (Thu, 07 Jun 2012) New Revision: 3453 Url: http://chorem.org/repositories/revision/lima/3453 Log: Uncomment code (just for testing) Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/entrybooksreports/EntryBooksReportsViewHandler.java Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/entrybooksreports/EntryBooksReportsViewHandler.java =================================================================== --- trunk/lima-swing/src/main/java/org/chorem/lima/ui/entrybooksreports/EntryBooksReportsViewHandler.java 2012-06-07 08:04:04 UTC (rev 3452) +++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/entrybooksreports/EntryBooksReportsViewHandler.java 2012-06-07 14:14:32 UTC (rev 3453) @@ -187,16 +187,13 @@ } //shows error message to user if the fiscalPeriod is unblocked - //FIXME echatellier 20120605 why ? - // ui is only filled with non blocked periods, else case - // can NEVER happen - /*if (error) { + if (error) { JOptionPane.showMessageDialog( view, _("lima.entrybooksreports.documentcreationfiscalerror"), _("lima.entrybooksreports.documentcreationfiscaltitle"), JOptionPane.ERROR_MESSAGE); - } else {*/ + } else { int port = LimaServiceFactory.getService(HttpServerService.class).getHttpPort(); FormatsEnum selectedEnum = (FormatsEnum) view.getDocumentEditor().getSelectedItem(); @@ -222,7 +219,7 @@ } catch (URISyntaxException e) { log.error("Can't create news URI", e); } - //} + } } }
participants (1)
-
echatellier@users.chorem.org