branch feature/1223 updated (c44d15d -> c771213)
This is an automated email from the git hooks/post-receive script. New change to branch feature/1223 in repository lima. See http://git.chorem.org/lima.git discards c44d15d refs #1223: l'onglet lettrage est peu réactif adds f8d81c6 refs #1226 Hide close tab button if you cannot close the tab adds 2184fc7 fixes #1226 Hide close tab button if you cannot close the tab Merge branch 'feature/1226' into develop adds e06ef0c fixes #1193 La zone des critères de recherche apparait réduite, les critères de recherche ne sont donc pas visibles, il faudrait définir une taille minimale adds 2581c20 refs #1226 Hide close tab button if you cannot close the tab adds a9d9110 utilisation css adds e8a9357 fixes #1193: La zone des critères de recherche apparait réduite, les critères de recherche ne sont donc pas visibles, il faudrait définir une taille minimale Merge branch 'feature/1193' into develop adds 9243835 change remove icon on tab adds 47dacdc refs #1187 : account popups adds 0e30c25 refs #1187 : entry book popups adds 4ac2c21 refs #1187 : fiscal period popups adds ece040e refs #1187 : inancial statement popups adds 1f5f807 refs #1187 : Vat chart popups adds 37937e4 refs #1187 : identitiy popups adds 964faf1 fixes #1187: Améliorer l'apparence des Popup Merge branch 'feature/1187' into develop adds 3c0f684 refs #1221: Erreur à l'annulation des import/export adds 80adf13 fixes #1221 Erreur à l'annulation des import/export Merge branch 'feature/1221' into develop adds 9aa89d0 refs #1222: Le lettrage ne fonctionne plus adds cc2841b fixes #1222 Le lettrage ne fonctionne plus Merge branch 'feature/1222' into develop adds 8da87c9 refs #1209: A l'ajout automatique d'une écriture le focus ne correspond pas à la cellule éditée adds 275821d fixes #1209 A l'ajout automatique d'une écriture le focus ne correspond pas à la cellule éditée Merge branch 'feature/1209' into develop adds 89caf6e refs #1218: Plan BCR : exception à la deuxième modification d'un regrouppement adds 3e445d8 fixes #1218 Plan BCR : exception à la deuxième modification d'un regrouppement Merge branch 'feature/1218' into develop new c771213 refs #1223: l'onglet lettrage est peu réactif This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (c44d15d) \ N -- N -- N refs/heads/feature/1223 (c771213) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omits" are not gone; other references still refer to them. Any revisions marked "discards" are gone forever. 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 c77121333bce53bc94d4067c80a805888a69b3c0 Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Apr 8 10:02:37 2015 +0200 refs #1223: l'onglet lettrage est peu réactif Summary of changes: .../business/api/FinancialStatementService.java | 4 +- .../ejb/FinancialStatementServiceImpl.java | 54 ++-- .../lima/business/ejb/ImportServiceImpl.java | 17 +- .../org/chorem/lima/FinancialStatementWayEnum.java | 42 +--- .../resources/i18n/lima-callao_en_GB.properties | 6 +- .../resources/i18n/lima-callao_fr_FR.properties | 6 +- .../src/main/java/org/chorem/lima/LimaMain.java | 1 + .../org/chorem/lima/enums/AccountsChartEnum.java | 24 +- .../lima/enums/FinancialStatementsChartEnum.java | 22 +- .../chorem/lima/enums/VatStatementsChartEnum.java | 26 +- .../java/org/chorem/lima/ui/ClosableTabHeader.css | 14 +- .../java/org/chorem/lima/ui/ClosableTabHeader.jaxx | 6 +- .../src/main/java/org/chorem/lima/ui/MainView.css | 275 +++++++++++++++++---- .../java/org/chorem/lima/ui/MainViewHandler.java | 1 + .../org/chorem/lima/ui/account/AccountForm.css | 2 + .../org/chorem/lima/ui/account/AccountForm.jaxx | 20 +- .../chorem/lima/ui/account/AccountImportForm.css | 39 +-- .../chorem/lima/ui/account/AccountImportForm.jaxx | 61 ++--- .../chorem/lima/ui/account/AccountViewHandler.java | 2 +- .../chorem/lima/ui/account/UpdateAccountForm.css | 2 + .../chorem/lima/ui/account/UpdateAccountForm.jaxx | 17 +- .../org/chorem/lima/ui/entrybook/EntryBookForm.css | 2 + .../chorem/lima/ui/entrybook/EntryBookForm.jaxx | 20 +- .../lima/ui/entrybook/EntryBookImportForm.css | 2 + .../lima/ui/entrybook/EntryBookImportForm.jaxx | 26 +- .../FinancialStatementChartTreeTableModel.java | 94 +++---- .../FinancialStatementChartViewHandler.java | 35 +-- .../FinancialStatementHeaderForm.css | 25 +- .../FinancialStatementHeaderForm.jaxx | 65 ++--- .../FinancialStatementImportForm.css | 41 ++- .../FinancialStatementImportForm.jaxx | 84 +++---- .../FinancialStatementMovementForm.css | 16 +- .../FinancialStatementMovementForm.jaxx | 63 +++-- .../FinancialTransactionTable.java | 11 +- .../FinancialTransactionViewHandler.java | 13 +- .../FinancialTransactionSearchView.css | 6 +- .../FinancialTransactionSearchView.jaxx | 7 +- .../FinancialTransactionSearchViewHandler.java | 13 +- .../org/chorem/lima/ui/fiscalperiod/AddPeriod.css | 6 +- .../org/chorem/lima/ui/fiscalperiod/AddPeriod.jaxx | 28 +-- .../ui/fiscalperiod/FiscalPeriodViewHandler.java | 70 ++++-- .../fiscalperiod/RetainedEarningsEntryBookForm.css | 33 ++- .../RetainedEarningsEntryBookForm.jaxx | 85 ++----- .../org/chorem/lima/ui/identity/IdentityForm.css | 18 +- .../org/chorem/lima/ui/identity/IdentityForm.jaxx | 130 +++++----- .../chorem/lima/ui/importexport/ImportExport.java | 55 +++-- .../org/chorem/lima/ui/lettering/LetteringView.css | 6 +- .../chorem/lima/ui/vatchart/VatChartImportForm.css | 35 +-- .../lima/ui/vatchart/VatChartImportForm.jaxx | 84 +++---- .../lima/ui/vatchart/VatChartMovementForm.css | 29 ++- .../lima/ui/vatchart/VatChartMovementForm.jaxx | 59 +++-- .../lima/ui/vatchart/VatChartViewHandler.java | 7 +- .../java/org/chorem/lima/util/ReportDialogView.css | 5 +- .../org/chorem/lima/util/ReportDialogView.jaxx | 2 +- .../resources/i18n/lima-swing_en_GB.properties | 13 +- .../resources/i18n/lima-swing_fr_FR.properties | 49 ++-- .../src/main/resources/icons/action-cancel.png | Bin 0 -> 587 bytes ...{action-account-remove.png => action-close.png} | Bin .../src/main/resources/icons/action-closeTab.png | Bin 3140 -> 0 bytes lima-swing/src/main/resources/icons/action-ok.png | Bin 0 -> 537 bytes 60 files changed, 999 insertions(+), 879 deletions(-) create mode 100644 lima-swing/src/main/resources/icons/action-cancel.png copy lima-swing/src/main/resources/icons/{action-account-remove.png => action-close.png} (100%) delete mode 100644 lima-swing/src/main/resources/icons/action-closeTab.png create mode 100644 lima-swing/src/main/resources/icons/action-ok.png -- 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 feature/1223 in repository lima. See http://git.chorem.org/lima.git commit c77121333bce53bc94d4067c80a805888a69b3c0 Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Apr 8 10:02:37 2015 +0200 refs #1223: l'onglet lettrage est peu réactif --- .../java/org/chorem/lima/entity/EntryTopiaDao.java | 3 +-- .../lima/ui/lettering/LetteringViewHandler.java | 27 ++++++++++++---------- .../org/chorem/lima/ui/lettering/TypeEntry.java | 6 ++--- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/lima-business/src/main/java/org/chorem/lima/entity/EntryTopiaDao.java b/lima-business/src/main/java/org/chorem/lima/entity/EntryTopiaDao.java index bf49d86..8dcc557 100644 --- a/lima-business/src/main/java/org/chorem/lima/entity/EntryTopiaDao.java +++ b/lima-business/src/main/java/org/chorem/lima/entity/EntryTopiaDao.java @@ -192,8 +192,7 @@ public class EntryTopiaDao extends AbstractEntryTopiaDao<Entry> { Account account = filter.getAccount(); if (account == null || account.getTopiaId() != null) { - builder.addLike(Entry.PROPERTY_ACCOUNT + "." + Account.PROPERTY_ACCOUNT_NUMBER, - filter.getAccount().getAccountNumber() + "%"); + builder.addEquals(Entry.PROPERTY_ACCOUNT, account); } String alias = builder.getAlias(); diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringViewHandler.java b/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringViewHandler.java index d0a832c..ab032dd 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringViewHandler.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringViewHandler.java @@ -94,7 +94,11 @@ public class LetteringViewHandler{ protected enum ButtonMode {DELETTRED, LETTRED, EQUALIZED, ALL} private static final Log log = LogFactory.getLog(LetteringViewHandler.class); + + protected boolean initializationComplete; + public LetteringViewHandler(LetteringView view) { + initializationComplete = false; this.view = view; initShortCuts(); financialPeriodService = LimaServiceFactory.getService(FinancialPeriodService.class); @@ -141,6 +145,11 @@ public class LetteringViewHandler{ } }); + initializationComplete = true; + + updateAllEntries(); + + } protected void initShortCuts() { @@ -390,16 +399,6 @@ public class LetteringViewHandler{ TypeEntry type = view.getLetteredEntryComboBox().getSelectedItem(); setTypeEntry(type); - - updateAllEntries(); - } - - protected List<Entry> findAllEntries(LetteringFilterImpl filter){ - if (filter != null) { - List<Entry> entries = financialTransactionService.getAllEntrieByDatesAndAccountAndLettering(filter); - return entries; - } - return null; } public void setDateStart(Date date) { @@ -425,12 +424,16 @@ public class LetteringViewHandler{ public void updateAllEntries() { - if (filter.getAccount() != null && filter.getDateStart() != null && filter.getDateEnd() != null) { + if (initializationComplete + && filter.getAccount() != null + && filter.getDateStart() != null + && filter.getDateEnd() != null) { - List<Entry> entries = findAllEntries(filter); + List<Entry> entries = financialTransactionService.getAllEntrieByDatesAndAccountAndLettering(filter); view.getTableModel().setValues(entries); } + onBalanceChanged(null); } diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/lettering/TypeEntry.java b/lima-swing/src/main/java/org/chorem/lima/ui/lettering/TypeEntry.java index c44fcad..6fd4c90 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/lettering/TypeEntry.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/lettering/TypeEntry.java @@ -29,11 +29,11 @@ import static org.nuiton.i18n.I18n.t; */ public enum TypeEntry { - LETTERED(true, false), + ALL(true, true), - NO_LETTERED(false, true), + LETTERED(true, false), - ALL(true, true); + NO_LETTERED(false, true); private boolean lettered; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm