branch develop updated (5486747 -> 28e0454)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository lima. See http://git.chorem.org/lima.git from 5486747 Merge branch 'feature/1186' into develop new 28e0454 refs #1199 : corrextion d'un index hors limites, ey précision d'un label. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 28e0454a3926990df23737dc9fdf9a9e63fd76cb Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Fri May 29 15:36:17 2015 +0200 refs #1199 : corrextion d'un index hors limites, ey précision d'un label. Summary of changes: .../lima/ui/fiscalControlExport/FiscalControlExportViewHandler.java | 4 +++- lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository lima. See http://git.chorem.org/lima.git commit 28e0454a3926990df23737dc9fdf9a9e63fd76cb Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Fri May 29 15:36:17 2015 +0200 refs #1199 : corrextion d'un index hors limites, ey précision d'un label. --- .../lima/ui/fiscalControlExport/FiscalControlExportViewHandler.java | 4 +++- lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/fiscalControlExport/FiscalControlExportViewHandler.java b/lima-swing/src/main/java/org/chorem/lima/ui/fiscalControlExport/FiscalControlExportViewHandler.java index 2cd6aa9..c8ca219 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/fiscalControlExport/FiscalControlExportViewHandler.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/fiscalControlExport/FiscalControlExportViewHandler.java @@ -64,7 +64,9 @@ public class FiscalControlExportViewHandler { public void init() { List<FiscalPeriod> fiscalPeriods = fiscalPeriodService.getAllBlockedFiscalPeriods(); view.getFiscalPeriodComboBoxModel().setObjects(fiscalPeriods); - view.getFiscalPeriodComboBoxModel().setSelectedItem(fiscalPeriods.get(fiscalPeriods.size()-1)); + if (!fiscalPeriods.isEmpty()) { + view.getFiscalPeriodComboBoxModel().setSelectedItem(fiscalPeriods.get(fiscalPeriods.size() - 1)); + } List<EntryBook> entryBooks = entryBookService.getAllEntryBooks(); view.getEntryBookAtNewComboBoxModel().setObjects(entryBooks); Identity identity = identityService.getIdentity(); diff --git a/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties b/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties index cf5b422..3655f1b 100644 --- a/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties +++ b/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties @@ -316,7 +316,7 @@ lima.fiscalControlExport.file.overwrite=Le fichier "%s" existe déjà. Voulez-vo lima.fiscalControlExport.file.overwrite.cancel=Annuler lima.fiscalControlExport.file.overwrite.continue=Remplacer lima.fiscalControlExport.file.overwrite.title=Fichier existant -lima.fiscalControlExport.fiscalPeriod=Exercice +lima.fiscalControlExport.fiscalPeriod=Exercice cloturé lima.fiscalControlExport.form=Export du fichier des écritures comptables lima.fiscalControlExport.sirenMissing=Attention \: Votre numéro de Siret n'est pas renseignié dans la fiche identité.\n lima.fiscalControlExport.success=Export réalisé avec success -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm