Lima-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- 1907 discussions
06/21: refs #1293 Correction sur les dates pickers et la recherche de compte appliquée égallement à l'onglet Lettering
by chorem.org scm 20 Jan '16
by chorem.org scm 20 Jan '16
20 Jan '16
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 02e31e252941a6254f6f60fec48879f5e6bc63bd
Author: dcosse <cosse(a)codelutin.com>
Date: Tue Sep 15 17:18:09 2015 +0200
refs #1293 Correction sur les dates pickers et la recherche de compte appliquée égallement à l'onglet Lettering
---
.../lima/ui/accountViewer/AccountViewerViewHandler.java | 6 ++----
.../java/org/chorem/lima/ui/lettering/LetteringView.css | 8 ++++++++
.../chorem/lima/ui/lettering/LetteringViewHandler.java | 16 +++++++++++-----
3 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerViewHandler.java b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerViewHandler.java
index 7cef851..37a4ba7 100644
--- a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerViewHandler.java
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerViewHandler.java
@@ -411,10 +411,8 @@ public class AccountViewerViewHandler {
}
public void accountComboBoxChange(PropertyChangeEvent event) {
- if (event.getPropertyName().equals(AccountComboBox.PROPERTY_SELECTED_ITEM)) {
- if (event.getNewValue() != null && event.getNewValue() instanceof Account) {
- setAccount((Account) event.getNewValue());
- }
+ if (event.getPropertyName().equals(AccountComboBox.PROPERTY_SELECTED_ITEM) && event.getNewValue() != null && event.getNewValue() instanceof Account) {
+ setAccount((Account) event.getNewValue());
}
}
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringView.css b/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringView.css
index f5c7736..520059d 100644
--- a/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringView.css
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringView.css
@@ -70,11 +70,19 @@
labelFor : {beginPeriodPicker};
}
+#beginPeriodPicker {
+ patternLayout: {handler.DATE_FORMAT};
+}
+
#endPeriodLabel {
text : "lima.lettering.period.end";
labelFor : {endPeriodPicker};
}
+#endPeriodPicker {
+ patternLayout: {handler.DATE_FORMAT};
+}
+
#letteredEntryLabel {
actionIcon : "choose-entry";
labelFor : {letteredEntryComboBox};
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 15f9759..67abdc7 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
@@ -80,6 +80,8 @@ import static org.nuiton.i18n.I18n.t;
*/
public class LetteringViewHandler{
+ protected static String DATE_FORMAT = t("lima.ui.dateFormat");
+
protected LetteringView view;
/** Transaction service. */
@@ -500,7 +502,7 @@ public class LetteringViewHandler{
}
public void accountComboBoxChange(PropertyChangeEvent event) {
- if (event.getPropertyName().equals(AccountComboBox.PROPERTY_SELECTED_ITEM) && event.getNewValue() instanceof Account) {
+ if (event.getPropertyName().equals(AccountComboBox.PROPERTY_SELECTED_ITEM) && event.getNewValue() != null && event.getNewValue() instanceof Account) {
setAccount((Account) event.getNewValue());
}
}
@@ -627,13 +629,17 @@ public class LetteringViewHandler{
public void setDateStart(Date date) {
- filter.setDateStart(date);
- updateAllEntries();
+ if (initializationComplete) {
+ filter.setDateStart(date);
+ updateAllEntries();
+ }
}
public void setDateEnd(Date date) {
- filter.setDateEnd(date);
- updateAllEntries();
+ if (initializationComplete) {
+ filter.setDateEnd(date);
+ updateAllEntries();
+ }
}
public void setAccount(Account account) {
--
To stop receiving notification emails like this one, please contact
chorem.org SCM administrator <admin+scm(a)chorem.org>.
1
0
05/21: refs #1293 Correction d'une exception survenant si un nom de compte est saisie est que aucun compte ne correspond
by chorem.org scm 20 Jan '16
by chorem.org scm 20 Jan '16
20 Jan '16
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 22f84a3829936fce05e3e93afeb47d195096fd09
Author: dcosse <cosse(a)codelutin.com>
Date: Tue Sep 15 16:59:42 2015 +0200
refs #1293 Correction d'une exception survenant si un nom de compte est saisie est que aucun compte ne correspond
---
.../src/main/java/org/chorem/lima/ui/account/AccountViewHandler.java | 5 +----
.../main/java/org/chorem/lima/ui/lettering/LetteringViewHandler.java | 2 +-
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/account/AccountViewHandler.java b/lima-swing/src/main/java/org/chorem/lima/ui/account/AccountViewHandler.java
index 8392137..85f0b23 100644
--- a/lima-swing/src/main/java/org/chorem/lima/ui/account/AccountViewHandler.java
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/account/AccountViewHandler.java
@@ -60,7 +60,6 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
-import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.SortedMap;
@@ -210,9 +209,7 @@ public class AccountViewHandler implements ServiceListener {
for (Account account : accounts) {
// find parent
DefaultMutableTreeTableNode parentNode = root;
- Iterator<Map.Entry<String, DefaultMutableTreeTableNode>> itNodes = nodeCache.entrySet().iterator();
- while (itNodes.hasNext()) {
- Map.Entry<String, DefaultMutableTreeTableNode> entry = itNodes.next();
+ for (Map.Entry<String, DefaultMutableTreeTableNode> entry : nodeCache.entrySet()) {
String accountNumber = entry.getKey();
if (account.getAccountNumber().startsWith(accountNumber)) {
parentNode = entry.getValue();
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 77db344..15f9759 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
@@ -500,7 +500,7 @@ public class LetteringViewHandler{
}
public void accountComboBoxChange(PropertyChangeEvent event) {
- if (event.getPropertyName().equals(AccountComboBox.PROPERTY_SELECTED_ITEM)) {
+ if (event.getPropertyName().equals(AccountComboBox.PROPERTY_SELECTED_ITEM) && event.getNewValue() instanceof Account) {
setAccount((Account) event.getNewValue());
}
}
--
To stop receiving notification emails like this one, please contact
chorem.org SCM administrator <admin+scm(a)chorem.org>.
1
0
04/21: refs #1293 la validation des dates des date pickers est possible au Tab
by chorem.org scm 20 Jan '16
by chorem.org scm 20 Jan '16
20 Jan '16
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 f66d9ad9debbe23962602c929db31a53755b2c46
Author: dcosse <cosse(a)codelutin.com>
Date: Tue Sep 15 16:57:35 2015 +0200
refs #1293 la validation des dates des date pickers est possible au Tab
---
.../org/chorem/lima/ui/accountViewer/AccountViewerView.jaxx | 4 ++--
.../lima/ui/accountViewer/AccountViewerViewHandler.java | 12 ++++++++----
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerView.jaxx b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerView.jaxx
index 75a86df..2a13c27 100644
--- a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerView.jaxx
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerView.jaxx
@@ -62,11 +62,11 @@
<JLabel id="beginPeriodLabel"/>
<JAXXDatePicker id="beginPeriodPicker"
- onActionPerformed="handler.setDateStart(beginPeriodPicker.getDate())"/>
+ onPropertyChange="handler.setDateStart(beginPeriodPicker.getDate())"/>
<JLabel id="endPeriodLabel"/>
<JAXXDatePicker id="endPeriodPicker"
- onActionPerformed="handler.setDateEnd(endPeriodPicker.getDate())"/>
+ onPropertyChange="handler.setDateEnd(endPeriodPicker.getDate())"/>
<JToolBar.Separator/>
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerViewHandler.java b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerViewHandler.java
index 7e9ceca..7cef851 100644
--- a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerViewHandler.java
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerViewHandler.java
@@ -450,13 +450,17 @@ public class AccountViewerViewHandler {
}
public void setDateStart(Date date) {
- filter.setDateStart(date);
- updateAllEntries();
+ if (initializationComplete) {
+ filter.setDateStart(date);
+ updateAllEntries();
+ }
}
public void setDateEnd(Date date) {
- filter.setDateEnd(date);
- updateAllEntries();
+ if (initializationComplete) {
+ filter.setDateEnd(date);
+ updateAllEntries();
+ }
}
public void setAccount(Account account) {
--
To stop receiving notification emails like this one, please contact
chorem.org SCM administrator <admin+scm(a)chorem.org>.
1
0
03/21: refs #1241 Ajout de la possibilité de choisir entre deux modes de sélection des entrées (Manuelle ou Balancée)
by chorem.org scm 20 Jan '16
by chorem.org scm 20 Jan '16
20 Jan '16
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 25f8c7c63e5421b32e78cdaf99c08a3fecb92eb4
Author: dcosse <cosse(a)codelutin.com>
Date: Tue Sep 15 15:56:35 2015 +0200
refs #1241 Ajout de la possibilité de choisir entre deux modes de sélection des entrées (Manuelle ou Balancée)
---
.../src/main/java/org/chorem/lima/ui/MainView.css | 2 +-
.../ui/accountViewer/AccountViewerEditModel.java | 40 +----
.../accountViewer/AccountViewerSelectionModel.java | 98 ++++++------
.../lima/ui/accountViewer/AccountViewerView.css | 9 ++
.../lima/ui/accountViewer/AccountViewerView.jaxx | 8 +-
.../ui/accountViewer/AccountViewerViewHandler.java | 177 +++++++--------------
.../lima/ui/accountViewer/SelectionMode.java | 29 ++++
.../resources/i18n/lima-swing_en_GB.properties | 4 +
.../resources/i18n/lima-swing_fr_FR.properties | 4 +
.../main/resources/icons/action-account-viewer.png | Bin 0 -> 1062 bytes
.../main/resources/icons/action-selection-mode.png | Bin 0 -> 1106 bytes
11 files changed, 165 insertions(+), 206 deletions(-)
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/MainView.css b/lima-swing/src/main/java/org/chorem/lima/ui/MainView.css
index 177cf8b..0053bbc 100644
--- a/lima-swing/src/main/java/org/chorem/lima/ui/MainView.css
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/MainView.css
@@ -238,7 +238,7 @@
#accountViewer {
text : "lima.entries.accountViewer";
- actionIcon : "lettering";
+ actionIcon : "account-viewer";
}
#help {
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerEditModel.java b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerEditModel.java
index 5c4f64f..57accc3 100644
--- a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerEditModel.java
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerEditModel.java
@@ -40,18 +40,10 @@ public class AccountViewerEditModel implements Serializable {
public static final String PROPERTY_GLOBAL_SOLD = "globalSold";
- public static final String PROPERTY_LETTRED = "lettred";
-
- public static final String PROPERTY_UNLETTRED = "unLettred";
-
- public static final String PROPERTY_EQUALIZED = "equalized";
-
protected final PropertyChangeSupport pcs = new PropertyChangeSupport(this);
protected AccountViewerTableModel model;
- protected boolean lettred;
- protected boolean unLettred;
- protected boolean equalized;
+
protected BigDecimal debit = BigDecimal.ZERO;
protected BigDecimal credit = BigDecimal.ZERO;
protected BigDecimal sold = BigDecimal.ZERO;
@@ -62,36 +54,6 @@ public class AccountViewerEditModel implements Serializable {
protected Date fiscalPeriodBeginDate;
-// public boolean isEqualized() {
-// return equalized;
-// }
-
-// public void setEqualized(boolean equalized) {
-// boolean oldEqualized = isEqualized();
-// this.equalized = equalized;
-// firePropertyChange(PROPERTY_EQUALIZED, oldEqualized, this.equalized);
-// }
-
-// public boolean isLettred() {
-// return lettred;
-// }
-
-// public void setLettred(boolean lettered) {
-// boolean oldLetter = isLettred();
-// this.lettred = lettered && (BigDecimal.ZERO.equals(sold) || sold.doubleValue() == 0);
-// firePropertyChange(PROPERTY_LETTRED, oldLetter, this.lettred);
-// }
-
-// public boolean isUnLettred() {
-// return unLettred;
-// }
-
-// public void setUnLettred(boolean unLettred) {
-// boolean oldDeleter = isUnLettred();
-// this.unLettred = unLettred;
-// firePropertyChange(PROPERTY_UNLETTRED, oldDeleter, this.unLettred);
-// }
-
public BigDecimal getDebit() {
return debit;
}
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerSelectionModel.java b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerSelectionModel.java
index fa1fea5..5199a0b 100644
--- a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerSelectionModel.java
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerSelectionModel.java
@@ -37,6 +37,8 @@ public class AccountViewerSelectionModel extends DefaultListSelectionModel{
protected AccountViewerTableModel letteringTableModel;
protected Entry entry;
protected int lineSelected;
+
+ protected boolean balancedSelectionMode;
protected final PropertyChangeSupport pcs = new PropertyChangeSupport(this);
public AccountViewerSelectionModel(AccountViewerTableModel letteringTableModel){
@@ -50,43 +52,54 @@ public class AccountViewerSelectionModel extends DefaultListSelectionModel{
@Override
public void setSelectionInterval(int row, int column) {
- if (!letteringNotExist(row)) {
-
- //lettred entries
- if ( isSelectionEmpty() || !isSelectedIndex(row)){
- clearSelection();
- lineSelected = row;
- String currentLettring = getCurrentLettring();
-
- //select entries with the same letter of the selected entry
- for(Entry entry : getEntries()){
- if (StringUtils.isNotBlank(entry.getLettering())){
- if (entry.getLettering().equals(currentLettring)){
- int entryToSelect = letteringTableModel.indexOf(entry);
- super.addSelectionInterval(entryToSelect, entryToSelect);
+ if (balancedSelectionMode) {
+ if (!letteringNotExist(row)) {
+
+ //lettred entries
+ if ( isSelectionEmpty() || !isSelectedIndex(row)){
+ clearSelection();
+ lineSelected = row;
+ String currentLettring = getCurrentLettring();
+
+ //select entries with the same letter of the selected entry
+ for(Entry entry : getEntries()){
+ if (StringUtils.isNotBlank(entry.getLettering())){
+ if (entry.getLettering().equals(currentLettring)){
+ int entryToSelect = letteringTableModel.indexOf(entry);
+ super.addSelectionInterval(entryToSelect, entryToSelect);
+ }
}
}
}
}
- }
- else {
-
- //unlettred entries
- //To clear the selection when it changes from lettered entry to unlettered
- for(Entry entry : getEntries()){
- if (!StringUtils.isBlank(entry.getLettering())) {
- int entryToSelect = letteringTableModel.indexOf(entry);
- super.removeSelectionInterval(entryToSelect, entryToSelect);
+ else {
+
+ //unlettred entries
+ //To clear the selection when it changes from lettered entry to unlettered
+ for(Entry entry : getEntries()){
+ if (!StringUtils.isBlank(entry.getLettering())) {
+ int entryToSelect = letteringTableModel.indexOf(entry);
+ super.removeSelectionInterval(entryToSelect, entryToSelect);
+ }
}
- }
- if (isSelectionEmpty() || !isSelectedIndex(row)){
- super.addSelectionInterval(row, column);
- }else {
- super.removeSelectionInterval(row, column);
- }
+ if (isSelectionEmpty() || !isSelectedIndex(row)){
+ super.addSelectionInterval(row, column);
+ }else {
+ super.removeSelectionInterval(row, column);
+ }
+ }
+ } else {
+ super.addSelectionInterval(row, column);
+ //super.setSelectionInterval(row, column);
}
+
+ }
+
+ @Override
+ public int getSelectionMode() {
+ return MULTIPLE_INTERVAL_SELECTION;
}
/**return true if lettering is null, or not null but empty
@@ -113,24 +126,6 @@ public class AccountViewerSelectionModel extends DefaultListSelectionModel{
return letteringTableModel.get(lineSelected);
}
-// /**After rounding one of two entries, selection of its, and of the new entry,
-// * resulting of rounding*/
-// public void selectRoundedAndNewEntries(int indexFirstRoundedEntry, int indexSecondRoundedEntry, Entry newResultRoundedEntry) {
-// if (!isSelectedIndex(indexFirstRoundedEntry)) {
-// addSelectionInterval(indexFirstRoundedEntry, indexFirstRoundedEntry);
-// }
-// if (!isSelectedIndex(indexSecondRoundedEntry)) {
-// addSelectionInterval(indexSecondRoundedEntry, indexSecondRoundedEntry);
-// }
-// /*New entry*/
-// int newEntryIndex = letteringTableModel.indexOf(newResultRoundedEntry);
-// addSelectionInterval(newEntryIndex, newEntryIndex);
-// }
-
- @Override
- public int getSelectionMode() {
- return MULTIPLE_INTERVAL_SELECTION;
- }
public void addPropertyChangeListener(PropertyChangeListener listener) {
pcs.addPropertyChangeListener(listener);
@@ -155,4 +150,13 @@ public class AccountViewerSelectionModel extends DefaultListSelectionModel{
protected void firePropertyChange(String propertyName, Object newValue) {
firePropertyChange(propertyName, null, newValue);
}
+
+ public void setBalancedSelectionMode(boolean balancedSelectionMode) {
+ this.balancedSelectionMode = balancedSelectionMode;
+ clearSelection();
+ }
+
+ public boolean getBalancedSelectionMode() {
+ return balancedSelectionMode;
+ }
}
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerView.css b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerView.css
index f0bd618..25f34fe 100644
--- a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerView.css
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerView.css
@@ -52,11 +52,20 @@
labelFor : {beginPeriodPicker};
}
+#beginPeriodPicker {
+ patternLayout: {handler.DATE_FORMAT};
+}
+
#endPeriodLabel {
text : "lima.lettering.period.end";
labelFor : {endPeriodPicker};
}
+#endPeriodPicker {
+ patternLayout: {handler.DATE_FORMAT};
+}
+
+
#refresh {
toolTipText : "lima.lettering.refresh";
actionIcon : "refresh";
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerView.jaxx b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerView.jaxx
index 25a1066..75a86df 100644
--- a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerView.jaxx
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerView.jaxx
@@ -62,16 +62,20 @@
<JLabel id="beginPeriodLabel"/>
<JAXXDatePicker id="beginPeriodPicker"
- patternLayout="dd/MM/yyy"
onActionPerformed="handler.setDateStart(beginPeriodPicker.getDate())"/>
<JLabel id="endPeriodLabel"/>
<JAXXDatePicker id="endPeriodPicker"
- patternLayout="dd/MM/yyy"
onActionPerformed="handler.setDateEnd(endPeriodPicker.getDate())"/>
<JToolBar.Separator/>
+ <JLabel id='balancedSelectionModeLabel' actionIcon='selection-mode'/>
+ <EnumEditor id='balancedSelectionMode'
+ genericType='SelectionMode'
+ constructorParams='SelectionMode.class'
+ onItemStateChanged="handler.onSelectionModeChanged(balancedSelectionMode.getSelectedItem())" />
+
<JButton id="refresh"
onActionPerformed="handler.updateAllEntries()"/>
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerViewHandler.java b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerViewHandler.java
index bf37cb0..7e9ceca 100644
--- a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerViewHandler.java
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerViewHandler.java
@@ -75,12 +75,11 @@ import static org.nuiton.i18n.I18n.t;
public class AccountViewerViewHandler {
// fixme Date format should be app parameters
- protected static String DATE_FORMAT = "dd/MM/yyyy";
+ protected static String DATE_FORMAT = t("lima.ui.dateFormat");
protected AccountViewerView view;
protected AccountViewerTable table;
- /** Transaction service. */
protected FiscalPeriodService fiscalPeriodService;
protected FinancialPeriodService financialPeriodService;
protected AccountService accountService;
@@ -89,13 +88,11 @@ public class AccountViewerViewHandler {
protected LetteringFilterImpl filter;
- protected BigDecimal debit = BigDecimal.ZERO;
- protected BigDecimal credit = BigDecimal.ZERO;
protected AccountViewerEditModel editModel;
protected ErrorHelper errorHelper;
- protected enum ButtonMode {DELETTRED, LETTRED, EQUALIZED, ALL}
+ protected SelectionMode selectionMode = SelectionMode.BALANCED;
protected SimpleDateFormat dateFormatter = new SimpleDateFormat(DATE_FORMAT);
@@ -122,7 +119,6 @@ public class AccountViewerViewHandler {
public void init() {
filter = new LetteringFilterImpl();
editModel = view.getEditModel();
- //lettringSelectionModel = view.getLetteringSelectionModel();
loadComboAndRows();
editModel.addPropertyChangeListener(AccountViewerEditModel.PROPERTY_DEBIT, new PropertyChangeListener() {
@@ -153,6 +149,8 @@ public class AccountViewerViewHandler {
}
});
+ onSelectionModeChanged(selectionMode);
+
initializationComplete = true;
updateAllEntries();
updateSoldStatus();
@@ -238,16 +236,20 @@ public class AccountViewerViewHandler {
List<Entry> entries = financialTransactionService.getAllEntrieByDatesAndAccountAndLettering(filter);
FiscalPeriod fiscalPeriod = fiscalPeriodService.getFiscalPeriodForDate(filter.getDateStart());
- LetteringFilter previousPeriodFilter = computePreviousPeriodFilter(fiscalPeriod);
- LetteringFilter actualPeriodFilter = computeActualPeriodFilter(fiscalPeriod);
- setPreviousSold(previousPeriodFilter);
- setActualSold(fiscalPeriod, actualPeriodFilter);
-
- // no previous sold to add if selected starting date is same as fiscal period one
- if (!DateUtils.isSameDay(filter.getDateStart(), previousPeriodFilter.getDateStart()) && CollectionUtils.isNotEmpty(entries)) {
- entriesAndResume.add(getFirstLinePreviousSoldEntry(entries, previousPeriodFilter));
+ if (CollectionUtils.isNotEmpty(entries)) {
+ // can be null if there are no fiscal period for the begin date
+ if (fiscalPeriod != null) {
+ LetteringFilter previousPeriodFilter = computePreviousPeriodFilter(fiscalPeriod);
+ LetteringFilter actualPeriodFilter = computeActualPeriodFilter(fiscalPeriod);
+ setPreviousSold(previousPeriodFilter);
+ setActualSold(fiscalPeriod, actualPeriodFilter);
+
+ // no previous sold to add if selected starting date is same as fiscal period one
+ if (!DateUtils.isSameDay(filter.getDateStart(), previousPeriodFilter.getDateStart()) && CollectionUtils.isNotEmpty(entries)) {
+ entriesAndResume.add(getFirstLinePreviousSoldEntry(entries, previousPeriodFilter));
+ }
+ }
}
-
entriesAndResume.addAll(entries);
view.getTableModel().setValues(entriesAndResume);
}
@@ -304,62 +306,10 @@ public class AccountViewerViewHandler {
if (log.isDebugEnabled()) {
log.debug("balanceAndActions");
}
- if (view.getTable().getSelectedRows().length == 0) {
- onButtonModeChanged(ButtonMode.ALL);
- onBalanceChanged(null);
- } else if (!letteringNotExist(view.getTable().getSelectedRow())) {
-
- //lettred entries
- onBalanceChanged(null);
+ onBalanceChanged(null);
+ if (view.getTable().getSelectedRows().length > 0 && !letteringNotExist(view.getTable().getSelectedRow()) ||
+ view.getTable().getSelectedRows().length > 0 && !view.getAccountViewerSelectionModel().isSelectionEmpty()) {
setValuesForSelectedEntries();
-
- //For U.I. buttons (Lettering and unlettering)
- onButtonModeChanged(ButtonMode.DELETTRED);
- } else {
- if (log.isDebugEnabled()) {
- log.debug("unlettred entries");
- }
- int[] selectedRows = view.getTable().getSelectedRows();
- if (selectedRows.length == 2) {
- if (log.isDebugEnabled()) {
- log.debug("2 rows selected");
- }
- /*Treatment only if one of values contains decimals*/
- AccountViewerTableModel tableModel = view.getTableModel();
- Entry firstSelectedEntry = tableModel.get(selectedRows[0]);
- Entry secondSelectedEntry = tableModel.get(selectedRows[1]);
-
- /*Get decimals*/
- BigDecimal firstSelectedEntryAmount = firstSelectedEntry.getAmount();
- BigDecimal secondSelectedEntryAmount = secondSelectedEntry.getAmount();
-
- if ( secondSelectedEntry.isDebit() != firstSelectedEntry.isDebit()
- && (firstSelectedEntryAmount.subtract(secondSelectedEntryAmount).abs().compareTo(BigDecimal.ZERO) >0
- && firstSelectedEntryAmount.subtract(secondSelectedEntryAmount).abs().compareTo(BigDecimal.ONE) <0) ) {
- onButtonModeChanged(ButtonMode.EQUALIZED);
- }
- }else {
- if (log.isDebugEnabled()) {
- log.debug("!2 rows selected");
- }
- onButtonModeChanged(ButtonMode.ALL);
- }
-
- //Unlettred entries
- onBalanceChanged(null);
- //treatment unuseful if no rows are selected
- if (!view.getAccountViewerSelectionModel().isSelectionEmpty()) {
- if (log.isDebugEnabled()) {
- log.debug("Rows selected");
- }
- setValuesForSelectedEntries();
- onButtonModeChanged(ButtonMode.LETTRED);
- } else {
- if (log.isDebugEnabled()) {
- log.debug("No Rows selected");
- }
- onButtonModeChanged(ButtonMode.ALL);
- }
}
}
@@ -377,27 +327,6 @@ public class AccountViewerViewHandler {
return emptyOrNull;
}
- public void onButtonModeChanged(ButtonMode buttonMode) {
-
- switch (buttonMode) {
- case DELETTRED :
- editModel.setLettred(false);
- editModel.setUnLettred(true);
- break;
- case LETTRED:
- editModel.setUnLettred(false);
- editModel.setLettred(true);
- break;
- case EQUALIZED:
- editModel.setEqualized(true);
- break;
- default:
- editModel.setLettred(false);
- editModel.setUnLettred(false);
- editModel.setEqualized(false);
- }
- }
-
public void setValuesForSelectedEntries() {
Entry selectedEntry;
AccountViewerTableModel tableModel = view.getTableModel();
@@ -520,7 +449,46 @@ public class AccountViewerViewHandler {
view.getAccountViewerSelectionModel().clearSelection();
}
- private class DebitCreditSold {
+ public void setDateStart(Date date) {
+ filter.setDateStart(date);
+ updateAllEntries();
+ }
+
+ public void setDateEnd(Date date) {
+ filter.setDateEnd(date);
+ updateAllEntries();
+ }
+
+ public void setAccount(Account account) {
+ if (filter != null) {
+ filter.setAccount(account);
+ updateAllEntries();
+ }
+ }
+
+ public Account getAccount() {
+ Account account = null;
+ if (filter != null) {
+ account = filter.getAccount();
+ }
+ return account;
+ }
+
+ public void onSelectionModeChanged(SelectionMode selectionMode) {
+
+ switch (selectionMode) {
+ case BALANCED:
+ view.getAccountViewerSelectionModel().setBalancedSelectionMode(true);
+ break;
+ case MANUAL:
+ view.getAccountViewerSelectionModel().setBalancedSelectionMode(false);
+ break;
+ default:
+ view.getAccountViewerSelectionModel().setBalancedSelectionMode(true);
+ }
+ }
+
+ protected class DebitCreditSold {
private BigDecimal debit;
private BigDecimal credit;
private BigDecimal sold;
@@ -560,29 +528,4 @@ public class AccountViewerViewHandler {
}
}
- public void setDateStart(Date date) {
- filter.setDateStart(date);
- updateAllEntries();
- }
-
- public void setDateEnd(Date date) {
- filter.setDateEnd(date);
- updateAllEntries();
- }
-
- public void setAccount(Account account) {
- if (filter != null) {
- filter.setAccount(account);
- updateAllEntries();
- }
- }
-
- public Account getAccount() {
- Account account = null;
- if (filter != null) {
- account = filter.getAccount();
- }
- return account;
- }
-
}
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/SelectionMode.java b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/SelectionMode.java
new file mode 100644
index 0000000..8d69868
--- /dev/null
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/SelectionMode.java
@@ -0,0 +1,29 @@
+package org.chorem.lima.ui.accountViewer;
+
+import static org.nuiton.i18n.I18n.t;
+
+/**
+ * Created by davidcosse on 15/09/15.
+ */
+public enum SelectionMode {
+
+ BALANCED, MANUAL;
+
+ @Override
+ public String toString() {
+
+ String result = "";
+
+ switch (this) {
+ case MANUAL:
+ result = t("lima.filter.condition.selectionMode.manual");
+ break;
+ case BALANCED:
+ result = t("lima.filter.condition.selectionMode.balanced");
+ break;
+ }
+
+ return result;
+
+ }
+}
diff --git a/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties b/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties
index 4de6b2d..2b0a17d 100644
--- a/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties
+++ b/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties
@@ -226,6 +226,9 @@ lima.filter=Filter
lima.filter.account=Add account filter
lima.filter.condition.all=Valid all criteria
lima.filter.condition.one=Valid at least one criteria
+lima.filter.condition.selectionMode=Balance entry selection
+lima.filter.condition.selectionMode.balanced=Balanced
+lima.filter.condition.selectionMode.manual=Manual
lima.filter.credit=Add filter on credit
lima.filter.date.interval=Filter on date range
lima.filter.date.one=Filter for one date
@@ -542,6 +545,7 @@ lima.treasury.sie=SIE
lima.treasury.systemType=System Type
lima.treasury.vatNumber=VAT number
lima.treasury.zipCode=Zip Code
+lima.ui.dateFormat=MM/dd/yyy
lima.update=Modify
lima.update.shortcut=Update (Ctrl+M)
lima.validate=Validate
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 7aca2bf..44e6249 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
@@ -236,6 +236,9 @@ lima.filter.account=Ajouter un filtre sur les comptes
lima.filter.condition.all=Valide toutes les conditions
lima.filter.condition.delete=Supprimer la condition
lima.filter.condition.one=Valide au moins une condition
+lima.filter.condition.selectionMode=Sélection des écritures balancées
+lima.filter.condition.selectionMode.balanced=Balancée
+lima.filter.condition.selectionMode.manual=Manuelle
lima.filter.credit=Ajouter un filtre sur les crédits
lima.filter.date=Ajouter un filtre sur les dates
lima.filter.date.interval=Ajouter un filtre sur un interval de dates
@@ -547,6 +550,7 @@ lima.treasury.serviceCode=Code service
lima.treasury.sie=SIE
lima.treasury.systemType=Régime
lima.treasury.zipCode=Code Postal
+lima.ui.dateFormat=dd/MM/yyy
lima.update=Modifier
lima.update.shortcut=Modifier (Ctrl+M)
lima.validate=Valider
diff --git a/lima-swing/src/main/resources/icons/action-account-viewer.png b/lima-swing/src/main/resources/icons/action-account-viewer.png
new file mode 100644
index 0000000..f6f840b
Binary files /dev/null and b/lima-swing/src/main/resources/icons/action-account-viewer.png differ
diff --git a/lima-swing/src/main/resources/icons/action-selection-mode.png b/lima-swing/src/main/resources/icons/action-selection-mode.png
new file mode 100644
index 0000000..594d3a1
Binary files /dev/null and b/lima-swing/src/main/resources/icons/action-selection-mode.png differ
--
To stop receiving notification emails like this one, please contact
chorem.org SCM administrator <admin+scm(a)chorem.org>.
1
0
02/21: refs #1241 Ajout de la possibilité de choisir entre deux modes de sélection des entrées (Manuelle ou Balancée) + Ajout d'icones
by chorem.org scm 20 Jan '16
by chorem.org scm 20 Jan '16
20 Jan '16
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 fe9ed6b58d23d450baa0adc8700da467c923102a
Author: dcosse <cosse(a)codelutin.com>
Date: Tue Sep 15 15:14:19 2015 +0200
refs #1241 Ajout de la possibilité de choisir entre deux modes de sélection des entrées (Manuelle ou Balancée) + Ajout d'icones
---
.../ui/accountViewer/AccountViewerEditModel.java | 58 +++++++++++-----------
1 file changed, 29 insertions(+), 29 deletions(-)
diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerEditModel.java b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerEditModel.java
index 0c9b98c..5c4f64f 100644
--- a/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerEditModel.java
+++ b/lima-swing/src/main/java/org/chorem/lima/ui/accountViewer/AccountViewerEditModel.java
@@ -62,35 +62,35 @@ public class AccountViewerEditModel implements Serializable {
protected Date fiscalPeriodBeginDate;
- public boolean isEqualized() {
- return equalized;
- }
-
- public void setEqualized(boolean equalized) {
- boolean oldEqualized = isEqualized();
- this.equalized = equalized;
- firePropertyChange(PROPERTY_EQUALIZED, oldEqualized, this.equalized);
- }
-
- public boolean isLettred() {
- return lettred;
- }
-
- public void setLettred(boolean lettered) {
- boolean oldLetter = isLettred();
- this.lettred = lettered && (BigDecimal.ZERO.equals(sold) || sold.doubleValue() == 0);
- firePropertyChange(PROPERTY_LETTRED, oldLetter, this.lettred);
- }
-
- public boolean isUnLettred() {
- return unLettred;
- }
-
- public void setUnLettred(boolean unLettred) {
- boolean oldDeleter = isUnLettred();
- this.unLettred = unLettred;
- firePropertyChange(PROPERTY_UNLETTRED, oldDeleter, this.unLettred);
- }
+// public boolean isEqualized() {
+// return equalized;
+// }
+
+// public void setEqualized(boolean equalized) {
+// boolean oldEqualized = isEqualized();
+// this.equalized = equalized;
+// firePropertyChange(PROPERTY_EQUALIZED, oldEqualized, this.equalized);
+// }
+
+// public boolean isLettred() {
+// return lettred;
+// }
+
+// public void setLettred(boolean lettered) {
+// boolean oldLetter = isLettred();
+// this.lettred = lettered && (BigDecimal.ZERO.equals(sold) || sold.doubleValue() == 0);
+// firePropertyChange(PROPERTY_LETTRED, oldLetter, this.lettred);
+// }
+
+// public boolean isUnLettred() {
+// return unLettred;
+// }
+
+// public void setUnLettred(boolean unLettred) {
+// boolean oldDeleter = isUnLettred();
+// this.unLettred = unLettred;
+// firePropertyChange(PROPERTY_UNLETTRED, oldDeleter, this.unLettred);
+// }
public BigDecimal getDebit() {
return debit;
--
To stop receiving notification emails like this one, please contact
chorem.org SCM administrator <admin+scm(a)chorem.org>.
1
0
20 Jan '16
This is an automated email from the git hooks/post-receive script.
New change to branch feature/1293-addAccountViewerTab in repository lima.
See http://git.chorem.org/lima.git
was a383d34 refs #1293 correction de merge
This change permanently discards the following revisions:
discards a383d34 refs #1293 correction de merge
discards 21a91b5 refs #1293 correction traductions
discards 7824a86 refs #1268 déplacement de donnés liées au model de l'handler au model et suppression de listener innutils
discards 358093c refs #1268 déplacement des models du jaxx au handler
discards 6b7523e refs #1293 Correction i18n
discards 8ac5089 refs #1293 corrige exception dans le cas ou aucune periode financière existe avec la date choisie
discards 8373b34 refs #1293 corrections pour le cas ou aucune données existe dans Lima
discards 94833f1 refs #1293 corrections et refactoring
discards e2bbeb7 refs #1293 refactoring et modification du calcul du sold précédent à l'année fiscale
discards 754b9ae refs #1293 modification concernnt l'affichage des infos résumées
discards 397fdb3 refs #1293 correction i18n
discards e5bd1d9 refs #1293 Ajout de la possibilité de choisir une consultation de compte pour un exercice, une période financière ou un interval de dates
discards fd114e2 refs #1293 refactoring, modification de style
discards 4bf2d82 refs #1293 Traduction des dates pickers
discards 02e31e2 refs #1293 Correction sur les dates pickers et la recherche de compte appliquée égallement à l'onglet Lettering
discards 22f84a3 refs #1293 Correction d'une exception survenant si un nom de compte est saisie est que aucun compte ne correspond
discards f66d9ad refs #1293 la validation des dates des date pickers est possible au Tab
discards 25f8c7c refs #1241 Ajout de la possibilité de choisir entre deux modes de sélection des entrées (Manuelle ou Balancée)
discards fe9ed6b refs #1241 Ajout de la possibilité de choisir entre deux modes de sélection des entrées (Manuelle ou Balancée) + Ajout d'icones
discards 747bd28 refs #1241 Ajout d'un oglet consultation de compte, travail en cours
--
To stop receiving notification emails like this one, please contact
chorem.org SCM administrator <admin+scm(a)chorem.org>.
1
0
20 Jan '16
This is an automated email from the git hooks/post-receive script.
New change to branch feature/1293-addAccountViewerTab in repository lima.
See http://git.chorem.org/lima.git
discards 7898a89 refs #1293 correction de merge
discards ee5abac refs #1293 correction traductions
discards e137b42 refs #1268 déplacement de donnés liées au model de l'handler au model et suppression de listener innutils
discards 59ea9a6 refs #1268 déplacement des models du jaxx au handler
discards 7ceeed6 refs #1293 Correction i18n
discards a2e5011 refs #1293 corrige exception dans le cas ou aucune periode financière existe avec la date choisie
discards 9f4bbb3 refs #1293 corrections pour le cas ou aucune données existe dans Lima
discards 27350cb refs #1293 corrections et refactoring
discards 0885bc3 refs #1293 refactoring et modification du calcul du sold précédent à l'année fiscale
discards f6b8fc9 refs #1293 modification concernnt l'affichage des infos résumées
discards 7b3c5c4 refs #1293 correction i18n
discards 367ef5f refs #1293 Ajout de la possibilité de choisir une consultation de compte pour un exercice, une période financière ou un interval de dates
discards d746f2e refs #1293 refactoring, modification de style
discards 147c7cf refs #1293 Traduction des dates pickers
discards 45b2d0c refs #1293 Correction sur les dates pickers et la recherche de compte appliquée égallement à l'onglet Lettering
discards da320f5 refs #1293 Correction d'une exception survenant si un nom de compte est saisie est que aucun compte ne correspond
discards df5f528 refs #1293 la validation des dates des date pickers est possible au Tab
discards b5244af refs #1241 Ajout de la possibilité de choisir entre deux modes de sélection des entrées (Manuelle ou Balancée)
discards 67b47c2 refs #1241 Ajout de la possibilité de choisir entre deux modes de sélection des entrées (Manuelle ou Balancée) + Ajout d'icones
discards a859874 refs #1241 Ajout d'un oglet consultation de compte, travail en cours
adds 4fe0543 montée de version mineur de libs
adds 3c9b729 Mise à jour fichiers de licences
adds 234f3ac Mise à jour fichiers de licences
adds 1c09d51 Migration sur gitlab + utilisation chorempom 5-rc-2
adds 205012d refs #1182 valeur de clef de traduction manquante
adds ce75d95 refs #1158 Il est de nouveau possible de créer une transaction sur une periode ou un exercice non clos
adds 2bbb45e Merge branch 'feature/1158-Corriger-le-comportement-d-ajout-de-transaction' into develop
new 747bd28 refs #1241 Ajout d'un oglet consultation de compte, travail en cours
new fe9ed6b refs #1241 Ajout de la possibilité de choisir entre deux modes de sélection des entrées (Manuelle ou Balancée) + Ajout d'icones
new 25f8c7c refs #1241 Ajout de la possibilité de choisir entre deux modes de sélection des entrées (Manuelle ou Balancée)
new f66d9ad refs #1293 la validation des dates des date pickers est possible au Tab
new 22f84a3 refs #1293 Correction d'une exception survenant si un nom de compte est saisie est que aucun compte ne correspond
new 02e31e2 refs #1293 Correction sur les dates pickers et la recherche de compte appliquée égallement à l'onglet Lettering
new 4bf2d82 refs #1293 Traduction des dates pickers
new fd114e2 refs #1293 refactoring, modification de style
new e5bd1d9 refs #1293 Ajout de la possibilité de choisir une consultation de compte pour un exercice, une période financière ou un interval de dates
new 397fdb3 refs #1293 correction i18n
new 754b9ae refs #1293 modification concernnt l'affichage des infos résumées
new e2bbeb7 refs #1293 refactoring et modification du calcul du sold précédent à l'année fiscale
new 94833f1 refs #1293 corrections et refactoring
new 8373b34 refs #1293 corrections pour le cas ou aucune données existe dans Lima
new 8ac5089 refs #1293 corrige exception dans le cas ou aucune periode financière existe avec la date choisie
new 6b7523e refs #1293 Correction i18n
new 358093c refs #1268 déplacement des models du jaxx au handler
new 7824a86 refs #1268 déplacement de donnés liées au model de l'handler au model et suppression de listener innutils
new 21a91b5 refs #1293 correction traductions
new a383d34 refs #1293 correction de merge
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 (7898a89)
\
N -- N -- N refs/heads/feature/1293-addAccountViewerTab (a383d34)
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 20 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 a383d34f0a1142d74b97e75f8ad363087d796b45
Author: dcosse <cosse(a)codelutin.com>
Date: Mon Nov 30 16:06:14 2015 +0100
refs #1293 correction de merge
commit 21a91b5fc02617d25eaecb9fe29428bdc0d8e58c
Author: dcosse <cosse(a)codelutin.com>
Date: Mon Nov 30 14:13:39 2015 +0100
refs #1293 correction traductions
commit 7824a86c725617cd2db11fa6caed3b64ec91310a
Author: dcosse <cosse(a)codelutin.com>
Date: Wed Sep 30 15:30:48 2015 +0200
refs #1268 déplacement de donnés liées au model de l'handler au model et suppression de listener innutils
commit 358093cc17895cd3dfd9aae8dca31d33743e7b07
Author: dcosse <cosse(a)codelutin.com>
Date: Wed Sep 30 14:49:39 2015 +0200
refs #1268 déplacement des models du jaxx au handler
commit 6b7523e723a1bd264e043b84b5bcabdf65a0e591
Author: dcosse <cosse(a)codelutin.com>
Date: Fri Sep 25 13:08:29 2015 +0200
refs #1293 Correction i18n
commit 8ac5089a81041bf740453bcdca499227acd61e0d
Author: dcosse <cosse(a)codelutin.com>
Date: Fri Sep 25 13:05:56 2015 +0200
refs #1293 corrige exception dans le cas ou aucune periode financière existe avec la date choisie
commit 8373b3460d6f4d3da372ed7a005e8e6b5fdbdad9
Author: dcosse <cosse(a)codelutin.com>
Date: Thu Sep 24 14:19:40 2015 +0200
refs #1293 corrections pour le cas ou aucune données existe dans Lima
commit 94833f16f8726df63a24abf9703799def4e28a2c
Author: dcosse <cosse(a)codelutin.com>
Date: Thu Sep 24 12:54:04 2015 +0200
refs #1293 corrections et refactoring
commit e2bbeb7daca042477bb1b8136fb52e2067ba1f12
Author: dcosse <cosse(a)codelutin.com>
Date: Wed Sep 23 22:05:15 2015 +0200
refs #1293 refactoring et modification du calcul du sold précédent à l'année fiscale
commit 754b9ae84e41668e2392e2fcb21abb878f149106
Author: dcosse <cosse(a)codelutin.com>
Date: Tue Sep 22 17:58:13 2015 +0200
refs #1293 modification concernnt l'affichage des infos résumées
commit 397fdb36c23d6c371f7198eb4036ea8ce66d7577
Author: dcosse <cosse(a)codelutin.com>
Date: Sun Sep 20 00:49:12 2015 +0200
refs #1293 correction i18n
commit e5bd1d96303a655ba46310d52eaae2212465f4d4
Author: dcosse <cosse(a)codelutin.com>
Date: Sun Sep 20 00:38:53 2015 +0200
refs #1293 Ajout de la possibilité de choisir une consultation de compte pour un exercice, une période financière ou un interval de dates
commit fd114e2f65c4d9984b1c457d16aeaf194841a3d3
Author: dcosse <cosse(a)codelutin.com>
Date: Fri Sep 18 10:27:41 2015 +0200
refs #1293 refactoring, modification de style
commit 4bf2d8247fb2939c65ad0d8aa6d5d02c8ccc69f8
Author: dcosse <cosse(a)codelutin.com>
Date: Wed Sep 16 22:11:13 2015 +0200
refs #1293 Traduction des dates pickers
commit 02e31e252941a6254f6f60fec48879f5e6bc63bd
Author: dcosse <cosse(a)codelutin.com>
Date: Tue Sep 15 17:18:09 2015 +0200
refs #1293 Correction sur les dates pickers et la recherche de compte appliquée égallement à l'onglet Lettering
commit 22f84a3829936fce05e3e93afeb47d195096fd09
Author: dcosse <cosse(a)codelutin.com>
Date: Tue Sep 15 16:59:42 2015 +0200
refs #1293 Correction d'une exception survenant si un nom de compte est saisie est que aucun compte ne correspond
commit f66d9ad9debbe23962602c929db31a53755b2c46
Author: dcosse <cosse(a)codelutin.com>
Date: Tue Sep 15 16:57:35 2015 +0200
refs #1293 la validation des dates des date pickers est possible au Tab
commit 25f8c7c63e5421b32e78cdaf99c08a3fecb92eb4
Author: dcosse <cosse(a)codelutin.com>
Date: Tue Sep 15 15:56:35 2015 +0200
refs #1241 Ajout de la possibilité de choisir entre deux modes de sélection des entrées (Manuelle ou Balancée)
commit fe9ed6b58d23d450baa0adc8700da467c923102a
Author: dcosse <cosse(a)codelutin.com>
Date: Tue Sep 15 15:14:19 2015 +0200
refs #1241 Ajout de la possibilité de choisir entre deux modes de sélection des entrées (Manuelle ou Balancée) + Ajout d'icones
commit 747bd2832f8a68f7ded06b7474b2c42b9ed36a84
Author: dcosse <cosse(a)codelutin.com>
Date: Mon Sep 14 18:30:15 2015 +0200
refs #1241 Ajout d'un oglet consultation de compte, travail en cours
Summary of changes:
lima-swing/src/license/THIRD-PARTY.properties | 6 ++--
.../FinancialTransactionViewHandler.java | 15 +++++++-
.../resources/i18n/lima-swing_fr_FR.properties | 2 +-
pom.xml | 41 +++++++---------------
src/site/site.xml | 14 ++++++--
5 files changed, 42 insertions(+), 36 deletions(-)
--
To stop receiving notification emails like this one, please contact
chorem.org SCM administrator <admin+scm(a)chorem.org>.
1
20
This is an automated email from the git hooks/post-receive script.
New change to branch feature/1207 in repository lima.
See http://git.chorem.org/lima.git
was 2bbb45e Merge branch 'feature/1158-Corriger-le-comportement-d-ajout-de-transaction' into develop
The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.
--
To stop receiving notification emails like this one, please contact
chorem.org SCM administrator <admin+scm(a)chorem.org>.
1
0
This is an automated email from the git hooks/post-receive script.
New change to branch feature/1207 in repository lima.
See http://git.chorem.org/lima.git
from 248ce54 rebase to develop (refs #1207)
adds c771213 refs #1223: l'onglet lettrage est peu réactif
adds c6e0e9a fixes #1223: l'onglet lettrage est peu réactif Merge branch 'feature/1223' into develop
adds b7877b3 Merge branch 'feature/1207' into develop
adds 1e13def refs #1210 rétablissement du fonctionnement des rapports en mode client/serveur
adds d2dd63f refs #1210 allow to configure defferent address for Ejb than Http
adds 0047b54 Merge branch 'feature/1210-client-server-params' into develop
adds 951e181 [jgitflow-maven-plugin]updating poms for 0.8.4-SNAPSHOT development
adds a2addde [jgitflow-maven-plugin]updating develop poms to master versions to avoid merge conflicts
adds ccbe508 [jgitflow-maven-plugin]updating poms for branch '0.8.3' with snapshot versions
adds 21b81ce remove licences fron thirdparty
adds 556fc85 [jgitflow-maven-plugin]updating poms for branch'release/0.8.3' with non-snapshot versions
adds 10b0c67 Merge branch 'release/0.8.3'
adds 24b6f47 Merge branch 'master' into develop
adds 750c191 [jgitflow-maven-plugin]Updating develop poms back to pre merge state
adds 8021dbe [jgitflow-maven-plugin]updating poms for 0.8.5-SNAPSHOT development
adds c016677 [jgitflow-maven-plugin]updating develop poms to master versions to avoid merge conflicts
adds adf3308 [jgitflow-maven-plugin]updating poms for branch'release/0.8.4' with non-snapshot versions
adds c95d5a1 Merge branch 'release/0.8.4'
adds 5464ca5 Merge branch 'master' into develop
adds f2a70f9 [jgitflow-maven-plugin]Updating develop poms back to pre merge state
adds 9a1e21c correction de la javadoc
adds bf21713 refs #1199 : ajout de l'export du fichier des écritures comptables
adds fbab021 fixes #1228 : correction import comptes.
adds 10e2882 Merge branch 'feature/1228' into develop
adds a1679da fixes #1119 : changement du layout pour les toolbar possiblement trop large
adds f5f01d4 Merge branch 'feature/1119' into develop
adds 565f06b fixes #1208 : ajouter le moi en toutes lettres + afficher la période dans la bar de statut
adds f60f3ab fixes #1225 : si l'exercice est sur deux années afficher les deux années (ex : "2015 - 2016")
adds b557829 refs #1208 : correction de la marge a droite de la balance.
adds 5d95df9 refs #1199 : ajout de l'export du fichier des écritures comptables
adds 12ce7b8 fixes #1228 : correction import comptes.
adds 449120d fixes #1119 : changement du layout pour les toolbar possiblement trop large
adds 1c0d6fb fixes #1208 : ajouter le moi en toutes lettres + afficher la période dans la bar de statut
adds 99faafa refs #1208 : correction de la marge a droite de la balance.
adds 807085c Merge branch 'feature/1208' into develop
adds 931a9e6 fixes #1229 : recherche d'un compt sur tout ou partie du code ou de la désignation
adds d0e4e99 refs #1229 : suppression d'une variable non utilisé.
adds acf87ab Merge branch 'feature/1229' into develop
adds 7c15303 fixes #1224 : Ajout la date et le journal de la transaction ainssi qu'un id permettant de distinguer les transactions
adds 33d60db fixes #1231 : déplacement débit, crédit et solde.
adds 6291377 refs #1186 : text d'a propos
adds 66e4193 refs #1186 : correction text
adds b6a5de8 refs #1186 : rendre dynamique l'année du copyright
adds 8f3b127 refs #1186 : correction du text d'à propos et de la traduction.
adds 5486747 Merge branch 'feature/1186' into develop
adds 28e0454 refs #1199 : corrextion d'un index hors limites, ey précision d'un label.
adds 1d60b71 fixes #1232 : ne pas clôturer un exercice avec des transactions en erreur
adds cd3af52 refs #1233 : test du service des comptes + retructuration des initialiseur de test
adds 391ae16 refs #1233 : test du service des journaux
adds 89b999b refs #1233 : test du service des périodes fiscales (suppresion des fonctions de service non utilisé)
adds d54b68d refs #1233 : test du service des transaction + correction et amélioration du code
adds 47e387f refs #1233 : test du service des exercices
adds 56d8305 Merge branch 'feature/1233' into develop
adds 43a92d4 refs #1233 : test du service des exercices
adds 4fa9916 refs #1233 : fix test and update log
adds 30a62a3 fixes #1235 : fix import plan BCR (and journaux)
adds b33247a fixes #1236 : afficher les exceptions métier
adds 9c806ea fixes #1237 : fix id menu item
adds f9c60c6 change Datepiker pattern adn fix account combobox dimension
adds 96c285b refs #1176 : mise a jours des impressions d'écrans. et correction
adds 6565524 refs #1176 : mise a jour d'un imprime écran et du tableau des fichierd CSV
adds e93d950 Merge branch 'feature/1176-2' into develop
adds 372bc24 mise à jour du pom parents
adds 2f4f28c [jgitflow-maven-plugin]updating poms for 0.8.6-SNAPSHOT development
adds 26817eb [jgitflow-maven-plugin]updating develop poms to master versions to avoid merge conflicts
adds e57c000 fixes releases : add headers
adds 6b45377 [jgitflow-maven-plugin]updating poms for branch'release/0.8.5' with non-snapshot versions
adds 5062bb3 [jgitflow-maven-plugin]merging 'release/0.8.5' into 'master'
adds 4024d64 [jgitflow-maven-plugin]merging 'master' into 'develop'
adds 19a980d [jgitflow-maven-plugin]Updating develop poms back to pre merge state
adds 34f7074 refs #1240 ajout de controles
adds 0112481 refs #1290 A la création d'une transaction si aucune n'a été créée lors de la même session est qu'une transaction est sélectionnée alors la nouvelle trasaction prend la date de celle-ci
adds d100451 refs #1289 calcul de la colonne Solde dans l'onglet recherche des entrées
adds acefd82 refs #1289refactoring
adds 32aa3f8 refs #1289 Le solde est positif si le solde est débiteur
adds 13b9893 Merge branch 'feature/1289-SearchEntriescomputeSold' into develop
adds 26111c4 refs #1293 "Onglet Saisie des écritures" La saisie dans le champ jour est dirrectement prise en compte
adds 54e25dd refs #1293 Auto selection du compte si un seul compte correspond à la recherche
adds 785fc80 refs #1295 Même objet sélectionné entre la combobox et le model
adds c51843f Merge branch 'feature/1295-improveEditEntryView' into develop
adds 2d2c8a4 refs #1241 ordonne les entrée par date
adds 8ef9bf6 refs #1286 Regrouppement des entrées par pièces comptable dans la saisie d'écriture
adds bce1075 refs #1286 La solution adopter n'est pas idéale, il faudra revoir le model pour ordonnée les entrée d'une transaction voir ref #1207
adds 4bbfd4d Merge branch 'feature/1286-ordered-entries' into develop
adds 636a5ba refs #1242 verifivation que l'on filtre bien sur un compte
adds ae8502c fixes #1243 la sortie du champ date ou le clic sur une autre action entraine bien la prise en compte des dates saisies
adds 2dc6345 refs #1242 Modification pour plus de lisibilité suite à revue de code Kevin
adds 79ebf7d refs #1242 Refactoring pour plus de lisibilité
adds 4d8ac91 refs #1242 correction de merge
adds 7288ae1 Merge branch 'feature/1242-no-account-research-exception' into develop
adds 9fd0c2f refs #1297correction pour ne pas remonter les entitées ayant une date > à celle indiquée dans la période
adds bde8128 refs #1298 corrige NPE dans le cas ou aucune donnée existe
adds e3d95f9 refs #1242 ordre des traductions revu
adds d9b4a7d Merge branch 'feature/1298-FixNPE' into develop
adds 959bbc3 refs #1268 l'interface de saisie d'un plan de TVA est de nouveau fonctionnelle
adds 6b2e99c refs #1268 utilisation de JXTreeTable à la place de VatChartTreeTable
adds 73a9813 refs #1268 déplacement du ListSelectionModel dans le handler
adds b44dada Merge branch 'feature/1268-vat-statement-usable' into develop
adds 635828d refs #1242 correction sur refactoring
adds a0857b1 Mise à jour de la déclaration de licences
adds d5f467a refs #1295 Le tableau de la saisie des écritures n'est pas éditable si la période est cloturé pour le journal sélectionné
adds 4a1b1d5 refs #1158 Ajout de commentaires + désactivation du boutton de création d'une transaction
adds 253998b refs #1158 Sur l'onglet lettrage il n'est pas possible de modifier une selection comportant une entrée vérouillée. Ajout d'une colonne 'clos' indiquant les entrées vérouillées.
adds 9957610 Merge branch 'feature/1158-NotEditableTableForClose' into develop
adds b4b645f refs #1158 : recupération du ClosedPeriodEntryBook et stockage dans un map pour le cache.
adds b119160 import manquant
adds 7cd3ef3 correction suite au merge
adds fd35125 Merge branch 'feature/1158' into develop
adds f0e4f29 refs #1241 gérération des rapport de compte avec Jasper
adds 03e84c6 refs #1241 gérération des rapport de compte avec Jasper
adds 4c16fcb refs #1241 ne pas afficher les lignes ne comportant aucun montant de renseigné
adds e9c8126 refs #1241 modification de l'affichage des infos
adds ce734ff refs #1241 factorisation du code source Jasper, utilisation de style
adds 643e3a5 refs #1241 correction sur nom de police
adds 9afd18d refs #1241 refactoring
adds b019126 refs #1241 refactoring général sur les rapports, renommage variable, utilisation de style dans les rapports
adds 8b18d5e refs #1241 réactivation de l'impression de la TVA, avec mise à jour des données
adds dedb5b9 refs #1241 mise à jour du plan de TVA
adds 9a297ab refs #1268 permet la saisie des informations concernant le trésor public et affichage de ses infos lors de l'export TVA
adds f56fee1 refs #1241 placement correcte des champs dans la fenêtre de saisie de l'identité
adds cfd3f21 refs #1241 correction sur le formulaire concernant le trésor public. Renommage du boutton OK en Valider
adds 797522f refs #1241 pas de changement dans l'interface de configuration du premier lancement
adds 9c2a471 refs #1241 modificaction des écans de 1er configuration afin de prendre en compte les changements sur l'identité.
adds 6c63783 refs #1241 ajout de l'icon de sauvegarde présente sur le 1er écran au 1er lancement de lima
adds 7cc39ee refs #1241 progression sur internationalisation des rapports, ajout de l'entête avec l'identité sur tous les rapports
adds b4373cd refs #1241mise à jour du plan de tva
adds 21cbf77 refs #1241 minor
adds e8e622e refs #1241 internationalisation sur le rapport de compte
adds 5a144b5 refs #1241 internationalisation sur le rapport de compte
adds 887373c refs #1241 ajout possibilité de créer des rapports de balance globale ou générale (le dernier par défaut centralise les comptes 401 avec ses sous comptes idem pour 411)
adds b8a6ceb refs #1241 monté de version je Jasper report
adds 6f487bf refs #1241 refactoring de code
adds 1179c09 refs #1241 modification sur en tête du rapport et correction pour appeler la bonne méthode.
adds 4e94d24 refs #1241 modification sur en tête du rapport et correction pour appeler la bonne méthode.
adds 0919fa5 refs #1241 Ajout de traductions
adds 7f54c9e refs #1298 corrige la génération de rapport pour les comptes si aucun compte n'existe
adds 5655683 correction suite au merge
adds 3d5a336 Merge branch 'feature/1241-account-report' into develop
adds a200c71 refs #1287 ajout du montant total pour à l'onglet Lettrage
adds 746e8ce refs #1287 import manquant
adds 07988ba Merge branch 'feature/1287-compute-summary-on-lettering' into develop
adds 1977c6c refs #686 Redémarrage complet de lima pour que l'internationalisation soit complète
adds a47f485 refs #1182 Ajout de traductions
adds 98ca966 refs #1182 Traduction des dates pickers
adds e9ea36e refs #1182 rétablit le fonctionnement des datepicker sur interval
adds 25b8310 Merge branch 'feature/1182-translation' into develop
adds 4fe0543 montée de version mineur de libs
adds 3c9b729 Mise à jour fichiers de licences
adds 234f3ac Mise à jour fichiers de licences
adds 1c09d51 Migration sur gitlab + utilisation chorempom 5-rc-2
adds 205012d refs #1182 valeur de clef de traduction manquante
adds ce75d95 refs #1158 Il est de nouveau possible de créer une transaction sur une periode ou un exercice non clos
adds 2bbb45e Merge branch 'feature/1158-Corriger-le-comportement-d-ajout-de-transaction' into develop
No new revisions were added by this update.
Summary of changes:
lima-business-api/pom.xml | 15 +-
.../src/license/THIRD-PARTY.properties | 12 +-
.../org/chorem/lima/LimaTechnicalException.java | 2 +-
.../chorem/lima/business/LimaServiceFactory.java | 8 -
.../org/chorem/lima/business/ServiceListener.java | 2 +-
.../chorem/lima/business/api/AccountService.java | 11 +-
.../api/ClosedPeriodicEntryBookService.java | 3 +
.../chorem/lima/business/api/EntryBookService.java | 6 +
.../chorem/lima/business/api/ExportService.java | 9 +
.../lima/business/api/FinancialPeriodService.java | 4 -
.../business/api/FinancialTransactionService.java | 13 +-
.../lima/business/api/FiscalPeriodService.java | 38 +-
.../chorem/lima/business/api/ImportService.java | 11 +
.../chorem/lima/business/api/OptionsService.java | 6 +-
.../chorem/lima/business/api/TreasuryService.java | 13 +
.../lima/business/api/VatStatementService.java | 5 +-
...eportService.java => AccountReportService.java} | 14 +-
.../business/api/report/BalanceReportService.java | 19 +-
.../lima/business/exceptions/AccountException.java | 2 +-
.../exceptions/AfterLastFiscalPeriodException.java | 2 +-
...on.java => AlreadyAffectedVatBoxException.java} | 14 +-
.../exceptions/AlreadyExistAccountException.java | 2 +-
.../AlreadyLockedFiscalPeriodException.java | 2 +-
.../BeforeFirstFiscalPeriodException.java | 2 +-
.../BeginAfterEndFiscalPeriodException.java | 2 +-
.../ClosedPeriodicEntryBookException.java | 2 +-
.../ClosedPeriodicEntryBooksException.java | 2 +-
.../lima/business/exceptions/DateException.java | 2 +-
.../lima/business/exceptions/EntriesException.java | 2 +-
.../business/exceptions/EntryBookException.java | 2 +-
.../exceptions/FinancialPeriodException.java | 2 +-
.../exceptions/FinancialTransactionsException.java | 2 +-
.../business/exceptions/FiscalPeriodException.java | 2 +-
.../business/exceptions/ImportEbpException.java | 2 +-
.../exceptions/InvalidAccountNumberException.java | 2 +-
.../LastUnlockedFiscalPeriodException.java | 2 +-
.../exceptions/LockedEntryBookException.java | 2 +-
.../exceptions/LockedFinancialPeriodException.java | 2 +-
.../MoreOneUnlockFiscalPeriodException.java | 2 +-
.../exceptions/NoEmptyFiscalPeriodException.java | 2 +-
.../NoFoundFinancialPeriodException.java | 2 +-
...NotBeginNextDayOfLastFiscalPeriodException.java | 2 +-
...NotLockedClosedPeriodicEntryBooksException.java | 2 +-
.../NotNumberAccountNumberException.java | 2 +-
...lException.java => RequiredFieldException.java} | 14 +-
.../exceptions/UnbalancedEntriesException.java | 2 +-
.../UnbalancedFinancialTransactionsException.java | 2 +-
.../exceptions/UnfilledEntriesException.java | 2 +-
.../business/exceptions/UsedAccountException.java | 2 +-
.../exceptions/UsedEntryBookException.java | 2 +-
...outEntryBookFinancialTransactionsException.java | 2 +-
lima-business/pom.xml | 2 +-
.../org/chorem/lima/business/AccountingRules.java | 35 +-
.../chorem/lima/business/LimaBusinessConfig.java | 77 +-
.../accountingrules/DefaultAccountingRules.java | 190 +++--
.../accountingrules/FranceAccountingRules.java | 10 +-
.../lima/business/ejb/AccountServiceImpl.java | 23 +-
.../ejb/ClosedPeriodicEntryBookServiceImpl.java | 11 +
.../lima/business/ejb/EntryBookServiceImpl.java | 7 +
.../lima/business/ejb/ExportServiceImpl.java | 50 +-
.../business/ejb/FinancialPeriodServiceImpl.java | 18 -
.../ejb/FinancialTransactionServiceImpl.java | 33 +-
.../lima/business/ejb/FiscalPeriodServiceImpl.java | 62 +-
.../lima/business/ejb/ImportServiceImpl.java | 106 ++-
.../lima/business/ejb/OptionsServiceImpl.java | 12 +-
.../lima/business/ejb/TreasuryServiceImpl.java | 69 ++
.../lima/business/ejb/VatStatementServiceImpl.java | 74 +-
.../chorem/lima/business/ejb/csv/EntryModel.java | 98 ++-
.../business/ejb/csv/FiscalControlExportModel.java | 153 ++++
.../lima/business/ejb/csv/IdentityModel.java | 4 +-
.../ejb/report/AccountReportServiceImpl.java | 125 ++++
.../ejb/report/BalanceReportServiceImpl.java | 325 ++++++--
.../business/ejb/report/CommonsDocumentReport.java | 57 ++
.../report/GeneralEntryBookReportServiceImpl.java | 43 +-
.../ejb/report/LedgerReportServiceImpl.java | 41 +-
.../ProvisionalEntryBookReportServiceImpl.java | 64 +-
.../entity/ClosedPeriodicEntryBookTopiaDao.java | 29 +-
.../java/org/chorem/lima/entity/EntryTopiaDao.java | 81 +-
.../lima/entity/FinancialPeriodTopiaDao.java | 14 -
.../lima/entity/FinancialTransactionTopiaDao.java | 1 -
.../chorem/lima/entity/FiscalPeriodTopiaDao.java | 24 -
.../org/chorem/lima/entity/GeneratorHQuery.java | 2 +-
.../resources/i18n/lima-business_en_GB.properties | 60 ++
.../resources/i18n/lima-business_fr_FR.properties | 66 +-
.../org/chorem/lima/business/AbstractLimaTest.java | 575 ++------------
.../lima/business/AccountServiceImplTest.java | 332 +++++---
.../lima/business/EntryBookServiceImplTest.java | 148 +++-
.../business/FinancialPeriodServiceImplTest.java | 260 ++++++-
.../FinancialTransactionServiceImplTest.java | 638 +++++++++++++++-
.../lima/business/FiscalPeriodServiceImplTest.java | 640 +++++++++++++---
.../lima/business/ImportExportServiceTest.java | 45 +-
.../lima/business/ReportServiceImplTest.java | 5 +-
.../lima/entity/FinancialTransactionDAOTest.java | 5 +-
lima-business/src/test/resources/log4j.properties | 4 +-
lima-callao/pom.xml | 2 +-
.../lima/beans/AbstractBigDecimalCondition.java | 2 +-
.../chorem/lima/beans/AbstractStringCondition.java | 2 +-
.../org/chorem/lima/beans/AccountCondition.java | 2 +-
.../org/chorem/lima/beans/BalanceAccountImpl.java | 23 +-
.../main/java/org/chorem/lima/beans/Condition.java | 2 +-
.../org/chorem/lima/beans/CreditCondition.java | 2 +-
.../java/org/chorem/lima/beans/DateCondition.java | 2 +-
.../chorem/lima/beans/DateIntervalCondition.java | 2 +-
.../java/org/chorem/lima/beans/DebitCondition.java | 2 +-
.../chorem/lima/beans/DescriptionCondition.java | 2 +-
.../org/chorem/lima/beans/EntryBookCondition.java | 2 +-
.../lima/beans/FinancialPeriodCondition.java | 2 +-
.../lima/beans/FinancialTransactionCondition.java | 2 +-
.../chorem/lima/beans/FiscalPeriodCondition.java | 2 +-
.../main/java/org/chorem/lima/beans/Labeled.java | 2 +-
.../org/chorem/lima/beans/LetteringCondition.java | 2 +-
.../org/chorem/lima/beans/VisitorCondition.java | 2 +-
.../org/chorem/lima/beans/VoucherCondition.java | 2 +-
.../java/org/chorem/lima/clause/AndClause.java | 2 +-
.../java/org/chorem/lima/clause/BooleanClause.java | 2 +-
.../main/java/org/chorem/lima/clause/Clause.java | 2 +-
.../java/org/chorem/lima/clause/DateClause.java | 2 +-
.../java/org/chorem/lima/clause/NotClause.java | 2 +-
.../java/org/chorem/lima/clause/NumberClause.java | 2 +-
.../main/java/org/chorem/lima/clause/OrClause.java | 2 +-
.../java/org/chorem/lima/clause/SetClause.java | 2 +-
.../java/org/chorem/lima/clause/StringClause.java | 2 +-
.../org/chorem/lima/clause/SubFilterClause.java | 2 +-
.../java/org/chorem/lima/clause/VisitorClause.java | 2 +-
.../org/chorem/lima/filter/AbstractFilter.java | 2 +-
.../java/org/chorem/lima/filter/AccountFilter.java | 2 +-
.../org/chorem/lima/filter/EntryBookFilter.java | 2 +-
.../java/org/chorem/lima/filter/EntryFilter.java | 2 +-
.../main/java/org/chorem/lima/filter/Filter.java | 2 +-
.../org/chorem/lima/filter/FilterGenerator.java | 2 +-
.../lima/filter/FinancialTransactionFilter.java | 2 +-
.../java/org/chorem/lima/filter/VisitorFilter.java | 2 +-
...ql => V0_8_6_0__1241_create_table_TREASURY.sql} | 52 +-
.../src/main/xmi/lima-callao-model.properties | 2 +-
lima-callao/src/main/xmi/lima-callao-model.zargo | Bin 57316 -> 61665 bytes
lima-report/pom.xml | 12 +-
lima-report/src/license/THIRD-PARTY.properties | 14 +-
.../chorem/lima/report/DocumentReportTypes.java | 1 +
.../java/org/chorem/lima/report/DocumentsEnum.java | 4 +-
.../org/chorem/lima/report/LimaReportConfig.java | 60 +-
.../lima/report/service/DocumentService.java | 321 ++++----
.../chorem/lima/report/service/JasperReports.java | 10 +
.../AccountEntry.jrxml} | 170 ++---
.../jasperreports/account/DocumentReport.jrxml | 266 +++++++
.../balance/BalanceReportAccountReport.jrxml | 18 +-
.../balance/BalanceSubAccountsReport.jrxml | 54 +-
.../jasperreports/balance/DocumentReport.jrxml | 387 ++++++----
.../jasperreports/entryBook/DocumentReport.jrxml | 394 +++++-----
.../jasperreports/entryBook/EntryBookReport.jrxml | 77 +-
.../entryBook/FinancialPeriodReport.jrxml | 191 +----
.../entryBook/TransactionReport.jrxml | 222 ++----
.../generalEntryBook/DocumentReport.jrxml | 478 ++++++------
.../generalEntryBook/EntryBookPeriodReport.jrxml | 54 +-
.../GeneralEntryBookEntryReport.jrxml | 11 +-
.../generalLedger/DocumentReport.jrxml | 406 +++++-----
.../generalLedger/GeneralLedgerEntryReport.jrxml | 204 ++---
.../generalLedger/GeneralLedgerReport.jrxml | 113 +--
.../src/main/resources/reports/vat_form_fr.pdf | Bin 222623 -> 244238 bytes
.../org/chorem/lima/report/action/ReportTest.java | 2 +-
lima-server/README.txt | 26 +-
lima-server/pom.xml | 3 +-
.../org/chorem/lima/server/HttpServerService.java | 55 +-
.../java/org/chorem/lima/server/LimaServer.java | 43 +-
.../org/chorem/lima/server/LimaServerConfig.java | 2 -
lima-swing/README.txt | 4 +-
lima-swing/pom.xml | 6 +-
lima-swing/src/license/THIRD-PARTY.properties | 5 +-
.../main/java/org/chorem/lima/LimaSwingConfig.java | 12 +-
.../org/chorem/lima/enums/AccountsChartEnum.java | 9 +-
.../chorem/lima/enums/VatStatementsChartEnum.java | 5 +-
.../AccountCondition/AccountConditionHandler.java | 14 +-
.../AccountCondition/AccountConditionView.css | 8 +-
.../AccountCondition/AccountConditionView.jaxx | 11 +-
.../BigDecimalConditionHandler.java | 2 +-
.../CreditConditionHandler.java | 2 +-
.../BigDecimalCondition/CreditConditionView.java | 2 +-
.../BigDecimalCondition/DebitConditionHandler.java | 2 +-
.../BigDecimalCondition/DebitConditionView.java | 2 +-
.../chorem/lima/ui/Filter/ConditionHandler.java | 2 +-
.../EntryBookConditionHandler.java | 2 +-
.../DescriptionConditionHandler.java | 2 +-
.../StringCondition/DescriptionConditionView.java | 2 +-
.../StringCondition/LetteringConditionHandler.java | 2 +-
.../StringCondition/LetteringConditionView.java | 2 +-
.../StringCondition/StringConditionHandler.java | 2 +-
.../StringCondition/VoucherConditionHandler.java | 2 +-
.../StringCondition/VoucherConditionView.java | 2 +-
.../Filter/dateCondition/DateConditionHandler.java | 21 +-
.../ui/Filter/dateCondition/DateConditionView.jaxx | 3 +-
.../DateIntervalConditionHandler.java | 21 +-
.../DateIntervalConditionView.jaxx | 13 +-
.../FinancialPeriodConditionHandler.java | 2 +-
.../FinancialTransactionConditionHandler.java | 2 +-
.../FiscalPeriodConditionHandler.java | 2 +-
.../src/main/java/org/chorem/lima/ui/MainView.css | 11 +-
.../src/main/java/org/chorem/lima/ui/MainView.jaxx | 4 +-
.../java/org/chorem/lima/ui/MainViewHandler.java | 42 +-
.../chorem/lima/ui/account/AccountViewHandler.java | 25 +-
.../lima/ui/celleditor/AccountTableCellEditor.java | 86 +--
.../ui/celleditor/AccountTableCellRenderer.java | 2 +-
.../ui/celleditor/AutoCompleteTableCellEditor.java | 2 +-
.../ui/celleditor/DateLimaTableCellRenderer.java | 6 +-
.../lima/ui/celleditor/DateTableCellEditor.java | 154 ----
.../celleditor/DayTableCellEditor.java} | 24 +-
.../celleditor/DefaultLimaTableCellRenderer.java | 2 +-
.../ui/celleditor/EntryBookTableCellRender.java | 2 +-
.../ui/celleditor/NumberSeparatorCellRenderer.java | 2 +-
.../NumberSeparatorTableCellRenderer.java | 2 +-
.../lima/ui/celleditor/StringTableCellEditor.java | 2 +-
.../lima/ui/celleditor/TableCellErrorDetector.java | 2 +-
...ountComboBoxModel.java => AccountComboBox.java} | 66 +-
.../lima/ui/combobox/AccountComboBoxModel.java | 98 ---
.../lima/ui/combobox/EntryBookComboBoxModel.java | 4 +-
.../ui/combobox/FiscalPeriodComboBoxModel.java | 4 +-
.../org/chorem/lima/ui/common/AbstractColumn.java | 2 +-
.../chorem/lima/ui/common/AbstractLimaTable.java | 4 +-
.../lima/ui/common/AbstractLimaTableModel.java | 2 +-
.../lima/ui/common/AccountComboBoxModel.java | 54 --
.../lima/ui/common/CellRouteHorizontalAction.java | 2 +-
.../lima/ui/common/CellRouteVerticalAction.java | 2 +-
.../java/org/chorem/lima/ui/common/Column.java | 2 +-
.../ui/common/FinancialPeriodListRenderer.java | 14 +-
.../ui/common/FinancialTransactionTableModel.java | 119 ++-
.../lima/ui/common/FiscalPeriodListRenderer.java | 21 +-
.../lima/ui/common/LabelListCellRenderer.java | 2 +-
.../chorem/lima/ui/common/TableModelWithGroup.java | 2 +-
.../lima/ui/entrybook/EntryBookViewHandler.java | 14 +-
.../FinancialPeriodErrorDetector.java | 2 +-
.../FinancialStatementChartViewHandler.java | 2 +-
.../ui/financialtransaction/AccountColumn.java | 57 +-
.../ui/financialtransaction/BalanceColumn.java | 37 +-
.../lima/ui/financialtransaction/CreditColumn.java | 2 +-
.../lima/ui/financialtransaction/DateColumn.java | 2 +-
.../lima/ui/financialtransaction/DayColumn.java | 6 +-
.../lima/ui/financialtransaction/DebitColumn.java | 2 +-
.../ui/financialtransaction/DescriptionColumn.java | 2 +-
.../ui/financialtransaction/EntryBookColumn.java | 2 +-
.../FinancialTransactionDefaultTable.java | 2 +-
.../FinancialTransactionErrorDetector.java | 2 +-
.../FinancialTransactionView.css | 28 +-
.../FinancialTransactionView.jaxx | 7 +-
.../FinancialTransactionViewHandler.java | 157 +++-
.../lima/ui/financialtransaction/LetterColumn.java | 2 +-
.../ui/financialtransaction/VoucherColumn.java | 2 +-
.../FinancialTransactionSearchTableModel.java | 12 +-
.../FiscalControlExportView.css} | 58 +-
.../FiscalControlExportView.jaxx | 85 +++
.../FiscalControlExportViewHandler.java | 229 ++++++
.../ui/fiscalperiod/FiscalPeriodErrorDetector.java | 2 +-
.../ui/fiscalperiod/FiscalPeriodViewHandler.java | 88 ++-
.../java/org/chorem/lima/ui/home/AccountsPane.java | 6 +-
.../org/chorem/lima/ui/home/EntryBooksPane.java | 8 +-
.../lima/ui/home/FinancialTransactionsPane.java | 6 +-
.../org/chorem/lima/ui/home/FiscalYearsPane.java | 10 +-
.../org/chorem/lima/ui/identity/IdentityForm.css | 161 +++-
.../org/chorem/lima/ui/identity/IdentityForm.jaxx | 281 ++++---
.../chorem/lima/ui/identity/IdentityHandler.java | 45 +-
.../chorem/lima/ui/importexport/ImportExport.java | 37 +-
.../lima/ui/lettering/LetteringEditModel.java | 105 ++-
...tionModel.java => LetteringSelectionModel.java} | 31 +-
.../lima/ui/lettering/LetteringTableModel.java | 38 +
.../org/chorem/lima/ui/lettering/LetteringView.css | 47 +-
.../chorem/lima/ui/lettering/LetteringView.jaxx | 68 +-
.../lima/ui/lettering/LetteringViewHandler.java | 247 +++---
.../org/chorem/lima/ui/lettering/TypeEntry.java | 8 +-
.../BackupPanel.css} | 10 +-
...{CreateEntryBookPanel.jaxx => BackupPanel.jaxx} | 8 +-
.../{OpeningView.css => BackupPanelHandler.java} | 42 +-
.../chorem/lima/ui/opening/CreateIdentityPanel.css | 10 +-
.../lima/ui/opening/CreateIdentityPanel.jaxx | 64 +-
.../ui/opening/CreateIdentityPanelHandler.java | 3 +-
.../org/chorem/lima/ui/opening/OpeningView.css | 11 +-
.../org/chorem/lima/ui/opening/OpeningView.jaxx | 28 +-
.../chorem/lima/ui/opening/OpeningViewHandler.java | 195 +++--
.../lima/ui/vatchart/VatChartMovementForm.css | 2 +
.../lima/ui/vatchart/VatChartMovementForm.jaxx | 19 +-
.../chorem/lima/ui/vatchart/VatChartTreeTable.java | 134 ----
.../lima/ui/vatchart/VatChartTreeTableModel.java | 226 ------
.../org/chorem/lima/ui/vatchart/VatChartView.jaxx | 26 +-
.../lima/ui/vatchart/VatChartViewHandler.java | 401 ++++++----
.../chorem/lima/ui/vatchart/VatChartViewModel.java | 191 +++++
.../org/chorem/lima/util/WrapToolBarLayout.java | 129 ++++
.../resources/i18n/lima-swing_en_GB.properties | 114 ++-
.../resources/i18n/lima-swing_fr_FR.properties | 96 ++-
.../icons/action-financialPeriod-close.png | Bin 715 -> 452 bytes
.../resources/icons/action-fiscalControlExport.png | Bin 0 -> 1244 bytes
lima-swing/src/main/resources/icons/backup.png | Bin 0 -> 4803 bytes
lima-swing/src/main/resources/icons/warning.png | Bin 0 -> 965 bytes
.../src/main/resources/import/pcg_developed.csv | 831 ++++++++++++++++++++-
lima-swing/src/main/resources/import/vat_base.csv | 114 +--
.../src/main/resources/import/vat_default.csv | 111 +--
.../src/main/resources/import/vat_developed.csv | 56 --
.../src/main/resources/import/vat_shortened.csv | 56 --
lima-swing/src/main/resources/lima-swing.config | 1 +
lima-swing/src/main/resources/log4j.properties | 2 +-
pom.xml | 51 +-
src/site/procedure.txt | 15 +
src/site/resources/extras/exemple_ecritures.csv | 162 ++--
src/site/resources/screens/export_ebp_1.png | Bin 114103 -> 94362 bytes
src/site/resources/screens/export_ebp_2.png | Bin 17856 -> 8139 bytes
src/site/resources/screens/export_ebp_3.png | Bin 71482 -> 54392 bytes
src/site/resources/screens/export_ebp_4.png | Bin 24204 -> 14348 bytes
src/site/resources/screens/export_ebp_5.png | Bin 30588 -> 14741 bytes
src/site/resources/screens/export_ebp_6.png | Bin 26990 -> 11937 bytes
src/site/resources/screens/export_ebp_7.png | Bin 17221 -> 6030 bytes
.../resources/screens/lima_charts_accounts.png | Bin 133980 -> 66178 bytes
.../resources/screens/lima_charts_entrybooks.png | Bin 43275 -> 34352 bytes
.../screens/lima_charts_financialperiod.png | Bin 136544 -> 55293 bytes
.../screens/lima_charts_financialstatement.png | Bin 92981 -> 53248 bytes
.../resources/screens/lima_charts_fiscalperiod.png | Bin 53467 -> 36434 bytes
src/site/resources/screens/lima_entries.png | Bin 140056 -> 37587 bytes
.../resources/screens/lima_financialstatement.png | Bin 71670 -> 66083 bytes
src/site/resources/screens/lima_home.png | Bin 50198 -> 36968 bytes
src/site/resources/screens/lima_import_charset.png | Bin 56032 -> 42025 bytes
src/site/resources/screens/lima_import_limaall.png | Bin 64072 -> 46841 bytes
.../resources/screens/lima_incorrectEntries.png | Bin 110247 -> 30473 bytes
src/site/resources/screens/lima_lettering.png | Bin 170873 -> 59893 bytes
src/site/resources/screens/lima_open_account.png | Bin 39308 -> 26602 bytes
src/site/resources/screens/lima_open_entrybook.png | Bin 31108 -> 21208 bytes
.../resources/screens/lima_open_fiscalperiod.png | Bin 28827 -> 19797 bytes
src/site/resources/screens/lima_open_identity.png | Bin 31849 -> 27903 bytes
src/site/resources/screens/lima_open_welcome.png | Bin 35463 -> 24208 bytes
.../resources/screens/lima_reports_accounts.png | Bin 64174 -> 38541 bytes
.../resources/screens/lima_reports_balance.png | Bin 56936 -> 34936 bytes
.../resources/screens/lima_reports_entrybooks.png | Bin 61887 -> 0 bytes
.../screens/lima_reports_financialstatement.png | Bin 57424 -> 0 bytes
src/site/resources/screens/lima_reports_ledger.png | Bin 57008 -> 0 bytes
src/site/resources/screens/lima_searchEntry.png | Bin 66603 -> 47531 bytes
.../resources/screens/lima_searchtransaction.png | Bin 93053 -> 0 bytes
src/site/rst/assistant.rst | 18 +-
src/site/rst/features.rst | 31 +-
src/site/rst/importexport.rst | 40 +-
src/site/rst/install.rst | 4 +-
src/site/site.xml | 14 +-
334 files changed, 9221 insertions(+), 5474 deletions(-)
create mode 100644 lima-business-api/src/main/java/org/chorem/lima/business/api/TreasuryService.java
copy lima-business-api/src/main/java/org/chorem/lima/business/api/report/{BalanceReportService.java => AccountReportService.java} (63%)
copy lima-business-api/src/main/java/org/chorem/lima/business/exceptions/{NotAllowedLabelException.java => AlreadyAffectedVatBoxException.java} (74%)
copy lima-business-api/src/main/java/org/chorem/lima/business/exceptions/{NotAllowedLabelException.java => RequiredFieldException.java} (74%)
create mode 100644 lima-business/src/main/java/org/chorem/lima/business/ejb/TreasuryServiceImpl.java
create mode 100644 lima-business/src/main/java/org/chorem/lima/business/ejb/csv/FiscalControlExportModel.java
create mode 100644 lima-business/src/main/java/org/chorem/lima/business/ejb/report/AccountReportServiceImpl.java
create mode 100644 lima-business/src/main/java/org/chorem/lima/business/ejb/report/CommonsDocumentReport.java
copy lima-callao/src/main/resources/db/migration/{V0_6_0_0__migration2.sql => V0_8_6_0__1241_create_table_TREASURY.sql} (50%)
copy lima-report/src/main/resources/jasperreports/{generalLedger/GeneralLedgerEntryReport.jrxml => account/AccountEntry.jrxml} (69%)
create mode 100644 lima-report/src/main/resources/jasperreports/account/DocumentReport.jrxml
delete mode 100644 lima-swing/src/main/java/org/chorem/lima/ui/celleditor/DateTableCellEditor.java
copy lima-swing/src/main/java/org/chorem/lima/{util/BigDecimalToString.java => ui/celleditor/DayTableCellEditor.java} (60%)
copy lima-swing/src/main/java/org/chorem/lima/ui/combobox/{LeafAccountComboBoxModel.java => AccountComboBox.java} (57%)
delete mode 100644 lima-swing/src/main/java/org/chorem/lima/ui/combobox/AccountComboBoxModel.java
delete mode 100644 lima-swing/src/main/java/org/chorem/lima/ui/common/AccountComboBoxModel.java
copy lima-swing/src/main/java/org/chorem/lima/ui/{financialtransactionunbalanced/FinancialTransactionUnbalancedView.css => fiscalControlExport/FiscalControlExportView.css} (51%)
create mode 100644 lima-swing/src/main/java/org/chorem/lima/ui/fiscalControlExport/FiscalControlExportView.jaxx
create mode 100644 lima-swing/src/main/java/org/chorem/lima/ui/fiscalControlExport/FiscalControlExportViewHandler.java
rename lima-swing/src/main/java/org/chorem/lima/ui/lettering/{LettringSelectionModel.java => LetteringSelectionModel.java} (82%)
copy lima-swing/src/main/java/org/chorem/lima/ui/{fiscalperiod/RetainedEarningsWait.css => opening/BackupPanel.css} (88%)
copy lima-swing/src/main/java/org/chorem/lima/ui/opening/{CreateEntryBookPanel.jaxx => BackupPanel.jaxx} (80%)
copy lima-swing/src/main/java/org/chorem/lima/ui/opening/{OpeningView.css => BackupPanelHandler.java} (61%)
delete mode 100644 lima-swing/src/main/java/org/chorem/lima/ui/vatchart/VatChartTreeTable.java
delete mode 100644 lima-swing/src/main/java/org/chorem/lima/ui/vatchart/VatChartTreeTableModel.java
create mode 100644 lima-swing/src/main/java/org/chorem/lima/ui/vatchart/VatChartViewModel.java
create mode 100644 lima-swing/src/main/java/org/chorem/lima/util/WrapToolBarLayout.java
create mode 100644 lima-swing/src/main/resources/icons/action-fiscalControlExport.png
create mode 100644 lima-swing/src/main/resources/icons/backup.png
create mode 100644 lima-swing/src/main/resources/icons/warning.png
delete mode 100644 lima-swing/src/main/resources/import/vat_developed.csv
delete mode 100644 lima-swing/src/main/resources/import/vat_shortened.csv
create mode 100644 src/site/procedure.txt
delete mode 100644 src/site/resources/screens/lima_reports_entrybooks.png
delete mode 100644 src/site/resources/screens/lima_reports_financialstatement.png
delete mode 100644 src/site/resources/screens/lima_reports_ledger.png
delete mode 100644 src/site/resources/screens/lima_searchtransaction.png
--
To stop receiving notification emails like this one, please contact
chorem.org SCM administrator <admin+scm(a)chorem.org>.
1
0
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 1c09d51 Migration sur gitlab + utilisation chorempom 5-rc-2
new 205012d refs #1182 valeur de clef de traduction manquante
new ce75d95 refs #1158 Il est de nouveau possible de créer une transaction sur une periode ou un exercice non clos
new 2bbb45e Merge branch 'feature/1158-Corriger-le-comportement-d-ajout-de-transaction' into develop
The 3 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 2bbb45e35b7b1f6410e5da3b158edca6b6fc063e
Merge: 1c09d51 ce75d95
Author: dcosse <cosse(a)codelutin.com>
Date: Wed Jan 20 18:47:58 2016 +0100
Merge branch 'feature/1158-Corriger-le-comportement-d-ajout-de-transaction' into develop
commit ce75d9536716f8bee8179994cf34f874634beeae
Author: dcosse <cosse(a)codelutin.com>
Date: Wed Jan 20 18:40:32 2016 +0100
refs #1158 Il est de nouveau possible de créer une transaction sur une periode ou un exercice non clos
commit 205012da03a170376e3c4d30eecd41989f6b704a
Author: dcosse <cosse(a)codelutin.com>
Date: Wed Jan 20 18:39:17 2016 +0100
refs #1182 valeur de clef de traduction manquante
Summary of changes:
.../FinancialTransactionViewHandler.java | 15 ++++++++++++++-
.../src/main/resources/i18n/lima-swing_fr_FR.properties | 2 +-
2 files changed, 15 insertions(+), 2 deletions(-)
--
To stop receiving notification emails like this one, please contact
chorem.org SCM administrator <admin+scm(a)chorem.org>.
1
3