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
- 1853 discussions
r3648 - trunk/lima-business/src/main/java/org/chorem/lima/business/ejb
by tchemit@users.chorem.org 18 Sep '12
by tchemit@users.chorem.org 18 Sep '12
18 Sep '12
Author: tchemit
Date: 2012-09-18 18:05:43 +0200 (Tue, 18 Sep 2012)
New Revision: 3648
Url: http://chorem.org/repositories/revision/lima/3648
Log:
refs #809: Patch rapports html (apply patch, thanks!)
Modified:
trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/DocumentServiceImpl.java
Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/DocumentServiceImpl.java
===================================================================
--- trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/DocumentServiceImpl.java 2012-09-18 15:59:06 UTC (rev 3647)
+++ trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/DocumentServiceImpl.java 2012-09-18 16:05:43 UTC (rev 3648)
@@ -132,9 +132,7 @@
try {
- financialReport = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n" +
- "<html>\n" +
- "<body>\n";
+ financialReport = constructHtmlHeader("");
//Split list by financialstatement type
List<List<FinancialStatementAmounts>> listList =
@@ -182,13 +180,13 @@
if (printedType == 0) {
String[] columnHeaderTable = {boldBegin+_("lima-business.document.label")+boldEnd, boldBegin+_("lima-business.document.grossamount")+boldEnd,
boldBegin+_("lima-business.document.provisiondeprecationamount")+boldEnd, boldBegin+_("lima-business.document.netamount")+boldEnd};
- financialReport += constructColumnsHtml(columnHeaderTable, "");
+ financialReport += constructTableLine(columnHeaderTable);
} else if (printedType == 1) {
String[] columnHeaderTable = {boldBegin+_("lima-business.document.label")+boldEnd, boldBegin+_("lima-business.document.amount")+boldEnd};
- financialReport += constructColumnsHtml(columnHeaderTable, "");
+ financialReport += constructTableLine(columnHeaderTable);
} else {
String[] columnHeaderTable = {boldBegin+_("lima-business.document.label")+boldEnd, boldBegin+_("lima-business.document.amount")+boldEnd};
- financialReport += constructColumnsHtml(columnHeaderTable, "");
+ financialReport += constructTableLine(columnHeaderTable);
}
for (FinancialStatementAmounts financialStatementAmount : subFinancialStatementAmounts) {
@@ -217,10 +215,10 @@
if (label == null) {
if (printedType == 0) {
String [] emptyColumn = {"","","",""};
- financialReport += constructColumnsHtml(emptyColumn, fontColor);
+ financialReport += constructTableLine(emptyColumn);
} else {
String [] emptyColumn = {"", ""};
- financialReport += constructColumnsHtml(emptyColumn, fontColor);
+ financialReport += constructTableLine(emptyColumn);
}
} else {
//cell1
@@ -257,14 +255,11 @@
if (printedType == 0) {
String [] columns = {tabLabel, grossAmountStr, provisionDeprecationAmountStr, soldeStr};
- financialReport += constructColumnsHtml(columns, "");
+ financialReport += constructTableLine(columns);
} else /*if (printedType == 1)*/ {
String [] columns = {tabLabel, soldeStr};
- financialReport += constructColumnsHtml(columns, "");
- } /*else {
- String [] columns = {tabLabel, grossAmountStr, provisionDeprecationAmountStr, soldeStr};
- financialReport += constructColumnsHtml(columns, "");
- }*/
+ financialReport += constructTableLine(columns);
+ }
}
}
i = i + max;
@@ -288,13 +283,10 @@
Date endDate) throws LimaException {
List<Object> list = new ArrayList<Object>();
- String ledgerReport = "";
- ledgerReport += "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n" +
- "<html>\n";
+ String ledgerReport = constructHtmlHeader(_("lima-business.document.ledger"));
if (beginDate != null && endDate != null) {
try {
- ledgerReport += "<body>\n";
String boldBegin = "<b>";
String boldEnd = "</b>";
@@ -335,22 +327,23 @@
String [] columnsCarryBack = {boldBegin + accountcarry + boldEnd, boldBegin + _("lima-business.document.carryback") + boldEnd,
boldBegin + currentAmountDebit.toString() + boldEnd, boldBegin + currentAmountCredit.toString() + boldEnd,
boldBegin + currentAmountDebit.subtract(currentAmountCredit).toString() + boldEnd};
- ledgerReport += constructColumnsHtml(columnsCarryBack, "");
+ ledgerReport += constructTableLine(columnsCarryBack);
}
- ledgerReport += "<table align=\"left\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"font-size:13px;\" >\n" +
- "<tr>\n";
+ ledgerReport += "<table align=\"left\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"font-size:13px;\" >\n";
- String [] columnsNames = {boldBegin + _("lima-business.document.account")+ boldEnd, boldBegin + _("lima-business.document.debit") + boldEnd,
- boldBegin + _("lima-business.document.credit") + boldEnd, boldBegin + _("lima-business.document.solde") + boldEnd};
- ledgerReport += constructColumnsHtml(columnsNames, "");
+ String [] columnsNames = {_("lima-business.document.account"), _("lima-business.document.debit"),
+ _("lima-business.document.credit"), _("lima-business.document.solde")};
+ ledgerReport += constructTableHeader(columnsNames);
+ ledgerReport += "<tbody>\n";
int indexEntry = -1;
+ boolean even = true;
for (Object object : subList) {
if (object instanceof ReportsDatas) {
if (indexEntry != -1) {
indexEntry = -1;
- ledgerReport += "</table>" +
+ ledgerReport += "</tbody></table>" +
"</td>" +
"</tr>";
}
@@ -364,10 +357,10 @@
BigDecimal amountCredit = reportsDatas.getAmountCredit();
BigDecimal amountDebit = reportsDatas.getAmountDebit();
- String [] columnsTable = {boldBegin + accountS + boldEnd,
- boldBegin + amountDebit.toString() + boldEnd, boldBegin + amountCredit.toString() + boldEnd,
- boldBegin + amountDebit.subtract(amountCredit).toString() + boldEnd};
- ledgerReport += constructColumnsHtml(columnsTable, "");
+ String [] columnsTable = {accountS,
+ amountDebit.toString(), amountCredit.toString(),
+ amountDebit.subtract(amountCredit).toString()};
+ ledgerReport += constructTableHeader(columnsTable);
} else {
indexEntry++;
@@ -388,20 +381,20 @@
ledgerReport +="<tr>";
if (indexEntry == 0) {
- ledgerReport += "<td><table align=\"right\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"font-size:13px;\" >\n" +
- "<tr>\n";
- String [] columnsEntry = {boldBegin + _("lima-business.document.date")+ boldEnd,
- boldBegin + _("lima-business.document.entrybook") + boldEnd, boldBegin + _("lima-business.document.voucher") + boldEnd,
- boldBegin + _("lima-business.document.description") + boldEnd, boldBegin + _("lima-business.document.debit") + boldEnd,
- boldBegin + _("lima-business.document.credit") + boldEnd, boldBegin + _("lima-business.document.solde") + boldEnd};
- ledgerReport += constructColumnsHtml(columnsEntry, "");
+ ledgerReport += "<td><table align=\"right\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"font-size:13px;\" >\n";
+ String [] columnsEntry = {_("lima-business.document.date"),
+ _("lima-business.document.entrybook"), _("lima-business.document.voucher"),
+ _("lima-business.document.description"), _("lima-business.document.debit"),
+ _("lima-business.document.credit"), _("lima-business.document.solde")};
+ ledgerReport += constructTableHeader(columnsEntry);
+ ledgerReport += "<tbody>";
}
String [] columnsTable = {_("lima-business.document.dateformat",entry.getFinancialTransaction().getTransactionDate()),
entryBookCode, entry.getVoucher(), entry.getDescription(),
amountDebit.toString(), amountCredit.toString(), amountDebit.subtract(amountCredit).toString()};
- ledgerReport += constructColumnsHtml(columnsTable, "");
- ledgerReport += "</tr>";
+ ledgerReport += constructTableLine(columnsTable, even);
+ even = !even;
}
}
@@ -427,18 +420,20 @@
String [] columnsTable = {"", boldBegin + _("lima-business.document.carryforward") + boldEnd,
boldBegin + currentAmountDebit.toString() + boldEnd, boldBegin + currentAmountCredit.toString() + boldEnd,
boldBegin + currentAmountDebit.subtract(currentAmountCredit).toString() + boldEnd};
- ledgerReport += constructColumnsHtml(columnsTable, "");
+ ledgerReport += constructTableLine(columnsTable, even);
+ even = !even;
}
//final amounts
if (i >= n - max) {
String [] columnsTable = { boldBegin + _("lima-business.document.amounts") + boldEnd,
boldBegin + currentAmountDebit.toString() + boldEnd, boldBegin + currentAmountCredit.toString() + boldEnd,
boldBegin + currentAmountDebit.subtract(currentAmountCredit).toString() + boldEnd};
- ledgerReport += constructColumnsHtml(columnsTable, "");
+ ledgerReport += constructTableLine(columnsTable, even);
+ even = !even;
}
i = i + max;
}
- ledgerReport += "</table></body>\n</html>";
+ ledgerReport += "</tbody></table></body>\n</html>";
}catch (Exception ex) {
log.error("Can't create document", ex);
}
@@ -452,12 +447,8 @@
String entryBookReport;
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("MMMMM yyyy");
try {
- entryBookReport = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n" +
- "<html>\n";
+ entryBookReport = constructHtmlHeader(_("lima-business.document.entrybooks"));
- String titre = _("lima-business.document.entrybooks");
- entryBookReport += constructHeadHtml(titre);
-
if (beginDate != null && endDate != null) {
ClosedPeriodicEntryBookDAO closedPeriodicEntryBookDAO =
@@ -468,7 +459,6 @@
List<ClosedPeriodicEntryBook> closedPeriodicEntryBookList =
closedPeriodicEntryBookDAO.findAllByDates(beginDate, endDate);
- entryBookReport += "<body>\n";
String journal = "";
for (ClosedPeriodicEntryBook closedPeriodicEntryBook : closedPeriodicEntryBookList) {
@@ -508,7 +498,7 @@
entryBookReport += constructSubTitleHtml("", subTitleSecPart);
}
- entryBookReport += "<p><table border=\"1\" width=\"100%\" cellpadding=\"3\" cellspacing=\"0\">\n" +
+ entryBookReport += "<table border=\"1\" width=\"100%\" cellpadding=\"3\" cellspacing=\"0\">\n" +
"<tr align=\"center\">\n";
String [] columnNames = {_("lima-business.document.date"), _("lima-business.document.accountnumber"),
@@ -516,7 +506,7 @@
_("lima-business.document.debit"),
_("lima-business.document.credit")};
- entryBookReport += constructColumnsHtml(columnNames, "");
+ entryBookReport += constructTableHeader(columnNames);
for (Entry entry : entries) {
String numaccount = null;
@@ -529,10 +519,10 @@
(entry.getDebit() ? entry.getAmount() : BigDecimal.ZERO).toString(),
(entry.getDebit() ? BigDecimal.ZERO : entry.getAmount()).toString()};
- entryBookReport += constructColumnsHtml(columnData, "");
+ entryBookReport += constructTableHeader(columnData);
}
String [] columnDataTotal = {"", "", "", _("lima-business.document.amounts"), debit.toString(), credit.toString()};
- entryBookReport += constructColumnsHtml(columnDataTotal, "");
+ entryBookReport += constructTableHeader(columnDataTotal);
entryBookReport += "</table></p>\n";
}
}
@@ -556,9 +546,7 @@
List<ReportsDatas> list = (List<ReportsDatas>) balanceTrial.getReportsDatas();
- String balanceReport = "";
- balanceReport += "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n" +
- "<html>\n";
+ String balanceReport = constructHtmlHeader(_("lima-business.document.balance"));
if (beginDate != null && endDate != null) {
try{
@@ -581,85 +569,15 @@
}
List<ReportsDatas> subList = list.subList(i, j);
- balanceReport += "<body>\n";
balanceReport += constructHeaderTitle(_("lima-business.document.balance"), beginDate, endDate);
- /*balanceReport += "<table>" +
- "<tr> " +
- "<td>" +
- "<table align=\"left\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"font-size:13px;\" >\n" +
- "<tr>\n";
+ balanceReport += "<table border=\"1\" width=\"100%\" cellpadding=\"3\" cellspacing=\"0\">\n";
- String boldItalicBegin = "<b>" + "<i>";
- String boldItalicEnd = "</i>" + "</b>";
-
- String [] columnsNameSociety = {boldItalicBegin + identity.getName()+ boldItalicEnd};
- balanceReport += constructColumnsHtml(columnsNameSociety, "");
-
- balanceReport += "<tr>\n";
- String [] columnsDescription = {"<i>" + identity.getDescription()+ "</i>"};
- balanceReport += constructColumnsHtml(columnsDescription, "");
-
- balanceReport += "<tr>\n";
- String [] columnsAdressOne = {"<i>" + identity.getAddress() + "</i>"};
- balanceReport += constructColumnsHtml(columnsAdressOne, "");
-
- balanceReport += "<tr>\n";
- String [] columnsAdressTwo = {"<i>" + identity.getAddress2() + "</i>"};
- balanceReport += constructColumnsHtml(columnsAdressTwo, "");
-
- balanceReport += "<tr>\n";
- String [] columnsZipCode = {"<i>" + identity.getZipCode() + "</i>"};
- balanceReport += constructColumnsHtml(columnsZipCode, "");
-
- balanceReport += "<tr>\n";
- String [] columnsCity = {"<i>" + identity.getCity()+ "</i>"};
- balanceReport += constructColumnsHtml(columnsCity, "");
-
- balanceReport += "</table>\n" +
- "</td>" +
- "<td valign=\"middle\" align=\"center\" style=\"width:100%\">" +
- "<p style=\"font-size:30px;\">" + _("lima-business.document.balance") + "</p>" +
- "</td>" +
- "<td>" +
- "<table align=\"right\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"font-size:13px;\" >\n";
-
- balanceReport += "<tr>\n";
- String [] columnsBusinessNumber = {boldItalicBegin + _("lima-business.document.businessnumber") +
- boldItalicEnd, "<i>" + identity.getBusinessNumber()+ "</i>"};
- balanceReport += constructColumnsHtml(columnsBusinessNumber, "");
-
- balanceReport += "<tr>\n";
- String [] columnsClassifCode = {boldItalicBegin + _("lima-business.document.classificationcode") +
- boldItalicEnd, "<i>" + identity.getClassificationCode()+ "</i>"};
- balanceReport += constructColumnsHtml(columnsClassifCode, "");
-
- balanceReport += "<tr>\n";
- String [] columnsVatNumber = {boldItalicBegin + _("lima-business.document.vatnumber") + boldItalicEnd,
- "<i>" + identity.getVatNumber()+ "</i>", };
- balanceReport += constructColumnsHtml(columnsVatNumber, "");
-
- balanceReport += "<tr>\n";
- String [] columnsPeriodOne = {boldItalicBegin + _("lima-business.document.period1") + boldItalicEnd, "<i>"
- + _("lima-business.document.period1format", beginDate)+ "</i>"};
- balanceReport += constructColumnsHtml(columnsPeriodOne, "");
-
- balanceReport += "<tr>\n";
- String [] columnsPeriodTwo = {boldItalicBegin + _("lima-business.document.period2") + boldItalicEnd, "<i>"
- + _("lima-business.document.period2format", endDate)+ "</i>"};
- balanceReport += constructColumnsHtml(columnsPeriodTwo, "");
-
- balanceReport += "</table>" +
- "</td>" +
- "</table>"*/
-
- balanceReport += "<table border=\"1\" width=\"100%\" cellpadding=\"3\" cellspacing=\"0\">\n" +
- "<tr align=\"center\">\n";
-
String [] columnsNames = {_("lima-business.document.accountnumber"), _("lima-business.document.description"),
_("lima-business.document.movementdebit"), _("lima-business.document.movementcredit"),
_("lima-business.document.soldedebit"), _("lima-business.document.soldecredit")};
- balanceReport += constructColumnsHtml(columnsNames, "");
+ balanceReport += constructTableHeader(columnsNames);
+ balanceReport += "\t\t<tbody>\n";
if (n > max) {
String boldBegin = "<b>";
@@ -667,10 +585,11 @@
String [] columnsBalanceAmount = {"", boldBegin + _("lima-business.document.carryback") + boldEnd,
boldBegin + currentAmountDebit.toString() + boldEnd, boldBegin + currentAmountCredit.toString() + boldEnd,
boldBegin + currentSoldeDebit.toString() + boldEnd,boldBegin + currentSoldeCredit.toString() + boldEnd};
- balanceReport += constructColumnsHtml(columnsBalanceAmount, "");
- balanceReport += "</table>\n";
+ balanceReport += constructTableLine(columnsBalanceAmount);
+ balanceReport += "</tbody></table>\n";
}
+ boolean even = true;
for (ReportsDatas reportsDatas : subList) {
String soldeDebit = String.valueOf(reportsDatas.getSoldeDebit() ? reportsDatas.getAmountSolde() : 0);
String soldeCredit = String.valueOf(reportsDatas.getSoldeDebit() ? 0 : reportsDatas.getAmountSolde());
@@ -678,7 +597,8 @@
String [] columnsBalanceAmount = {reportsDatas.getAccount().getAccountNumber(), reportsDatas.getAccount().getLabel(),
reportsDatas.getAmountDebit().toString(), reportsDatas.getAmountCredit().toString(),
soldeDebit, soldeCredit};
- balanceReport += constructColumnsHtml(columnsBalanceAmount, "");
+ balanceReport += constructTableLine(columnsBalanceAmount, even);
+ even = !even;
}
for (ReportsDatas reportsDatas : subList) {
@@ -697,8 +617,9 @@
String [] columnsBalanceAmount = {"", boldBegin + _("lima-business.document.carryforward") + boldEnd,
boldBegin + currentAmountDebit.toString() + boldEnd, boldBegin + currentAmountCredit.toString() + boldEnd,
boldBegin + currentSoldeDebit.toString() + boldEnd,boldBegin + currentSoldeCredit.toString() + boldEnd};
- balanceReport += constructColumnsHtml(columnsBalanceAmount, "");
- balanceReport += "</table>\n";
+ balanceReport += constructTableLine(columnsBalanceAmount, even);
+ even = !even;
+ balanceReport += "</tbody></table>\n";
}
//final amounts
@@ -708,8 +629,9 @@
String [] columnsBalanceAmount = {"", boldBegin + _("lima-business.document.amounts") + boldEnd,
boldBegin + currentAmountDebit.toString() + boldEnd, boldBegin + currentAmountCredit.toString() + boldEnd,
boldBegin + currentSoldeDebit.toString() + boldEnd,boldBegin + currentSoldeCredit.toString() + boldEnd};
- balanceReport += constructColumnsHtml(columnsBalanceAmount, "");
- balanceReport += "</table>\n";
+ balanceReport += constructTableLine(columnsBalanceAmount, even);
+ even = !even;
+ balanceReport += "</tbody></table>\n";
}
i = i + max;
}
@@ -731,13 +653,15 @@
String entryBookReport;
try {
- entryBookReport = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n" +
- "<html>\n";
+ entryBookReport = constructHtmlHeader(_("lima-business.document.entrybook"));
+ SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd MMMMM yyyy");
- String titre = _("lima-business.document.entrybook");
- entryBookReport += constructHeadHtml(titre);
-
if (beginDate != null && endDate != null) {
+ String subTitle = _("lima-business.document.period1") +
+ simpleDateFormat.format(beginDate) + " " +
+ _("lima-business.document.period2") +
+ simpleDateFormat.format(endDate);
+ entryBookReport += constructSubTitleHtml(subTitle);
FinancialPeriodDAO financialPeriodDAO =
getDaoHelper().getFinancialPeriodDAO();
@@ -815,16 +739,16 @@
generalEntryBooksDatas.setDebit(amountDebit);
list.add(generalEntryBooksDatas);
- entryBookReport += "<body>\n" +
- "<table border=\"1\" width=\"100%\" cellpadding=\"3\" cellspacing=\"0\">\n" +
- "<tr align=\"center\">\n";
+ entryBookReport += "<table border=\"1\" width=\"100%\" cellpadding=\"3\" cellspacing=\"0\">\n";
String[] columnNames = {_("lima-business.document.entrybook"), _("lima-business.document.label"),
_("lima-business.document.date"), _("lima-business.document.debit"),
_("lima-business.document.credit")};
- entryBookReport += constructColumnsHtml(columnNames, "");
+ entryBookReport += constructTableHeader(columnNames);
+ entryBookReport += "\t\t<tbody>\n";
String entryBookCode = "";
+ boolean even = true;
for (GeneralEntryBooksDatas generalEntryBooksDataInList : list) {
if (!generalEntryBooksDataInList.getDebit().equals(BigDecimal.ZERO) && !generalEntryBooksDataInList.getCredit().equals(BigDecimal.ZERO)) {
@@ -843,7 +767,8 @@
_("lima-business.document.monthformat", generalEntryBooksDataInList.getPeriod()),
generalEntryBooksDataInList.getDebit().toString(),
generalEntryBooksDataInList.getCredit().toString()};
- entryBookReport += constructColumnsHtml(columnData, "");
+ entryBookReport += constructTableLine(columnData, even);
+ even = !even;
} else {
String amount;
if (generalEntryBooksDataInList.getAmount()) {
@@ -851,14 +776,18 @@
} else {
amount = _("lima-business.document.amountsperiod", generalEntryBooksDataInList.getPeriod());
}
- String[] columnDataTotal = {"", "", "<b>"+ (StringUtils.isBlank(amount)?"":amount) + "</b>",
+ String[] columnDataTotal = {"", "", (StringUtils.isBlank(amount)?"":amount),
generalEntryBooksDataInList.getDebit().toString(),
generalEntryBooksDataInList.getCredit().toString()};
- entryBookReport += constructColumnsHtml(columnDataTotal, "");
+ entryBookReport += constructTableLine(columnDataTotal, even);
+ even = !even;
entryBookCode = "";
}
}
}
+ entryBookReport += "\t\t</tbody>\n" +
+ "\t</table>\n" +
+ "</body>\n</html>";
}
} catch (Exception ex) {
throw new LimaException("Can't generate document", ex);
@@ -954,10 +883,7 @@
Account accountFormat = accountDAO.findByTopiaId(account);
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd MMMMM yyyy");
- accountReport += "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n" +
- "<html>\n";
- String title = _("lima.reports.accounts");
- accountReport = constructHeadHtml(title);
+ accountReport = constructHtmlHeader(_("lima.reports.accounts"));
ReportsDatas results;
@@ -975,12 +901,12 @@
_("lima.table.voucher"), _("lima.table.description"), _("lima.table.letter"),
_("lima.table.debit"), _("lima.table.credit")};
- accountReport += "<body>\n" +
- "<table border=\"1\" width=\"100%\" cellpadding=\"3\" cellspacing=\"0\">\n" +
- "<tr align=\"center\">\n";
+ accountReport += "\t<table border=\"1\" width=\"100%\" cellpadding=\"3\" cellspacing=\"0\">\n";
- accountReport += constructColumnsHtml(columnNames, "");
-
+ accountReport += constructTableHeader(columnNames);
+ accountReport += "\t\t<tbody>\n";
+
+ boolean even = true;
for(Entry entry : entries) {
String accountNumber = entry.getAccount().getAccountNumber();
@@ -1000,11 +926,12 @@
(entry.getDebit() ? entry.getAmount() : BigDecimal.ZERO).toString(),
(entry.getDebit() ? BigDecimal.ZERO : entry.getAmount()).toString()};
- accountReport += constructColumnsHtml(columnData, "");
+ accountReport += constructTableLine(columnData, even);
+ even = !even;
}
- accountReport += "</table>\n" +
- "</body>\n";
+ accountReport += "\t\t</tbody>\n\t</table>\n" +
+ "</body>\n";
} else {
JOptionPane.showMessageDialog(null, _("lima.reports.account.noaccount"), _("lima.reports.account.noaccounttitle"), JOptionPane.INFORMATION_MESSAGE);
@@ -1022,45 +949,59 @@
return accountReport;
}
- protected String constructHeadHtml(String title) {
- String head =
- "<head>\n" +
- "<title>"+title+"</title>\n" +
- "</head>\n" +
- "<p align=\"center\">" +
- "<font size=5>\n" +
- title +
- "</font>\n" +
- "</p>\n" +
- "<p>";
-
+ protected String constructHtmlHeader(String title) {
+ String head = "<!DOCTYPE html>\n" +
+ "<html>\n" +
+ "<head>\n" +
+ "\t<meta charset=\"UTF-8\" />\n" +
+ "\t<title>" + title + "</title>\n" +
+ "</head>\n" +
+ "<body>\n" +
+ "\t<h1>" + title + "</h1>\n";
return head;
}
+ protected String constructSubTitleHtml(String subTitle) {
+ return "\t<h2>" + subTitle + "</h2>\n";
+ }
+
protected String constructSubTitleHtml(String subTitleFirstpart, String subTitleSecPart) {
- String subTitle = "<font size=3>\n" +
+ String subTitle = "\t<h2>\n" +
subTitleFirstpart +
- "</p>\n" +
- "<p>" +
+ "<br/>\n" +
subTitleSecPart +
- "</font>"+
- "</p>";
+ "</h2>\n";
return subTitle;
}
- protected String constructColumnsHtml(String[] columnsNames, String fontColor) {
-
- String columns = "";
-
+ protected String constructTableHeader(String[] columnsNames) {
+ String header = "\t\t<thead>\n\t\t\t<tr>\n";
for (String name : columnsNames) {
- columns += "<td style=\"background-color:"+fontColor+";\">" + name + "</td>\n";
+ header += "\t\t\t\t<th>" + name + "</th>\n";
}
- columns += "<tr>\n";
+ header += "\t\t\t</tr>\t\t\n</thead>\n";
+ return header;
+ }
-
- return columns;
+ protected String constructTableLine(String[] cells, boolean even) {
+ String style = even ? "line_even" : "line_odd";
+ String line = "\t\t<tr class=\"" + style + "\">\n";
+ for (String cell : cells) {
+ line += "\t\t\t<td>" + cell + "</td>\n";
+ }
+ line += "\t\t</tr>\n";
+ return line;
}
+
+ protected String constructTableLine(String[] cells) {
+ String line = "\t\t<tr>\n";
+ for (String cell : cells) {
+ line += "\t\t\t<td>" + cell + "</td>\n";
+ }
+ line += "\t\t</tr>\n";
+ return line;
+ }
protected String constructHeaderTitle(String title, Date beginDate, Date endDate) {
String headerTitle = "";
@@ -1076,59 +1017,47 @@
String boldItalicEnd = "</i>" + "</b>";
String [] columnsNameSociety = {boldItalicBegin + identity.getName()+ boldItalicEnd};
- headerTitle += constructColumnsHtml(columnsNameSociety, "");
+ headerTitle += constructTableLine(columnsNameSociety);
- headerTitle += "<tr>\n";
String [] columnsDescription = {"<i>" + identity.getDescription()+ "</i>"};
- headerTitle += constructColumnsHtml(columnsDescription, "");
+ headerTitle += constructTableLine(columnsDescription);
- headerTitle += "<tr>\n";
String [] columnsAdressOne = {"<i>" + identity.getAddress() + "</i>"};
- headerTitle += constructColumnsHtml(columnsAdressOne, "");
- headerTitle += "<tr>\n";
+ headerTitle += constructTableLine(columnsAdressOne);
String [] columnsAdressTwo = {"<i>" + identity.getAddress2() + "</i>"};
- headerTitle += constructColumnsHtml(columnsAdressTwo, "");
+ headerTitle += constructTableLine(columnsAdressTwo);
- headerTitle += "<tr>\n";
String [] columnsZipCode = {"<i>" + identity.getZipCode() + "</i>"};
- headerTitle += constructColumnsHtml(columnsZipCode, "");
+ headerTitle += constructTableLine(columnsZipCode);
- headerTitle += "<tr>\n";
String [] columnsCity = {"<i>" + identity.getCity()+ "</i>"};
- headerTitle += constructColumnsHtml(columnsCity, "");
+ headerTitle += constructTableLine(columnsCity);
headerTitle += "</table>\n" +
"</td>" +
- "<td valign=\"middle\" align=\"center\" style=\"width:100%\">" +
- "<p style=\"font-size:30px;\">" + title + "</p>" +
- "</td>" +
"<td>" +
"<table align=\"right\" border=\"1\" cellpadding=\"3\" cellspacing=\"0\" style=\"font-size:13px;\" >\n";
- headerTitle += "<tr>\n";
String [] columnsBusinessNumber = {boldItalicBegin + _("lima-business.document.businessnumber") +
boldItalicEnd, "<i>" + identity.getBusinessNumber()+ "</i>"};
- headerTitle += constructColumnsHtml(columnsBusinessNumber, "");
+ headerTitle += constructTableLine(columnsBusinessNumber);
- headerTitle += "<tr>\n";
String [] columnsClassifCode = {boldItalicBegin + _("lima-business.document.classificationcode") +
boldItalicEnd, "<i>" + identity.getClassificationCode()+ "</i>"};
- headerTitle += constructColumnsHtml(columnsClassifCode, "");
+ headerTitle += constructTableLine(columnsClassifCode);
- headerTitle += "<tr>\n";
String [] columnsVatNumber = {boldItalicBegin + _("lima-business.document.vatnumber") + boldItalicEnd,
"<i>" + identity.getVatNumber()+ "</i>", };
- headerTitle += constructColumnsHtml(columnsVatNumber, "");
+ headerTitle += constructTableLine(columnsVatNumber);
- headerTitle += "<tr>\n";
String [] columnsPeriodOne = {boldItalicBegin + _("lima-business.document.period1") + boldItalicEnd, "<i>"
+ _("lima-business.document.period1format", beginDate)+ "</i>"};
- headerTitle += constructColumnsHtml(columnsPeriodOne, "");
+ headerTitle += constructTableLine(columnsPeriodOne);
headerTitle += "<tr>\n";
String [] columnsPeriodTwo = {boldItalicBegin + _("lima-business.document.period2") + boldItalicEnd, "<i>"
+ _("lima-business.document.period2format", endDate)+ "</i>"};
- headerTitle += constructColumnsHtml(columnsPeriodTwo, "");
+ headerTitle += constructTableLine(columnsPeriodTwo);
headerTitle += "</table>" +
"</td>" +
1
0
r3647 - in trunk/lima-swing/src/main/java/org/chorem/lima/ui: . financialtransaction financialtransactionsearch financialtransactionunbalanced lettering
by tchemit@users.chorem.org 18 Sep '12
by tchemit@users.chorem.org 18 Sep '12
18 Sep '12
Author: tchemit
Date: 2012-09-18 17:59:06 +0200 (Tue, 18 Sep 2012)
New Revision: 3647
Url: http://chorem.org/repositories/revision/lima/3647
Log:
fixes #810: Patch affichage du nom de compte (using Decorator API)
Modified:
trunk/lima-swing/src/main/java/org/chorem/lima/ui/LimaDecoratorProvider.java
trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionTableModel.java
trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchTableModel.java
trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunbalanced/FinancialTransactionUnbalancedTableModel.java
trunk/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringTableModel.java
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/LimaDecoratorProvider.java
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/LimaDecoratorProvider.java 2012-09-18 15:51:37 UTC (rev 3646)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/LimaDecoratorProvider.java 2012-09-18 15:59:06 UTC (rev 3647)
@@ -24,9 +24,11 @@
*/
package org.chorem.lima.ui;
+import org.chorem.lima.entity.Account;
import org.chorem.lima.entity.EntryBook;
import org.chorem.lima.entity.FinancialPeriod;
import org.chorem.lima.entity.FiscalPeriod;
+import org.nuiton.util.decorator.Decorator;
import org.nuiton.util.decorator.DecoratorProvider;
/**
@@ -41,6 +43,7 @@
protected void loadDecorators() {
registerJXPathDecorator(EntryBook.class, "${code}$s - ${label}$s");
+ registerJXPathDecorator(Account.class, "${accountNumber}$s - ${label}$s");
registerMultiJXPathDecorator(
FiscalPeriod.class,
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionTableModel.java
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionTableModel.java 2012-09-18 15:51:37 UTC (rev 3646)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionTableModel.java 2012-09-18 15:59:06 UTC (rev 3647)
@@ -27,11 +27,14 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.chorem.lima.LimaContext;
import org.chorem.lima.business.api.FinancialTransactionService;
import org.chorem.lima.entity.Account;
import org.chorem.lima.entity.Entry;
import org.chorem.lima.entity.FinancialTransaction;
import org.chorem.lima.service.LimaServiceFactory;
+import org.nuiton.util.decorator.Decorator;
+import org.nuiton.util.decorator.DecoratorProvider;
import javax.swing.table.AbstractTableModel;
import java.math.BigDecimal;
@@ -59,8 +62,18 @@
protected List<Object> transactionAndEntries;
+ /**
+ * To decorate account objects.
+ */
+ protected final Decorator<Account> accountDecorator;
+
public FinancialTransactionTableModel() {
- financialTransactionService = LimaServiceFactory.getService(FinancialTransactionService.class);
+ financialTransactionService =
+ LimaServiceFactory.getService(FinancialTransactionService.class);
+
+ DecoratorProvider decoratorProvider =
+ LimaContext.get().getDecoratorProvider();
+ accountDecorator = decoratorProvider.getDecoratorByType(Account.class);
}
public void setTransactionAndEntries(List<Object> transactionAndEntries) {
@@ -190,12 +203,11 @@
result = currentEntry.getVoucher();
break;
case 2: // account
- if (currentEntry.getAccount() != null) {
+ if (currentEntry.getAccount() == null) {
+ result = null;
+ } else {
Account acc = currentEntry.getAccount();
- result = acc.getAccountNumber() + " - "
- + acc.getLabel();
- } else {
- result = null;
+ result = accountDecorator.toString(acc);
}
break;
case 3:
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchTableModel.java
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchTableModel.java 2012-09-18 15:51:37 UTC (rev 3646)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchTableModel.java 2012-09-18 15:59:06 UTC (rev 3647)
@@ -37,6 +37,7 @@
import org.apache.commons.lang3.time.DateUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.chorem.lima.LimaContext;
import org.chorem.lima.beans.FinancialTransactionSearch;
import org.chorem.lima.business.ServiceListener;
import org.chorem.lima.business.api.FinancialPeriodService;
@@ -50,6 +51,8 @@
import org.chorem.lima.entity.FinancialTransactionImpl;
import org.chorem.lima.entity.FiscalPeriod;
import org.chorem.lima.service.LimaServiceFactory;
+import org.nuiton.util.decorator.Decorator;
+import org.nuiton.util.decorator.DecoratorProvider;
/**
* Basic transaction table model.
@@ -86,7 +89,12 @@
protected List<Object> cacheDataList;
+ /**
+ * To decorate account objects.
+ */
+ protected final Decorator<Account> accountDecorator;
+
/**
* Model constructor.
* <p/>
@@ -101,6 +109,9 @@
financialPeriodService =
LimaServiceFactory.getService(
FinancialPeriodService.class);
+ DecoratorProvider decoratorProvider =
+ LimaContext.get().getDecoratorProvider();
+ accountDecorator = decoratorProvider.getDecoratorByType(Account.class);
}
/**
@@ -280,12 +291,11 @@
result = currentEntry.getVoucher(); //Voucher
break;
case 3: // account
- if (currentEntry.getAccount() != null) {
+ if (currentEntry.getAccount() == null) {
+ result = null;
+ } else {
Account acc = currentEntry.getAccount();
- result = acc.getAccountNumber() + " - "
- + acc.getLabel();
- } else {
- result = null;
+ result = accountDecorator.toString(acc);
}
break;
case 4:
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunbalanced/FinancialTransactionUnbalancedTableModel.java
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunbalanced/FinancialTransactionUnbalancedTableModel.java 2012-09-18 15:51:37 UTC (rev 3646)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunbalanced/FinancialTransactionUnbalancedTableModel.java 2012-09-18 15:59:06 UTC (rev 3647)
@@ -35,6 +35,7 @@
import javax.swing.table.AbstractTableModel;
+import org.chorem.lima.LimaContext;
import org.chorem.lima.business.ServiceListener;
import org.chorem.lima.business.api.FinancialTransactionService;
import org.chorem.lima.business.utils.EntryComparator;
@@ -45,6 +46,8 @@
import org.chorem.lima.entity.FinancialTransaction;
import org.chorem.lima.entity.FiscalPeriod;
import org.chorem.lima.service.LimaServiceFactory;
+import org.nuiton.util.decorator.Decorator;
+import org.nuiton.util.decorator.DecoratorProvider;
/**
* Basic transaction table model.
@@ -53,10 +56,6 @@
*
* @author ore
* @author chatellier
- * @version $Revision$
- * <p/>
- * Last update : $Date$
- * By : $Author$
*/
public class FinancialTransactionUnbalancedTableModel extends AbstractTableModel implements ServiceListener {
@@ -73,20 +72,19 @@
protected List<Object> cacheDataList;
/**
- * collection
- * <p/>
- * <p/>
- * /**
- * Model constructor.
- * <p/>
- * Just init service proxies.
+ * To decorate account objects.
*/
+ protected final Decorator<Account> accountDecorator;
+
public FinancialTransactionUnbalancedTableModel() {
- /* Services */
financialTransactionService =
LimaServiceFactory.getService(
FinancialTransactionService.class);
LimaServiceFactory.addServiceListener(financialTransactionService, this);
+
+ DecoratorProvider decoratorProvider =
+ LimaContext.get().getDecoratorProvider();
+ accountDecorator = decoratorProvider.getDecoratorByType(Account.class);
}
/**
@@ -268,12 +266,11 @@
result = currentEntry.getVoucher();
break;
case 3: // account
- if (currentEntry.getAccount() != null) {
- Account acc = currentEntry.getAccount();
- result = acc.getAccountNumber() + " - "
- + acc.getLabel();
- } else {
+ if (currentEntry.getAccount() == null) {
result = null;
+ } else {
+ Account acc = currentEntry.getAccount();
+ result = accountDecorator.toString(acc);
}
break;
case 4:
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringTableModel.java
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringTableModel.java 2012-09-18 15:51:37 UTC (rev 3646)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringTableModel.java 2012-09-18 15:59:06 UTC (rev 3647)
@@ -25,8 +25,12 @@
package org.chorem.lima.ui.lettering;
+import org.chorem.lima.LimaContext;
import org.chorem.lima.entity.Account;
import org.chorem.lima.entity.Entry;
+import org.nuiton.util.decorator.Decorator;
+import org.nuiton.util.decorator.DecoratorProvider;
+
import javax.swing.table.AbstractTableModel;
import java.math.BigDecimal;
import java.util.Date;
@@ -42,10 +46,6 @@
*
* @author ore
* @author chatellier
- * @version $Revision$
- * <p/>
- * Last update : $Date$
- * By : $Author$
*/
public class LetteringTableModel extends AbstractTableModel{
@@ -62,6 +62,17 @@
protected List<Date> datesEntree;
protected List<String> entryBooks;
+ /**
+ * To decorate account objects.
+ */
+ protected final Decorator<Account> accountDecorator;
+
+ public LetteringTableModel() {
+ DecoratorProvider decoratorProvider =
+ LimaContext.get().getDecoratorProvider();
+ accountDecorator = decoratorProvider.getDecoratorByType(Account.class);
+ }
+
public List<Entry> getEntries(){
return entries;
}
@@ -188,10 +199,9 @@
case 0:
result = datesEntree.get(row); // date
break;
- case 1:
+ case 1: // account
Account acc = currentEntry.getAccount();
- result = acc.getAccountNumber() + " - "
- + acc.getLabel();
+ result = accountDecorator.toString(acc);
break;
case 2:
result = currentEntry.getVoucher();
1
0
r3646 - in trunk/lima-swing/src/main/java/org/chorem/lima/ui: financialtransaction financialtransactionsearch financialtransactionunbalanced lettering
by tchemit@users.chorem.org 18 Sep '12
by tchemit@users.chorem.org 18 Sep '12
18 Sep '12
Author: tchemit
Date: 2012-09-18 17:51:37 +0200 (Tue, 18 Sep 2012)
New Revision: 3646
Url: http://chorem.org/repositories/revision/lima/3646
Log:
refs #810: Patch affichage du nom de compte
Modified:
trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionTableModel.java
trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchTableModel.java
trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunbalanced/FinancialTransactionUnbalancedTableModel.java
trunk/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringTableModel.java
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionTableModel.java
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionTableModel.java 2012-09-18 15:41:42 UTC (rev 3645)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionTableModel.java 2012-09-18 15:51:37 UTC (rev 3646)
@@ -150,6 +150,7 @@
Object result = transactionAndEntries.get(row);
if (result instanceof FinancialTransaction) {
+ // Transaction "header" line
FinancialTransaction currentRow = (FinancialTransaction) result;
BigDecimal amountDebit = currentRow.getAmountDebit();
BigDecimal amountCredit = currentRow.getAmountCredit();
@@ -178,6 +179,7 @@
break;
}
} else if (result instanceof Entry) {
+ // Transaction content line
Entry currentEntry = (Entry) result;
switch (column) {
@@ -189,7 +191,9 @@
break;
case 2: // account
if (currentEntry.getAccount() != null) {
- result = currentEntry.getAccount().getAccountNumber();
+ Account acc = currentEntry.getAccount();
+ result = acc.getAccountNumber() + " - "
+ + acc.getLabel();
} else {
result = null;
}
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchTableModel.java
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchTableModel.java 2012-09-18 15:41:42 UTC (rev 3645)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionsearch/FinancialTransactionSearchTableModel.java 2012-09-18 15:51:37 UTC (rev 3646)
@@ -281,7 +281,9 @@
break;
case 3: // account
if (currentEntry.getAccount() != null) {
- result = currentEntry.getAccount().getAccountNumber();
+ Account acc = currentEntry.getAccount();
+ result = acc.getAccountNumber() + " - "
+ + acc.getLabel();
} else {
result = null;
}
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunbalanced/FinancialTransactionUnbalancedTableModel.java
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunbalanced/FinancialTransactionUnbalancedTableModel.java 2012-09-18 15:41:42 UTC (rev 3645)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/financialtransactionunbalanced/FinancialTransactionUnbalancedTableModel.java 2012-09-18 15:51:37 UTC (rev 3646)
@@ -216,6 +216,7 @@
result = cacheDataList.get(row);
if (result instanceof FinancialTransaction) {
+ // Values for a transaction "header"
FinancialTransaction currentRow = (FinancialTransaction) result;
BigDecimal amountDebit = currentRow.getAmountDebit();
BigDecimal amountCredit = currentRow.getAmountCredit();
@@ -254,12 +255,13 @@
break;
}
} else if (result instanceof Entry) {
+ // Values for transaction content
Entry currentEntry = (Entry) result;
switch (column) {
case 0:
- result = null; // date
+ result = null; // date, set in header
break;
- case 1: // entry book
+ case 1: // entry book, set in header
result = null;
break;
case 2:
@@ -267,7 +269,9 @@
break;
case 3: // account
if (currentEntry.getAccount() != null) {
- result = currentEntry.getAccount().getAccountNumber();
+ Account acc = currentEntry.getAccount();
+ result = acc.getAccountNumber() + " - "
+ + acc.getLabel();
} else {
result = null;
}
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringTableModel.java
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringTableModel.java 2012-09-18 15:41:42 UTC (rev 3645)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/lettering/LetteringTableModel.java 2012-09-18 15:51:37 UTC (rev 3646)
@@ -189,7 +189,9 @@
result = datesEntree.get(row); // date
break;
case 1:
- result = currentEntry.getAccount().getAccountNumber();
+ Account acc = currentEntry.getAccount();
+ result = acc.getAccountNumber() + " - "
+ + acc.getLabel();
break;
case 2:
result = currentEntry.getVoucher();
1
0
Author: tchemit
Date: 2012-09-18 17:41:42 +0200 (Tue, 18 Sep 2012)
New Revision: 3645
Url: http://chorem.org/repositories/revision/lima/3645
Log:
refs #687: Patch textes (clef i18n en double)
Modified:
trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties
Modified: trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties
===================================================================
--- trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2012-09-18 15:10:23 UTC (rev 3644)
+++ trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2012-09-18 15:41:42 UTC (rev 3645)
@@ -229,7 +229,6 @@
lima.ui.common.error=Erreur
lima.ui.common.ok=Ok
lima.ui.common.refresh=Actualiser
-lima.ui.common.refresh=Rafraîchir
lima.ui.common.remove=Supprimer
lima.ui.common.solde=Solde
lima.ui.common.update=Modifier
@@ -328,7 +327,6 @@
lima.ui.importexport.importcsv=Import/Export CSV
lima.ui.importexport.importebp=Import/Export EBP
lima.ui.importexport.importerror=Une erreur est survenue lors de l'import
-lima.ui.importexport.importerror=Echec de l'import
lima.ui.importexport.importtitle=Erreur d'import
lima.ui.importexport.vatstatements=Plan TVA
lima.ui.importexport.wait=Traitement en cours…
1
0
r3644 - in trunk: . lima-swing/src/main/java/org/chorem/lima/ui/home lima-swing/src/main/resources/i18n
by tchemit@users.chorem.org 18 Sep '12
by tchemit@users.chorem.org 18 Sep '12
18 Sep '12
Author: tchemit
Date: 2012-09-18 17:10:23 +0200 (Tue, 18 Sep 2012)
New Revision: 3644
Url: http://chorem.org/repositories/revision/lima/3644
Log:
add C?\195?\169dric as contributor
fixes #687: Patch textes (patch apply, thanks!)
Modified:
trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FinancialTransactionsPane.java
trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties
trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties
trunk/pom.xml
Modified: trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FinancialTransactionsPane.java
===================================================================
--- trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FinancialTransactionsPane.java 2012-09-18 14:56:35 UTC (rev 3643)
+++ trunk/lima-swing/src/main/java/org/chorem/lima/ui/home/FinancialTransactionsPane.java 2012-09-18 15:10:23 UTC (rev 3644)
@@ -101,26 +101,26 @@
log.debug("Rafraîchissement financial transaction pane");
String htmlBegin = "<font face='sans-serif' size=3>"
- + "<p style=vertical-align:'bottom', horizontal-align:'center'>";
+ + "<p style=vertical-align:'bottom', horizontal-align:'center'>";
String htmlEnd = "</p></font>";
try {
List<FiscalPeriod> unblockedFiscalPeriods =
- fiscalPeriodService.getAllUnblockedFiscalPeriods();
+ fiscalPeriodService.getAllUnblockedFiscalPeriods();
List<EntryBook> entryBooks = entryBookService.getAllEntryBooks();
//Au moins un exercice ouvert et un journal ouvert
if (unblockedFiscalPeriods.size() != 0 && entryBooks.size() != 0) {
- List<FinancialTransaction> financialTransactionsUnbal =
- financialTransactionService.
- getAllInexactFinancialTransactions(unblockedFiscalPeriods.get(0));
- if (financialTransactionsUnbal.size() > 0) {
+ List<FinancialTransaction> financialTransactionsInexact =
+ financialTransactionService.
+ getAllInexactFinancialTransactions(unblockedFiscalPeriods.get(0));
+ if (financialTransactionsInexact.size() > 0) {
setBackground(RED_BACKGROUND);
- String transactionsString = financialTransactionsUnbal.size()
- + " " + _("lima.ui.home.transaction.unbalanced")
+ String transactionsString = financialTransactionsInexact.size()
+ + " " + _("lima.ui.home.transaction.inexact")
+ "<br/><br/><a href='#financialtransactionunbalanced'>"
- + _("lima.ui.home.transaction.modifiy.unbalanced") + "</a>";
+ + _("lima.ui.home.transaction.modifiy.inexact") + "</a>";
//set Text
setText(htmlBegin + transactionsString + htmlEnd);
} else {
Modified: trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties
===================================================================
--- trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties 2012-09-18 14:56:35 UTC (rev 3643)
+++ trunk/lima-swing/src/main/resources/i18n/lima-swing_en_GB.properties 2012-09-18 15:10:23 UTC (rev 3644)
@@ -170,7 +170,7 @@
lima.message.help.usage=Options (set with --option <key> <value>\:
lima.misc.supportemail.description=Support email
lima.openejb.remotemode.description=
-lima.opening.accounts=
+lima.opening.accounts=Import accounts from\:
lima.preferences=Preferences
lima.reports=Reports
lima.reports.account.noaccount=
@@ -226,13 +226,13 @@
lima.ui.account.updateaccounttitle=
lima.ui.common.amountcredit=
lima.ui.common.amountdebit=
-lima.ui.common.cancel=
-lima.ui.common.error=
-lima.ui.common.ok=
-lima.ui.common.refresh=
-lima.ui.common.remove=
+lima.ui.common.cancel=Cancel
+lima.ui.common.error=Error
+lima.ui.common.ok=Ok
+lima.ui.common.refresh=Refresh
+lima.ui.common.remove=Remove
lima.ui.common.solde=
-lima.ui.common.update=
+lima.ui.common.update=Update
lima.ui.entrybook.add=
lima.ui.entrybook.code=
lima.ui.entrybook.default=
@@ -285,32 +285,32 @@
lima.ui.fiscalperiod.entrybooks.create=
lima.ui.fiscalperiod.fiscalperiod=
lima.ui.fiscalperiod.open=
-lima.ui.home.account=
-lima.ui.home.chartaccounts.create=
-lima.ui.home.chartaccounts.modify=
-lima.ui.home.chartaccounts.nothing=
-lima.ui.home.chartaccounts.state1_2=
-lima.ui.home.chartaccounts.state2_2=
-lima.ui.home.daily=
-lima.ui.home.entrybooks=
-lima.ui.home.entrybooks.create=
-lima.ui.home.entrybooks.modify=
-lima.ui.home.entrybooks.nothing=
-lima.ui.home.entrybooks.state.single=
-lima.ui.home.entrybooks.state1_2.plural=
-lima.ui.home.entrybooks.state2_2.plural=
+lima.ui.home.account=Chart of accounts
+lima.ui.home.chartaccounts.create=Create the chart of accounts
+lima.ui.home.chartaccounts.modify=Edit the chart of accounts
+lima.ui.home.chartaccounts.nothing=No account set\!
+lima.ui.home.chartaccounts.state1_2=The chart of accounts has
+lima.ui.home.chartaccounts.state2_2=accounts
+lima.ui.home.daily=Daily tasks
+lima.ui.home.entrybooks=Books
+lima.ui.home.entrybooks.create=Create books
+lima.ui.home.entrybooks.modify=Edit books
+lima.ui.home.entrybooks.nothing=No book
+lima.ui.home.entrybooks.state.single=The book is\:
+lima.ui.home.entrybooks.state1_2.plural=The
+lima.ui.home.entrybooks.state2_2.plural=books are\:
lima.ui.home.fiscalperiod.closed=
lima.ui.home.fiscalperiod.create=
lima.ui.home.fiscalperiod.modify=
lima.ui.home.fiscalperiod.noopen=
lima.ui.home.fiscalperiod.opened=
-lima.ui.home.fiscalyear=
-lima.ui.home.transaction.balanced=
-lima.ui.home.transaction.create=
-lima.ui.home.transaction.modifiy.balanced=
-lima.ui.home.transaction.modifiy.unbalanced=
-lima.ui.home.transaction.nothing=
-lima.ui.home.transaction.unbalanced=
+lima.ui.home.fiscalyear=Fiscal year
+lima.ui.home.transaction.balanced=moves, all balanced
+lima.ui.home.transaction.create=Add moves
+lima.ui.home.transaction.inexact=moves are not valid\!
+lima.ui.home.transaction.modifiy.balanced=Edit moves
+lima.ui.home.transaction.modifiy.inexact=Edit incorrect moves
+lima.ui.home.transaction.nothing=No move
lima.ui.importexport.accountcharts=Accounts chart
lima.ui.importexport.all=All
lima.ui.importexport.csv=Import/Export CSV
@@ -327,7 +327,7 @@
lima.ui.importexport.import.vatpdfimport=The PDF has been imported. It can be found inside the Lima resources directory
lima.ui.importexport.importcsv=
lima.ui.importexport.importebp=
-lima.ui.importexport.importerror=
+lima.ui.importexport.importerror=An error has occured during import
lima.ui.importexport.importtitle=
lima.ui.importexport.vatstatements=VAT chart
lima.ui.importexport.wait=Job in progress…
@@ -353,11 +353,11 @@
lima.ui.lettering.selectSolde=Balance
lima.ui.mainview.title=Lutin Invoice Monitoring and Accounting
lima.ui.opening.accounts=<html><center>Select a default, <br/>import your personnal<br/> or cancel to create your own account chart.</center></html>
-lima.ui.opening.close=
-lima.ui.opening.end=
-lima.ui.opening.entrybook=<html>Tick box to import default accounts chart\:<br/> Achats, Ventes, Trésorerie, Opération diverses</html>
-lima.ui.opening.import=Import a CSV Save
-lima.ui.opening.next=
+lima.ui.opening.close=Close
+lima.ui.opening.end=Finish
+lima.ui.opening.entrybook=<html>Tick box to import default accounts chart\:<br/> Achats, Ventes, Trésorerie, Opération diverses</html>
+lima.ui.opening.import=Import a CSV backup
+lima.ui.opening.next=Next
lima.ui.opening.title=
lima.ui.opening.welcome=<html><center>Welcome to Lima<br/>this assistant help you to start your business accounting in the blink of an eye<br/>OR import instantanly your already existing save in CSV format<br/><br/><br/><br/></center></html>
lima.vatreport.listerror=Can't get entries list
Modified: trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties
===================================================================
--- trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2012-09-18 14:56:35 UTC (rev 3643)
+++ trunk/lima-swing/src/main/resources/i18n/lima-swing_fr_FR.properties 2012-09-18 15:10:23 UTC (rev 3644)
@@ -169,7 +169,7 @@
lima.message.help.usage=Options (set with --option <key> <value>\:
lima.misc.supportemail.description=Adresse email de support
lima.openejb.remotemode.description=
-lima.opening.accounts=
+lima.opening.accounts=Importer le plan de comptes depuis \:
lima.preferences=Préférences
lima.reports=Rapports
lima.reports.account.noaccount=
@@ -228,6 +228,7 @@
lima.ui.common.cancel=Annuler
lima.ui.common.error=Erreur
lima.ui.common.ok=Ok
+lima.ui.common.refresh=Actualiser
lima.ui.common.refresh=Rafraîchir
lima.ui.common.remove=Supprimer
lima.ui.common.solde=Solde
@@ -304,12 +305,12 @@
lima.ui.home.fiscalperiod.noopen=Aucun exercice ouvert \!
lima.ui.home.fiscalperiod.opened=exercices ouverts
lima.ui.home.fiscalyear=Exercices
-lima.ui.home.transaction.balanced=transactions, toutes sont équilibrées
+lima.ui.home.transaction.balanced=écritures, toutes sont équilibrées
lima.ui.home.transaction.create=Ajouter des écritures
+lima.ui.home.transaction.inexact=écritures ne sont pas valides \!
lima.ui.home.transaction.modifiy.balanced=Modifier les écritures
-lima.ui.home.transaction.modifiy.unbalanced=Modifier les écritures incorrectes
+lima.ui.home.transaction.modifiy.inexact=Modifier les écritures incorrectes
lima.ui.home.transaction.nothing=Aucune écriture
-lima.ui.home.transaction.unbalanced=transactions ne sont pas équilibrées \!
lima.ui.importexport.accountcharts=Plan des comptes
lima.ui.importexport.all=Tout
lima.ui.importexport.csv=Import/Export CSV
@@ -326,6 +327,7 @@
lima.ui.importexport.import.vatpdfimport=Le PDF a bien été importé dans le répertoire des ressources de Lima
lima.ui.importexport.importcsv=Import/Export CSV
lima.ui.importexport.importebp=Import/Export EBP
+lima.ui.importexport.importerror=Une erreur est survenue lors de l'import
lima.ui.importexport.importerror=Echec de l'import
lima.ui.importexport.importtitle=Erreur d'import
lima.ui.importexport.vatstatements=Plan TVA
@@ -344,7 +346,7 @@
lima.ui.lettering.checkLettredEntry=Lettrées
lima.ui.lettering.checkNoLettredEntry=Non-lettrées
lima.ui.lettering.endFinancialPeriod=A
-lima.ui.lettering.entry=Ecritures
+lima.ui.lettering.entry=Écritures
lima.ui.lettering.period=Périodes
lima.ui.lettering.selectCredit=Crédit
lima.ui.lettering.selectDebit=Débit
@@ -353,7 +355,7 @@
lima.ui.mainview.title=Lutin Invoice Monitoring and Accounting
lima.ui.opening.accounts=<html><center>Veuillez sélectionner un plan par défault, <br/>importer un plan personnalisé<br/> ou annuler pour créer votre propre plan.</center></html>
lima.ui.opening.close=Fermer
-lima.ui.opening.end=
+lima.ui.opening.end=Terminer
lima.ui.opening.entrybook=<html>Cochez la case pour importer les journaux par défaut \:<br/> Achats, Ventes, Trésorerie, Opération diverses</html>
lima.ui.opening.import=Importer une sauvegarde CSV
lima.ui.opening.next=Suivant
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2012-09-18 14:56:35 UTC (rev 3643)
+++ trunk/pom.xml 2012-09-18 15:10:23 UTC (rev 3644)
@@ -312,6 +312,16 @@
<contributors>
<contributor>
+ <name>Cédric Houbart</name>
+ <email>cedric(a)scil.coop</email>
+ <organization>scil.coop</organization>
+ <organizationUrl>http://www.scil.coop/</organizationUrl>
+ <timezone>Europe/Paris</timezone>
+ <roles>
+ <role>Développeur</role>
+ </roles>
+ </contributor>
+ <contributor>
<name>Rémi Chapelet</name>
<email>chapelet(a)codelutin.com</email>
<organization>Code Lutin</organization>
1
0
Author: tchemit
Date: 2012-09-18 16:56:35 +0200 (Tue, 18 Sep 2012)
New Revision: 3643
Url: http://chorem.org/repositories/revision/lima/3643
Log:
fixes #760: Licence et ?\194?\171 tierce party ?\194?\187 manquantes
Modified:
trunk/lima-swing/pom.xml
Modified: trunk/lima-swing/pom.xml
===================================================================
--- trunk/lima-swing/pom.xml 2012-08-30 14:45:24 UTC (rev 3642)
+++ trunk/lima-swing/pom.xml 2012-09-18 14:56:35 UTC (rev 3643)
@@ -234,6 +234,20 @@
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>license-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-licenses</id>
+ <goals>
+ <goal>update-project-license</goal>
+ <goal>add-third-party</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
<pluginManagement>
1
0
Author: tchemit
Date: 2012-08-30 16:45:24 +0200 (Thu, 30 Aug 2012)
New Revision: 3642
Url: http://chorem.org/repositories/revision/lima/3642
Log:
Update mavenpom4redmine to 3.3.7.
Modified:
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2012-08-24 15:38:07 UTC (rev 3641)
+++ trunk/pom.xml 2012-08-30 14:45:24 UTC (rev 3642)
@@ -10,7 +10,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>mavenpom4redmine</artifactId>
- <version>3.3.4</version>
+ <version>3.3.7</version>
</parent>
<groupId>org.chorem</groupId>
1
0
24 Aug '12
Author: jcouteau
Date: 2012-08-24 17:38:07 +0200 (Fri, 24 Aug 2012)
New Revision: 3641
Url: http://chorem.org/repositories/revision/lima/3641
Log:
Fix site generation on trunk
Modified:
trunk/src/site/rst/assistant.rst
trunk/src/site/rst/callao/classes.rst
trunk/src/site/rst/callao/developpement.rst
trunk/src/site/rst/callao/usecases.rst
trunk/src/site/rst/devel/modificationarchitecture.rst
trunk/src/site/rst/lexique.rst
trunk/src/site/rst/presentation.rst
trunk/src/site/site_fr.xml
Modified: trunk/src/site/rst/assistant.rst
===================================================================
--- trunk/src/site/rst/assistant.rst 2012-08-24 15:23:18 UTC (rev 3640)
+++ trunk/src/site/rst/assistant.rst 2012-08-24 15:38:07 UTC (rev 3641)
@@ -50,6 +50,7 @@
~~~~~~~~~~~~~~
Par défaut LIMA propose les trois plans comptables de la norme française :
+
- abrégé ;
- de base ;
- développé.
@@ -60,9 +61,9 @@
Il est également possible d'importer un plan comptable au format LIMA CSV, ou provenant
du logiciel EBP. Pour plus d'information sur le format d'import/export EBP.
-Cf. (..IMPORT-EXPORT_)
+Cf. (`IMPORT-EXPORT`_)
-.. _IMPORT-EXPORT: ../importexport.rst
+.. _`IMPORT-EXPORT`: ../importexport.rst
Lors de l'import d'un plan comptable abregé, de base, ou développé. Le générateur
de bilan / compte de résultat, charge le plan de passage des compte au poste
@@ -75,6 +76,7 @@
~~~~~~~~
Par défaut les quatres journaux les plus courants sont proposés au chargement :
+
- achat ;
- vente ;
- opérations diverses ;
Modified: trunk/src/site/rst/callao/classes.rst
===================================================================
--- trunk/src/site/rst/callao/classes.rst 2012-08-24 15:23:18 UTC (rev 3640)
+++ trunk/src/site/rst/callao/classes.rst 2012-08-24 15:38:07 UTC (rev 3641)
@@ -48,11 +48,11 @@
- lettering : Chaîne de caractères employée pour le lettrage
- detail : Chaîne de caractères servant au stockage d'informations caractérisant
-l'écriture en question au format CSV.
+ l'écriture en question au format CSV.
- Transaction : Une Entry fait forcément partie d'une Transaction (soit d'une
-Transaction existante, soit une nouvelle Transaction est créée lors de la
-création
+ Transaction existante, soit une nouvelle Transaction est créée lors de la
+ création
``Liens :``
@@ -61,7 +61,7 @@
- Log : Toute opération sur une Entry sera consignée dans un objet Log(RM).
- Account : Une Entry est une opération de débit ou de crédit sur un compte donné.
-Chacune d'elle concerne donc un et un seul compte.
+ Chacune d'elle concerne donc un et un seul compte.
@@ -90,14 +90,14 @@
-----------
- Entry : Une Transaction est une composition d'un certain nombre d'écritures
-(Entry).
+ (Entry).
- TimeSpan : Une transaction intervient pendant un intervalle de temps. La clôture
-de cet intervalle de temps (TimeSpan) implique que la Transaction n'est pas
-modifiable (règles métier de l'application(RM)).
+ de cet intervalle de temps (TimeSpan) implique que la Transaction n'est pas
+ modifiable (règles métier de l'application(RM)).
- Journal : Une Transaction appartient à un journal donné, selon là où elle a
-été entrée par l'utilisateur.
+ été entrée par l'utilisateur.
@@ -131,12 +131,12 @@
-----------
- Period : Un intervalle de temps appartient à un exercice (Period donné). En
-fait, il constitue un mois de cet exercice. Les dates de début et de fin de l'IT
-sont donc évidemment comprises dans celles de l'exercice auquel il appartient.
+ fait, il constitue un mois de cet exercice. Les dates de début et de fin de l'IT
+ sont donc évidemment comprises dans celles de l'exercice auquel il appartient.
- Transaction : Un ensemble de transactions est effectué pendant un intervalle
-de temps donné, déterminé par la date de transaction. Un intervalle de temps ne
-peut être clôturé que si toutes ses transactions sont équilibrées(RM).
+ de temps donné, déterminé par la date de transaction. Un intervalle de temps ne
+ peut être clôturé que si toutes ses transactions sont équilibrées(RM).
@@ -168,9 +168,9 @@
-----------
- TimeSpan : Un exercice contient, selon sa longueur, un certain nombre
-d'intervalles de temps qui correspondent à ses différents mois. Les différents
-TimeSpan sont créés en même temps que l'exercice(RM). La clôture de l'exercice
-implique automatiquement la clôture de tous ses TimeSpan(RM).
+ d'intervalles de temps qui correspondent à ses différents mois. Les différents
+ TimeSpan sont créés en même temps que l'exercice(RM). La clôture de l'exercice
+ implique automatiquement la clôture de tous ses TimeSpan(RM).
@@ -214,7 +214,7 @@
- logDate : Date où le log est créé (déterminée à partir de l'horloge système)
- type : Type de modification. Peut prendre 4 valeurs différentes : add (ajout),
-mod (modification), del (suppression), tmod (modification de transaction).
+ mod (modification), del (suppression), tmod (modification de transaction).
- transDate : Date de la Transaction.
@@ -235,7 +235,7 @@
-----------
- Entry : Le log correspond à une Entry qui, elle, peut avoir plusieurs logs (au
-moins un et autant qu'elle a subi de modifications).
+ moins un et autant qu'elle a subi de modifications).
@@ -255,8 +255,8 @@
- accountNumber : Numéro de compte.
- Entry : Les Entry représentent les différentes opérations effectuées sur les
-comptes. Plusieurs écritures peuvent être passées concernant un compte donné,
-mais celui-ci peut exister sans écriture.
+ comptes. Plusieurs écritures peuvent être passées concernant un compte donné,
+ mais celui-ci peut exister sans écriture.
``Liens :``
@@ -359,7 +359,7 @@
- matcher : Le nom du projet.
- uri : Une adresse vers laquelle sur laquelle pointera le projet Chorem relatif
-à l'écriture ciblée.
+ à l'écriture ciblée.
Modified: trunk/src/site/rst/callao/developpement.rst
===================================================================
--- trunk/src/site/rst/callao/developpement.rst 2012-08-24 15:23:18 UTC (rev 3640)
+++ trunk/src/site/rst/callao/developpement.rst 2012-08-24 15:38:07 UTC (rev 3641)
@@ -22,6 +22,7 @@
.. * <http://www.gnu.org/licenses/gpl-3.0.html>.
.. * #L%
.. -
+
=============
Développement
=============
Modified: trunk/src/site/rst/callao/usecases.rst
===================================================================
--- trunk/src/site/rst/callao/usecases.rst 2012-08-24 15:23:18 UTC (rev 3640)
+++ trunk/src/site/rst/callao/usecases.rst 2012-08-24 15:38:07 UTC (rev 3641)
@@ -51,6 +51,7 @@
``Gérer Ecritures``
-------------------
.. image:: uc/uc-journal.png
+
| Le diagramme parle de lui-même. Il faudra être vigilent à ne pas pouvoir ajouter d'écriture dans un exercice non encore ouvert ou déjà verrouillé. Il en va de même pour les modification et les suppression.
@@ -62,52 +63,62 @@
- Une écriture (Entry) appartient à une transaction.
- Toute opération (par extension tout ajout) sur une écriture (Entry) est répertoriée dans un Log.
- On ne peut ajouter d'entrée à un exercice (Period) ou un intervalle de temps (TimeSpan) clôturé ou inexistant.
+
| Scénario
| Cas 1 : Ajout d'une écriture dans une transaction non existante pour un intervalle de temps (TimeSpan) non clôturé :
| Préconditions :
- L'entrée à créer n'appartient pas à une transaction déjà existante.
- La date entrée pour cette transaction correspond à l'intervalle de temps en cours ou à un intervalle non clôturé.
+
| Résultat :
- Une nouvelle entrée est créée et répertoriée dans une nouvelle transaction, elle-même répertoriée dans un journal donné et dans l'intervalle de temps correspondant à la date donnée pour la transaction.
- Cet ajout d'entrée est consigné dans un nouveau Log.
+
| Description :
- Une nouvelle transaction est créée, avec pour attributs les valeurs de la date et de la référence justificatif entrée dans l'interface.
- Elle est ajoutée au journal depuis lequel l'utilisateur l'a créée (menu déroulant de l'interface), ainsi que dans l'intervalle de temps correspondant à la date donnée.
- L'entrée est créée avec les données saisies (description, montant, débit, lettrage, compte) et ajoutée à la nouvelle transaction. Un Log est également créé, consignant la date courante (date de modif), la date donnée pour la transaction, le type d'opération (en l'occurrence, ajout) et les attributs de l'écriture et de la transaction.
+
| Cas 2 : Ajout d'une écriture dans une transaction existante pour un intervalle de temps (TimeSpan) non clôturé :
| Préconditions :
- L'entrée à créer appartient à une transaction déjà existante.
- La date entrée pour cette transaction correspond à l'intervalle de temps en cours ou à un intervalle non clôturé.
+
| Résultat :
- Une nouvelle entrée est créée dans une transaction existante. Cet ajout d'entrée est consigné dans un nouveau Log.
+
| Description :
- L'entrée est créée avec les données saisies (description, montant, débit, lettrage, compte) et ajoutée à la transaction donnée.
- Un Log est également créé, consignant la date courante (date de modif), la date donnée pour la transaction, le type d'opération (en l'occurrence, ajout) et les attributs de l'écriture.
+
| Exceptions
| Exception1 : Ajout d'une écriture pour un exercice à venir n'existant pas encore.
| Préconditions :
- La date de la transaction correspondant à l'entrée ne correspond à aucun exercice existant.
+
| Résultat : Rien.
| Description :
- Un message est affiché pour indiquer à l'utilisateur la démarche à suivre pour créer un nouvel exercice.
+
| Exception 2 : Ajout d'une écriture pour un exercice (Period) ou un intervalle de temps (TimeSpan) clôturé.
| Préconditions :
- La date de la transaction correspondant à l'entrée appartient à un exercice ou un IT clôturé.
+
| Résultat : Rien.
| Description :
- Un message d'erreur est affiché, indiquant à l'utilisateur qu'il ne peut effectuer l'opération d'ajout.
-| **Cas d'utilisation **: Modifier Ecriture étend : Gérer Ecritures
+| **Cas d'utilisation** : Modifier Ecriture étend : Gérer Ecritures
| Acteur principal : Comptable
| Invariants :
@@ -121,19 +132,23 @@
- L'entrée à créer n'appartient pas à une transaction déjà existante.
- La date entrée pour cette transaction correspond à l'intervalle de temps en cours ou à un intervalle non clôturé.
+
| Résultat :
- Une nouvelle entrée est créée et répertoriée dans une nouvelle transaction, elle-même répertoriée dans un journal donné et dans l'intervalle de temps correspondant à la date donnée pour la transaction.
- Cet ajout d'entrée est consigné dans un nouveau Log.
+
| Description :
- L'entrée est modifiée avec les données nouvellement saisies (description, montant, débit, lettrage, compte).
- Un Log est également créé, consignant la date courante (date de modif), la date donnée pour la transaction, le type d'opération (en l'occurrence, modification) et les attributs de l'écriture et de la transaction.
+
| Exceptions
| Exception1 : Modification d'une écriture pour un intervalle de temps clôturé.
| Pré-conditions :
- La date de la transaction correspondant à l'entrée correspond à un intervalle de temps semi-clôturé, voire à un exercice clôturé.
+
| Résultat : Rien.
| Description :
@@ -147,39 +162,50 @@
| Invariants :
- Aucune transaction ne peut être déplacée dans une période clôturée ou un intervalle de temps semi-clôturé, ni dans un exercice n'existant pas.
+
| scénario
| Cas 1 : Modification du voucherRef ou de la date vers un intervalle de temps existant et non-clôturé :
| Pré-conditions :
- La transaction n'appartient pas à un intervalle de temps clôturé.
- La date n'est pas modifiée pour une date concernant un intervalle de temps non existant ou clôturé.
+
| Résultat :
- La transaction est modifiée.
- Un nouveau log est créé pour chacune des Entry de la Transaction.
+
| Description :
- La transaction est modifiée avec les données nouvellement saisies (description, montant, débit, lettrage, compte).
- Pour chacune des écritures de la transaction, un Log est également créé, consignant la date courante (date de modif), la date donnée pour la transaction, le type d'opération (en l'occurrence, modification) et les attributs de l'écriture et de la transaction.
+
| Exceptions
| Exception1 : Modification d'une transaction dans un intervalle de temps clôturé.
| Pré-conditions :
- La date de la transaction correspond à un intervalle de temps semi-clôturé, voire à un exercice clôturé.
+
| Résultat : Rien.
| Description :
+
- Un message d'erreur est affiché, indiquant à l'utilisateur qu'il ne peut effectuer l'opération de modification.
+
| Exception2 : Modification de la date de la transaction vers un intervalle de temps clôturé.
| Pré-conditions :
+
- La nouvelle date donnée pour la transaction correspond à un intervalle de temps semi-clôturé, voire à un exercice clôturé.
+
| Résultat : Rien.
| Description :
+
- Un message d'erreur est affiché, indiquant à l'utilisateur qu'il ne peut effectuer l'opération de modification.
``Gérer Périodes``
------------------
.. image:: uc/uc-exercice.png
+
| Lors de l'ouverture d'un exercice, il est automatiquement divisé en TimeSpan (qui représenteront des mois en pratique). Ces TimeSpan sont verrouillables, de manière à accéder à un état proche de la clôture, mais où il reste possible de les déverrouiller, ce afin d'éviter d'éventuelles erreurs de saisie. La clôture d'un exercice entraîne la fermeture (définitive cette fois) de tous les TimeSpan qui le composent. A noter également qu'un TimeSpan ne peut être ouvert qu'à la condition que tous les TS posterieurs le soient aussi (et consecutivement un TS ne peut être semi-cloturé que si les TS anterieurs le sont aussi.
|
| **Cas d'utilisation** : UC Ouvrir Nouvel Exercice étend l'UC « cloture de periode »
@@ -187,19 +213,22 @@
| Invariant
- Il ne peut jamais y avoir plus de deux exercices non clôturer en même temps.
+
| Scénario
| Cas 1: Création d'un exercice(Period).
| Pré-condition :
- L'exercice ne doit pas être déjà créer.
+
| Description :
- La création d'un nouvel exercice à besoin de connaitre la durée de ce nouvel exercice.
- Par défaut cette période est de 12 mois.
- Pour chaque mois, on crée un intervalle de temps.
- On réalise les différents report à nouveau pour équilibrer l'exercice précèdent et commencer avec les bons chiffre l'exercice nouvellement créer.
-| Post-condition :
+| Post-condition :
+
- L'intégralité de l'exercice est couvert par des intervalles de temps.
- La date de début d'exercice et la date de fin de l'exercice précédent se suivent.
@@ -211,6 +240,7 @@
- L'exercice ne doit pas être déjà clôturé.
- La date de fin d'exercice doit être atteinte pour pouvoir clôturer l'exercice.
+
| Description :
- La clôture de l'exercice entraine la clôture définitive de l'ensemble des intervalles de temps qui le compose.
@@ -218,8 +248,9 @@
- Il est alors possible de publier les documents comptables (ex: bilan, compte de résultat).
- Les reports à nouveau sont calculés et passés sur l'exercice suivant.
- Un backup de l'exercice est alors généré.
-| Post-condition :
+| Post-condition :
+
- L'ensemble des écritures n'est modifiable depuis Callao.
@@ -229,45 +260,56 @@
- Toutes les périodes d'un exercice clôturé sont clôturé.
- Un intervalle de temps dure 1 mois
+
| Scénario
- Cas 1: Clôture d'un intervalle de temps(TimeSpan).
-| Pré-condition :
+
+| Pré-condition :
+
- L'intervalle de temps ne doit pas être déjà clôturé.
- La date de fin de période doit être supérieure à la date de début de la période à clôturer.
+
| Description :
- Lorsque l'utilisateur clôture l'intervalle, l'ensemble des écritures du mois sont bloquées.
- S'ils ne le sont pas déjà, l'ensemble des mois précédents sont clôturés.
- L'utilisateur a toujours la possibilité de débloquer cet intervalle tant que
-l'exercice n'est pas clôturé lui même.
-| Post-condition :
+ l'exercice n'est pas clôturé lui même.
+| Post-condition :
+
- L'ensemble des écritures n'est plus modifiable depuis Callao.
- Les périodes précédents cet intervalle sont clôturés.
+
| Cas 2: Dé-clôturer un intervalle de temps.
| Pré-condition :
- L'intervalle de temps doit être clôturer.
- L'exercice dont il fait parti ne doit pas être clôturer.
+
| Description :
- L'intervalle de temps redevient modifiable par l'utilisateur.
- Le comptable peut alors ajouter, modifier ou supprimer des transactions sur cet intervalle.
- Tout les intervalles de temps qui le suivent sont dé-clôturés, si ils sont déjà clôturés.
- L'intervalle est de nouveau clôturable.
-| Post-Condition :
+
+| Post-Condition :
+
- Les écritures sont de nouveaux modifiables, les périodes suivantes sont dé-clôturés.
``Gérer Comptes``
-----------------
.. image:: uc/uc-comptes.png
+
| La seule petite particularité de ces cas d'utilisation est qu'on ne pourra pas modifier le numéro ou supprimer un compte sur lequel des écritures ont été passées.
``Gérer Fichiers``
------------------
.. image:: uc/uc-fichiers.png
+
Génère des fichiers pour sauvegarder ou échanger les données.
| **Cas d'utilisation** : UC Exporter vers Fichiers
@@ -282,8 +324,9 @@
- les comptes de l'entreprise
- les journaux
- Les exercices de l'entreprise.(Intervalle de temps, transactions, écritures...)
-| Post-condition :
+| Post-condition :
+
- Un fichier XML valide est généré.
| **Cas d'utilisation** : UC Importer depuis Fichiers
@@ -295,6 +338,7 @@
- L'utilisateur spécifie le chemin du fichier à importer.
- Le fichier est parsé, on supprime l'ensemble des données de la base
- On enregistre dans la base de données les informations récupérer du fichier.
+
| Cas exceptionnels
| Cas Exceptionnel 1 : Le fichier spécifier n'est pas valide ou n'existe pas.
| Description :
@@ -306,6 +350,7 @@
``Générer Etats``
-----------------
.. image:: uc/uc-etats.png
+
| On aura une génération d'états provisoires pour les périodes non clôturées, et définitif pour les périodes clôturées. On prévoit pour l'instant une génération en PDF. Cette génération pourra être effectuée à n'importe quel moment.
| **Cas d'utilisation** : UC Générer état
@@ -314,11 +359,13 @@
- Un état concerne un seul exercice.
- Un état sera prévisionnel tant que l'exercice concerné ne sera pas clôturé.
+
| Scénario
| Cas 1: Génération d'un état(Bilan, compte de résultat...).
| Pré-condition :
- Il faut que l'exercice existe pour pouvoir générer un état.
+
| Description :
- On solde les comptes concernés ( ex :produit et charge pour compte de résultat... ).
@@ -326,12 +373,14 @@
- On récupère les informations sur la société ( numéro siren, raison sociale...)
- On exporte dans un fichier au format pdf dont le chemin est prédéfini, l'état concerné.
- Si l'état n'est pas clôturé, le fichier indique que c'est un état prévisionnel.
-| Post-condition :
+| Post-condition :
+
- Un fichier pdf est créé.
``Synchronier Chorem``
----------------------
.. image:: uc/uc-liaison.png
+
| Cette liaison permet de récupérer des informations de facturation depuis Chorem afin de les passer en écriture dans Lima/Callao, de fait cette "couche de liaison" disposera d'informations persistantes de manière à associer les clients de Chorem à des comptes (client tartenpion = 4111tartenpion etc ...) et de répercuter les domaines tout en sachant aussi éviter les redondances et faciliter les corrections. Une fois les informations éxtraite de Chorem et les données de liaison mises à jour, ces données pourront être poussées dans Lima/Callao.
Modified: trunk/src/site/rst/devel/modificationarchitecture.rst
===================================================================
--- trunk/src/site/rst/devel/modificationarchitecture.rst 2012-08-24 15:23:18 UTC (rev 3640)
+++ trunk/src/site/rst/devel/modificationarchitecture.rst 2012-08-24 15:38:07 UTC (rev 3641)
@@ -33,7 +33,7 @@
- Intégration de callao dans lima en tant que moteur par défaut
- Conservation de la possibilité de changer de moteur ou d'interface
- Suppression des DTO (utilisation des interfaces des entités metier
-générées)
+ générées)
Nouvelle architecture
Modified: trunk/src/site/rst/lexique.rst
===================================================================
--- trunk/src/site/rst/lexique.rst 2012-08-24 15:23:18 UTC (rev 3640)
+++ trunk/src/site/rst/lexique.rst 2012-08-24 15:38:07 UTC (rev 3641)
@@ -22,6 +22,7 @@
.. * <http://www.gnu.org/licenses/gpl-3.0.html>.
.. * #L%
.. -
+
==========================
Lexique de la comptabilité
==========================
Modified: trunk/src/site/rst/presentation.rst
===================================================================
--- trunk/src/site/rst/presentation.rst 2012-08-24 15:23:18 UTC (rev 3640)
+++ trunk/src/site/rst/presentation.rst 2012-08-24 15:38:07 UTC (rev 3641)
@@ -38,7 +38,6 @@
répondre aux besoins spécifiques de toute entreprise ou organisation, tout en
garantissant le maintien des données comptables.
-
Le logiciel est écrit en Java ce qui assure une compatibilité multiplateforme :
Windows, Mac OS X, Linux. Il peut-être installé en fonctionnement client monoposte,
ou en configuration client <–> serveur.
@@ -46,7 +45,6 @@
installé coté serveur, et l'interface est installée sur autant de poste client que
désiré.
-
Historique
----------
@@ -60,13 +58,13 @@
d'utiliser le moteur d'OFBiz Neogia. La première étape a donc été d’adapter une
interface autonome avec la technologie de bibliothèque graphique Java Swing.
-L'interface de LIMA_ est indépendant du moteur gérant la comptabilité. Il a donc
-été décidé de développer un moteur propre à Code lutin: CALLAO_.
+L'interface de Lima est indépendant du moteur gérant la comptabilité. Il a donc
+été décidé de développer un moteur propre à Code Lutin : Callao.
En 2010, l'application a été réécrite en majeur partie pour d'une part répondre le
plus fidèlement aux normes comptables, et d'autre part correspondre aux normes de
programmation de Code Lutin. LIMA s'appuie notamment sur les projets internes Topia,
- EuGene et JAXX.
+EuGene et JAXX.
Architecture
------------
Modified: trunk/src/site/site_fr.xml
===================================================================
--- trunk/src/site/site_fr.xml 2012-08-24 15:23:18 UTC (rev 3640)
+++ trunk/src/site/site_fr.xml 2012-08-24 15:38:07 UTC (rev 3641)
@@ -26,91 +26,107 @@
<project name="Lima">
- <bannerLeft>
- <name>${project.name}</name>
- <href>index.html</href>
- </bannerLeft>
+ <bannerLeft>
+ <name>${project.name}</name>
+ <href>index.html</href>
+ </bannerLeft>
- <skin>
- <groupId>org.apache.maven.skins</groupId>
- <artifactId>maven-fluido-skin</artifactId>
- <version>1.2.1</version>
- </skin>
+ <bannerRight>
+ <src>http://www.codelutin.com/images/lutinorange-codelutin.png</src>
+ <href>http://www.codelutin.com</href>
+ </bannerRight>
- <custom>
- <fluidoSkin>
- <topBarEnabled>false</topBarEnabled>
- <googleSearch/>
- <sideBarEnabled>true</sideBarEnabled>
- <searchEnabled>true</searchEnabled>
- <sourceLineNumbersEnabled>true</sourceLineNumbersEnabled>
- </fluidoSkin>
- </custom>
+ <skin>
+ <groupId>org.apache.maven.skins</groupId>
+ <artifactId>maven-fluido-skin</artifactId>
+ <version>1.2.1</version>
+ </skin>
- <publishDate position="right" format="dd/MM/yyyy"/>
- <version position="right"/>
+ <custom>
+ <fluidoSkin>
+ <topBarEnabled>false</topBarEnabled>
+ <googleSearch/>
+ <sideBarEnabled>true</sideBarEnabled>
+ <searchEnabled>true</searchEnabled>
+ <sourceLineNumbersEnabled>true</sourceLineNumbersEnabled>
+ </fluidoSkin>
+ </custom>
- <poweredBy>
- <logo href="http://maven.apache.org" name="Maven"
- img="http://maven-site.nuiton.org/jrst/images/logos/maven-feather.png"/>
- <logo href="http://maven-site.nuiton.org/jrst/" name="JRst"
- img="http://maven-site.nuiton.org/jrst/images/jrst-logo.png"/>
- <logo href="http://docutils.sourceforge.net/rst.html"
- name="ReStructuredText"
- img="http://maven-site.nuiton.org/jrst/images/restructuredtext-logo.png"/>
- <logo href="http://maven-site.nuiton.org/jaxx/" name="Jaxx"
- img="${project.url}/images/jaxx-logo.png"/>
- </poweredBy>
+ <publishDate position="right" format="dd/MM/yyyy"/>
+ <version position="right"/>
- <body>
+ <poweredBy>
+ <logo href="http://maven.apache.org" name="Maven"
+ img="http://maven-site.nuiton.org/jrst/images/logos/maven-feather.png"/>
+ <logo href="http://maven-site.nuiton.org/jrst/" name="JRst"
+ img="http://maven-site.nuiton.org/jrst/images/jrst-logo.png"/>
+ <logo href="http://docutils.sourceforge.net/rst.html"
+ name="ReStructuredText"
+ img="http://maven-site.nuiton.org/jrst/images/restructuredtext-logo.png"/>
+ <logo href="http://maven-site.nuiton.org/jaxx/" name="Jaxx"
+ img="${project.url}/images/jaxx-logo.png"/>
+ </poweredBy>
- <head>
- <script type="text/javascript"
- src="http://maven-site.chorem.org/public/js/maven-site-chorem.org.js">
- </script>
+ <body>
- <link rel="stylesheet" type="text/css"
- href="http://maven-site.chorem.org/public/css/maven-site-chorem.org.css"/>
- </head>
+ <head>
+ <script type="text/javascript"
+ src="http://maven-site.chorem.org/public/js/maven-site-chorem.org.js">
+ </script>
- <menu name="Le projet" inherit="top">
- <item name="Présentation" href="presentation.html"/>
- <item name="Fonctionnalités" href="features.html"/>
- <item name="Lancer Lima en ligne" href="lima-swing/jnlp/launch.jnlp"/>
- <item name="Téléchargements"
- href="http://www.chorem.org/projects/lima/files"/>
- <item name="Contacts" href="contact.html"/>
- <item name="Dépôt SVN" href="http://svn.chorem.org/svn/lima/"/>
- </menu>
- <menu name="Mode d'emploi" inherit="top">
- <item name="Installer et lancer" href="install.html"/>
- <item name="Créer sa comptabilité" href="assistant.html"/>
- <item name="Saisie d'écritures" href="saisie.html"/>
- <item name="Rapports" href="rapports.html"/>
- <item name="Import / Export" href="importexport.html"/>
- <item name="Lexique comptable" href="lexique.html"/>
- </menu>
- <menu name="Développeur" inherit="top">
- <item name="Mode serveur" href="devel/server.html"/>
- </menu>
+ <link rel="stylesheet" type="text/css"
+ href="http://maven-site.chorem.org/public/css/maven-site-chorem.org.css"/>
+ </head>
- <menu ref="reports"/>
+ <breadcrumbs>
+ <item name="${project.name}" href="${project.url}"/>
+ </breadcrumbs>
- <footer>
+ <links>
+ <item name="nuiton.org" href="http://www.nuiton.org"/>
+ <item name="chorem.org" href="http://www.chorem.org"/>
+ <item name="CodeLutin" href="http://codelutin.com"/>
+ <item name="Libre-Entreprise" href="http://www.libre-entreprise.org/"/>
+ </links>
- <div id='projectMetas'
- projectversion='${project.version}'
- platform='${project.platform}'
- projectid='${project.projectId}'
- scm='${project.scm.connection}'
- scmwebeditorenabled='${project.scmwebeditorEnabled}'
- scmwebeditorurl='${project.scmwebeditorUrl}'
- siteSourcesType='${project.siteSourcesType}'
- piwikEnabled='${project.piwikEnabled}'
- piwikId='${project.piwikId}'>
- </div>
- </footer>
+ <menu name="Le projet" inherit="top">
+ <item name="Présentation" href="presentation.html"/>
+ <item name="Fonctionnalités" href="features.html"/>
+ <!--item name="Lancer Lima en ligne" href="lima-swing/jnlp/launch.jnlp" TODO jcouteau 24/08/2012 reactivate this when webstart is working/-->
+ <item name="Téléchargements"
+ href="http://www.chorem.org/projects/lima/files"/>
+ <item name="Contacts" href="contact.html"/>
+ <item name="Dépôt SVN" href="http://svn.chorem.org/svn/lima/"/>
+ </menu>
+ <menu name="Mode d'emploi" inherit="top">
+ <item name="Installer et lancer" href="install.html"/>
+ <item name="Créer sa comptabilité" href="assistant.html"/>
+ <item name="Saisie d'écritures" href="saisie.html"/>
+ <item name="Rapports" href="rapports.html"/>
+ <item name="Import / Export" href="importexport.html"/>
+ <item name="Lexique comptable" href="lexique.html"/>
+ </menu>
+ <menu name="Développeur" inherit="top">
+ <item name="Mode serveur" href="devel/server.html"/>
+ </menu>
- </body>
+ <menu ref="reports"/>
+ <footer>
+
+ <div id='projectMetas'
+ projectversion='${project.version}'
+ platform='${project.platform}'
+ projectid='${project.projectId}'
+ scm='${project.scm.connection}'
+ scmwebeditorenabled='${project.scmwebeditorEnabled}'
+ scmwebeditorurl='${project.scmwebeditorUrl}'
+ siteSourcesType='${project.siteSourcesType}'
+ piwikEnabled='${project.piwikEnabled}'
+ piwikId='${project.piwikId}'>
+ </div>
+ </footer>
+
+ </body>
+
</project>
1
0
r3640 - in tags/lima-0.6-rc-1/src/site: . rst rst/callao rst/devel
by jcouteau@users.chorem.org 24 Aug '12
by jcouteau@users.chorem.org 24 Aug '12
24 Aug '12
Author: jcouteau
Date: 2012-08-24 17:23:18 +0200 (Fri, 24 Aug 2012)
New Revision: 3640
Url: http://chorem.org/repositories/revision/lima/3640
Log:
Fix site generation on last release
Modified:
tags/lima-0.6-rc-1/src/site/rst/assistant.rst
tags/lima-0.6-rc-1/src/site/rst/callao/classes.rst
tags/lima-0.6-rc-1/src/site/rst/callao/developpement.rst
tags/lima-0.6-rc-1/src/site/rst/callao/usecases.rst
tags/lima-0.6-rc-1/src/site/rst/devel/modificationarchitecture.rst
tags/lima-0.6-rc-1/src/site/rst/lexique.rst
tags/lima-0.6-rc-1/src/site/rst/presentation.rst
tags/lima-0.6-rc-1/src/site/site_fr.xml
Modified: tags/lima-0.6-rc-1/src/site/rst/assistant.rst
===================================================================
--- tags/lima-0.6-rc-1/src/site/rst/assistant.rst 2012-08-24 15:01:31 UTC (rev 3639)
+++ tags/lima-0.6-rc-1/src/site/rst/assistant.rst 2012-08-24 15:23:18 UTC (rev 3640)
@@ -50,6 +50,7 @@
~~~~~~~~~~~~~~
Par défaut LIMA propose les trois plans comptables de la norme française :
+
- abrégé ;
- de base ;
- développé.
@@ -60,9 +61,9 @@
Il est également possible d'importer un plan comptable au format LIMA CSV, ou provenant
du logiciel EBP. Pour plus d'information sur le format d'import/export EBP.
-Cf. (..IMPORT-EXPORT_)
+Cf. (`IMPORT-EXPORT`_)
-.. _IMPORT-EXPORT: ../importexport.rst
+.. _`IMPORT-EXPORT`: ../importexport.rst
Lors de l'import d'un plan comptable abregé, de base, ou développé. Le générateur
de bilan / compte de résultat, charge le plan de passage des compte au poste
@@ -75,6 +76,7 @@
~~~~~~~~
Par défaut les quatres journaux les plus courants sont proposés au chargement :
+
- achat ;
- vente ;
- opérations diverses ;
Modified: tags/lima-0.6-rc-1/src/site/rst/callao/classes.rst
===================================================================
--- tags/lima-0.6-rc-1/src/site/rst/callao/classes.rst 2012-08-24 15:01:31 UTC (rev 3639)
+++ tags/lima-0.6-rc-1/src/site/rst/callao/classes.rst 2012-08-24 15:23:18 UTC (rev 3640)
@@ -48,11 +48,11 @@
- lettering : Chaîne de caractères employée pour le lettrage
- detail : Chaîne de caractères servant au stockage d'informations caractérisant
-l'écriture en question au format CSV.
+ l'écriture en question au format CSV.
- Transaction : Une Entry fait forcément partie d'une Transaction (soit d'une
-Transaction existante, soit une nouvelle Transaction est créée lors de la
-création
+ Transaction existante, soit une nouvelle Transaction est créée lors de la
+ création
``Liens :``
@@ -61,7 +61,7 @@
- Log : Toute opération sur une Entry sera consignée dans un objet Log(RM).
- Account : Une Entry est une opération de débit ou de crédit sur un compte donné.
-Chacune d'elle concerne donc un et un seul compte.
+ Chacune d'elle concerne donc un et un seul compte.
@@ -90,14 +90,14 @@
-----------
- Entry : Une Transaction est une composition d'un certain nombre d'écritures
-(Entry).
+ (Entry).
- TimeSpan : Une transaction intervient pendant un intervalle de temps. La clôture
-de cet intervalle de temps (TimeSpan) implique que la Transaction n'est pas
-modifiable (règles métier de l'application(RM)).
+ de cet intervalle de temps (TimeSpan) implique que la Transaction n'est pas
+ modifiable (règles métier de l'application(RM)).
- Journal : Une Transaction appartient à un journal donné, selon là où elle a
-été entrée par l'utilisateur.
+ été entrée par l'utilisateur.
@@ -131,12 +131,12 @@
-----------
- Period : Un intervalle de temps appartient à un exercice (Period donné). En
-fait, il constitue un mois de cet exercice. Les dates de début et de fin de l'IT
-sont donc évidemment comprises dans celles de l'exercice auquel il appartient.
+ fait, il constitue un mois de cet exercice. Les dates de début et de fin de l'IT
+ sont donc évidemment comprises dans celles de l'exercice auquel il appartient.
- Transaction : Un ensemble de transactions est effectué pendant un intervalle
-de temps donné, déterminé par la date de transaction. Un intervalle de temps ne
-peut être clôturé que si toutes ses transactions sont équilibrées(RM).
+ de temps donné, déterminé par la date de transaction. Un intervalle de temps ne
+ peut être clôturé que si toutes ses transactions sont équilibrées(RM).
@@ -168,9 +168,9 @@
-----------
- TimeSpan : Un exercice contient, selon sa longueur, un certain nombre
-d'intervalles de temps qui correspondent à ses différents mois. Les différents
-TimeSpan sont créés en même temps que l'exercice(RM). La clôture de l'exercice
-implique automatiquement la clôture de tous ses TimeSpan(RM).
+ d'intervalles de temps qui correspondent à ses différents mois. Les différents
+ TimeSpan sont créés en même temps que l'exercice(RM). La clôture de l'exercice
+ implique automatiquement la clôture de tous ses TimeSpan(RM).
@@ -214,7 +214,7 @@
- logDate : Date où le log est créé (déterminée à partir de l'horloge système)
- type : Type de modification. Peut prendre 4 valeurs différentes : add (ajout),
-mod (modification), del (suppression), tmod (modification de transaction).
+ mod (modification), del (suppression), tmod (modification de transaction).
- transDate : Date de la Transaction.
@@ -235,7 +235,7 @@
-----------
- Entry : Le log correspond à une Entry qui, elle, peut avoir plusieurs logs (au
-moins un et autant qu'elle a subi de modifications).
+ moins un et autant qu'elle a subi de modifications).
@@ -255,8 +255,8 @@
- accountNumber : Numéro de compte.
- Entry : Les Entry représentent les différentes opérations effectuées sur les
-comptes. Plusieurs écritures peuvent être passées concernant un compte donné,
-mais celui-ci peut exister sans écriture.
+ comptes. Plusieurs écritures peuvent être passées concernant un compte donné,
+ mais celui-ci peut exister sans écriture.
``Liens :``
@@ -359,7 +359,7 @@
- matcher : Le nom du projet.
- uri : Une adresse vers laquelle sur laquelle pointera le projet Chorem relatif
-à l'écriture ciblée.
+ à l'écriture ciblée.
Modified: tags/lima-0.6-rc-1/src/site/rst/callao/developpement.rst
===================================================================
--- tags/lima-0.6-rc-1/src/site/rst/callao/developpement.rst 2012-08-24 15:01:31 UTC (rev 3639)
+++ tags/lima-0.6-rc-1/src/site/rst/callao/developpement.rst 2012-08-24 15:23:18 UTC (rev 3640)
@@ -22,6 +22,7 @@
.. * <http://www.gnu.org/licenses/gpl-3.0.html>.
.. * #L%
.. -
+
=============
Développement
=============
Modified: tags/lima-0.6-rc-1/src/site/rst/callao/usecases.rst
===================================================================
--- tags/lima-0.6-rc-1/src/site/rst/callao/usecases.rst 2012-08-24 15:01:31 UTC (rev 3639)
+++ tags/lima-0.6-rc-1/src/site/rst/callao/usecases.rst 2012-08-24 15:23:18 UTC (rev 3640)
@@ -51,6 +51,7 @@
``Gérer Ecritures``
-------------------
.. image:: uc/uc-journal.png
+
| Le diagramme parle de lui-même. Il faudra être vigilent à ne pas pouvoir ajouter d'écriture dans un exercice non encore ouvert ou déjà verrouillé. Il en va de même pour les modification et les suppression.
@@ -62,52 +63,62 @@
- Une écriture (Entry) appartient à une transaction.
- Toute opération (par extension tout ajout) sur une écriture (Entry) est répertoriée dans un Log.
- On ne peut ajouter d'entrée à un exercice (Period) ou un intervalle de temps (TimeSpan) clôturé ou inexistant.
+
| Scénario
| Cas 1 : Ajout d'une écriture dans une transaction non existante pour un intervalle de temps (TimeSpan) non clôturé :
| Préconditions :
- L'entrée à créer n'appartient pas à une transaction déjà existante.
- La date entrée pour cette transaction correspond à l'intervalle de temps en cours ou à un intervalle non clôturé.
+
| Résultat :
- Une nouvelle entrée est créée et répertoriée dans une nouvelle transaction, elle-même répertoriée dans un journal donné et dans l'intervalle de temps correspondant à la date donnée pour la transaction.
- Cet ajout d'entrée est consigné dans un nouveau Log.
+
| Description :
- Une nouvelle transaction est créée, avec pour attributs les valeurs de la date et de la référence justificatif entrée dans l'interface.
- Elle est ajoutée au journal depuis lequel l'utilisateur l'a créée (menu déroulant de l'interface), ainsi que dans l'intervalle de temps correspondant à la date donnée.
- L'entrée est créée avec les données saisies (description, montant, débit, lettrage, compte) et ajoutée à la nouvelle transaction. Un Log est également créé, consignant la date courante (date de modif), la date donnée pour la transaction, le type d'opération (en l'occurrence, ajout) et les attributs de l'écriture et de la transaction.
+
| Cas 2 : Ajout d'une écriture dans une transaction existante pour un intervalle de temps (TimeSpan) non clôturé :
| Préconditions :
- L'entrée à créer appartient à une transaction déjà existante.
- La date entrée pour cette transaction correspond à l'intervalle de temps en cours ou à un intervalle non clôturé.
+
| Résultat :
- Une nouvelle entrée est créée dans une transaction existante. Cet ajout d'entrée est consigné dans un nouveau Log.
+
| Description :
- L'entrée est créée avec les données saisies (description, montant, débit, lettrage, compte) et ajoutée à la transaction donnée.
- Un Log est également créé, consignant la date courante (date de modif), la date donnée pour la transaction, le type d'opération (en l'occurrence, ajout) et les attributs de l'écriture.
+
| Exceptions
| Exception1 : Ajout d'une écriture pour un exercice à venir n'existant pas encore.
| Préconditions :
- La date de la transaction correspondant à l'entrée ne correspond à aucun exercice existant.
+
| Résultat : Rien.
| Description :
- Un message est affiché pour indiquer à l'utilisateur la démarche à suivre pour créer un nouvel exercice.
+
| Exception 2 : Ajout d'une écriture pour un exercice (Period) ou un intervalle de temps (TimeSpan) clôturé.
| Préconditions :
- La date de la transaction correspondant à l'entrée appartient à un exercice ou un IT clôturé.
+
| Résultat : Rien.
| Description :
- Un message d'erreur est affiché, indiquant à l'utilisateur qu'il ne peut effectuer l'opération d'ajout.
-| **Cas d'utilisation **: Modifier Ecriture étend : Gérer Ecritures
+| **Cas d'utilisation** : Modifier Ecriture étend : Gérer Ecritures
| Acteur principal : Comptable
| Invariants :
@@ -121,19 +132,23 @@
- L'entrée à créer n'appartient pas à une transaction déjà existante.
- La date entrée pour cette transaction correspond à l'intervalle de temps en cours ou à un intervalle non clôturé.
+
| Résultat :
- Une nouvelle entrée est créée et répertoriée dans une nouvelle transaction, elle-même répertoriée dans un journal donné et dans l'intervalle de temps correspondant à la date donnée pour la transaction.
- Cet ajout d'entrée est consigné dans un nouveau Log.
+
| Description :
- L'entrée est modifiée avec les données nouvellement saisies (description, montant, débit, lettrage, compte).
- Un Log est également créé, consignant la date courante (date de modif), la date donnée pour la transaction, le type d'opération (en l'occurrence, modification) et les attributs de l'écriture et de la transaction.
+
| Exceptions
| Exception1 : Modification d'une écriture pour un intervalle de temps clôturé.
| Pré-conditions :
- La date de la transaction correspondant à l'entrée correspond à un intervalle de temps semi-clôturé, voire à un exercice clôturé.
+
| Résultat : Rien.
| Description :
@@ -147,39 +162,50 @@
| Invariants :
- Aucune transaction ne peut être déplacée dans une période clôturée ou un intervalle de temps semi-clôturé, ni dans un exercice n'existant pas.
+
| scénario
| Cas 1 : Modification du voucherRef ou de la date vers un intervalle de temps existant et non-clôturé :
| Pré-conditions :
- La transaction n'appartient pas à un intervalle de temps clôturé.
- La date n'est pas modifiée pour une date concernant un intervalle de temps non existant ou clôturé.
+
| Résultat :
- La transaction est modifiée.
- Un nouveau log est créé pour chacune des Entry de la Transaction.
+
| Description :
- La transaction est modifiée avec les données nouvellement saisies (description, montant, débit, lettrage, compte).
- Pour chacune des écritures de la transaction, un Log est également créé, consignant la date courante (date de modif), la date donnée pour la transaction, le type d'opération (en l'occurrence, modification) et les attributs de l'écriture et de la transaction.
+
| Exceptions
| Exception1 : Modification d'une transaction dans un intervalle de temps clôturé.
| Pré-conditions :
- La date de la transaction correspond à un intervalle de temps semi-clôturé, voire à un exercice clôturé.
+
| Résultat : Rien.
| Description :
+
- Un message d'erreur est affiché, indiquant à l'utilisateur qu'il ne peut effectuer l'opération de modification.
+
| Exception2 : Modification de la date de la transaction vers un intervalle de temps clôturé.
| Pré-conditions :
+
- La nouvelle date donnée pour la transaction correspond à un intervalle de temps semi-clôturé, voire à un exercice clôturé.
+
| Résultat : Rien.
| Description :
+
- Un message d'erreur est affiché, indiquant à l'utilisateur qu'il ne peut effectuer l'opération de modification.
``Gérer Périodes``
------------------
.. image:: uc/uc-exercice.png
+
| Lors de l'ouverture d'un exercice, il est automatiquement divisé en TimeSpan (qui représenteront des mois en pratique). Ces TimeSpan sont verrouillables, de manière à accéder à un état proche de la clôture, mais où il reste possible de les déverrouiller, ce afin d'éviter d'éventuelles erreurs de saisie. La clôture d'un exercice entraîne la fermeture (définitive cette fois) de tous les TimeSpan qui le composent. A noter également qu'un TimeSpan ne peut être ouvert qu'à la condition que tous les TS posterieurs le soient aussi (et consecutivement un TS ne peut être semi-cloturé que si les TS anterieurs le sont aussi.
|
| **Cas d'utilisation** : UC Ouvrir Nouvel Exercice étend l'UC « cloture de periode »
@@ -187,19 +213,22 @@
| Invariant
- Il ne peut jamais y avoir plus de deux exercices non clôturer en même temps.
+
| Scénario
| Cas 1: Création d'un exercice(Period).
| Pré-condition :
- L'exercice ne doit pas être déjà créer.
+
| Description :
- La création d'un nouvel exercice à besoin de connaitre la durée de ce nouvel exercice.
- Par défaut cette période est de 12 mois.
- Pour chaque mois, on crée un intervalle de temps.
- On réalise les différents report à nouveau pour équilibrer l'exercice précèdent et commencer avec les bons chiffre l'exercice nouvellement créer.
-| Post-condition :
+| Post-condition :
+
- L'intégralité de l'exercice est couvert par des intervalles de temps.
- La date de début d'exercice et la date de fin de l'exercice précédent se suivent.
@@ -211,6 +240,7 @@
- L'exercice ne doit pas être déjà clôturé.
- La date de fin d'exercice doit être atteinte pour pouvoir clôturer l'exercice.
+
| Description :
- La clôture de l'exercice entraine la clôture définitive de l'ensemble des intervalles de temps qui le compose.
@@ -218,8 +248,9 @@
- Il est alors possible de publier les documents comptables (ex: bilan, compte de résultat).
- Les reports à nouveau sont calculés et passés sur l'exercice suivant.
- Un backup de l'exercice est alors généré.
-| Post-condition :
+| Post-condition :
+
- L'ensemble des écritures n'est modifiable depuis Callao.
@@ -229,45 +260,56 @@
- Toutes les périodes d'un exercice clôturé sont clôturé.
- Un intervalle de temps dure 1 mois
+
| Scénario
- Cas 1: Clôture d'un intervalle de temps(TimeSpan).
-| Pré-condition :
+
+| Pré-condition :
+
- L'intervalle de temps ne doit pas être déjà clôturé.
- La date de fin de période doit être supérieure à la date de début de la période à clôturer.
+
| Description :
- Lorsque l'utilisateur clôture l'intervalle, l'ensemble des écritures du mois sont bloquées.
- S'ils ne le sont pas déjà, l'ensemble des mois précédents sont clôturés.
- L'utilisateur a toujours la possibilité de débloquer cet intervalle tant que
-l'exercice n'est pas clôturé lui même.
-| Post-condition :
+ l'exercice n'est pas clôturé lui même.
+| Post-condition :
+
- L'ensemble des écritures n'est plus modifiable depuis Callao.
- Les périodes précédents cet intervalle sont clôturés.
+
| Cas 2: Dé-clôturer un intervalle de temps.
| Pré-condition :
- L'intervalle de temps doit être clôturer.
- L'exercice dont il fait parti ne doit pas être clôturer.
+
| Description :
- L'intervalle de temps redevient modifiable par l'utilisateur.
- Le comptable peut alors ajouter, modifier ou supprimer des transactions sur cet intervalle.
- Tout les intervalles de temps qui le suivent sont dé-clôturés, si ils sont déjà clôturés.
- L'intervalle est de nouveau clôturable.
-| Post-Condition :
+
+| Post-Condition :
+
- Les écritures sont de nouveaux modifiables, les périodes suivantes sont dé-clôturés.
``Gérer Comptes``
-----------------
.. image:: uc/uc-comptes.png
+
| La seule petite particularité de ces cas d'utilisation est qu'on ne pourra pas modifier le numéro ou supprimer un compte sur lequel des écritures ont été passées.
``Gérer Fichiers``
------------------
.. image:: uc/uc-fichiers.png
+
Génère des fichiers pour sauvegarder ou échanger les données.
| **Cas d'utilisation** : UC Exporter vers Fichiers
@@ -282,8 +324,9 @@
- les comptes de l'entreprise
- les journaux
- Les exercices de l'entreprise.(Intervalle de temps, transactions, écritures...)
-| Post-condition :
+| Post-condition :
+
- Un fichier XML valide est généré.
| **Cas d'utilisation** : UC Importer depuis Fichiers
@@ -295,6 +338,7 @@
- L'utilisateur spécifie le chemin du fichier à importer.
- Le fichier est parsé, on supprime l'ensemble des données de la base
- On enregistre dans la base de données les informations récupérer du fichier.
+
| Cas exceptionnels
| Cas Exceptionnel 1 : Le fichier spécifier n'est pas valide ou n'existe pas.
| Description :
@@ -306,6 +350,7 @@
``Générer Etats``
-----------------
.. image:: uc/uc-etats.png
+
| On aura une génération d'états provisoires pour les périodes non clôturées, et définitif pour les périodes clôturées. On prévoit pour l'instant une génération en PDF. Cette génération pourra être effectuée à n'importe quel moment.
| **Cas d'utilisation** : UC Générer état
@@ -314,11 +359,13 @@
- Un état concerne un seul exercice.
- Un état sera prévisionnel tant que l'exercice concerné ne sera pas clôturé.
+
| Scénario
| Cas 1: Génération d'un état(Bilan, compte de résultat...).
| Pré-condition :
- Il faut que l'exercice existe pour pouvoir générer un état.
+
| Description :
- On solde les comptes concernés ( ex :produit et charge pour compte de résultat... ).
@@ -326,12 +373,14 @@
- On récupère les informations sur la société ( numéro siren, raison sociale...)
- On exporte dans un fichier au format pdf dont le chemin est prédéfini, l'état concerné.
- Si l'état n'est pas clôturé, le fichier indique que c'est un état prévisionnel.
-| Post-condition :
+| Post-condition :
+
- Un fichier pdf est créé.
``Synchronier Chorem``
----------------------
.. image:: uc/uc-liaison.png
+
| Cette liaison permet de récupérer des informations de facturation depuis Chorem afin de les passer en écriture dans Lima/Callao, de fait cette "couche de liaison" disposera d'informations persistantes de manière à associer les clients de Chorem à des comptes (client tartenpion = 4111tartenpion etc ...) et de répercuter les domaines tout en sachant aussi éviter les redondances et faciliter les corrections. Une fois les informations éxtraite de Chorem et les données de liaison mises à jour, ces données pourront être poussées dans Lima/Callao.
Modified: tags/lima-0.6-rc-1/src/site/rst/devel/modificationarchitecture.rst
===================================================================
--- tags/lima-0.6-rc-1/src/site/rst/devel/modificationarchitecture.rst 2012-08-24 15:01:31 UTC (rev 3639)
+++ tags/lima-0.6-rc-1/src/site/rst/devel/modificationarchitecture.rst 2012-08-24 15:23:18 UTC (rev 3640)
@@ -33,7 +33,7 @@
- Intégration de callao dans lima en tant que moteur par défaut
- Conservation de la possibilité de changer de moteur ou d'interface
- Suppression des DTO (utilisation des interfaces des entités metier
-générées)
+ générées)
Nouvelle architecture
Modified: tags/lima-0.6-rc-1/src/site/rst/lexique.rst
===================================================================
--- tags/lima-0.6-rc-1/src/site/rst/lexique.rst 2012-08-24 15:01:31 UTC (rev 3639)
+++ tags/lima-0.6-rc-1/src/site/rst/lexique.rst 2012-08-24 15:23:18 UTC (rev 3640)
@@ -22,6 +22,7 @@
.. * <http://www.gnu.org/licenses/gpl-3.0.html>.
.. * #L%
.. -
+
==========================
Lexique de la comptabilité
==========================
Modified: tags/lima-0.6-rc-1/src/site/rst/presentation.rst
===================================================================
--- tags/lima-0.6-rc-1/src/site/rst/presentation.rst 2012-08-24 15:01:31 UTC (rev 3639)
+++ tags/lima-0.6-rc-1/src/site/rst/presentation.rst 2012-08-24 15:23:18 UTC (rev 3640)
@@ -38,7 +38,6 @@
répondre aux besoins spécifiques de toute entreprise ou organisation, tout en
garantissant le maintien des données comptables.
-
Le logiciel est écrit en Java ce qui assure une compatibilité multiplateforme :
Windows, Mac OS X, Linux. Il peut-être installé en fonctionnement client monoposte,
ou en configuration client <–> serveur.
@@ -46,7 +45,6 @@
installé coté serveur, et l'interface est installée sur autant de poste client que
désiré.
-
Historique
----------
@@ -60,13 +58,13 @@
d'utiliser le moteur d'OFBiz Neogia. La première étape a donc été d’adapter une
interface autonome avec la technologie de bibliothèque graphique Java Swing.
-L'interface de LIMA_ est indépendant du moteur gérant la comptabilité. Il a donc
-été décidé de développer un moteur propre à Code lutin: CALLAO_.
+L'interface de Lima est indépendant du moteur gérant la comptabilité. Il a donc
+été décidé de développer un moteur propre à Code Lutin : Callao.
En 2010, l'application a été réécrite en majeur partie pour d'une part répondre le
plus fidèlement aux normes comptables, et d'autre part correspondre aux normes de
programmation de Code Lutin. LIMA s'appuie notamment sur les projets internes Topia,
- EuGene et JAXX.
+EuGene et JAXX.
Architecture
------------
Modified: tags/lima-0.6-rc-1/src/site/site_fr.xml
===================================================================
--- tags/lima-0.6-rc-1/src/site/site_fr.xml 2012-08-24 15:01:31 UTC (rev 3639)
+++ tags/lima-0.6-rc-1/src/site/site_fr.xml 2012-08-24 15:23:18 UTC (rev 3640)
@@ -31,6 +31,11 @@
<href>index.html</href>
</bannerLeft>
+ <bannerRight>
+ <src>http://www.codelutin.com/images/lutinorange-codelutin.png</src>
+ <href>http://www.codelutin.com</href>
+ </bannerRight>
+
<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
@@ -73,10 +78,21 @@
href="http://maven-site.chorem.org/public/css/maven-site-chorem.org.css"/>
</head>
+ <breadcrumbs>
+ <item name="${project.name}" href="${project.url}"/>
+ </breadcrumbs>
+
+ <links>
+ <item name="nuiton.org" href="http://www.nuiton.org"/>
+ <item name="chorem.org" href="http://www.chorem.org"/>
+ <item name="CodeLutin" href="http://codelutin.com"/>
+ <item name="Libre-Entreprise" href="http://www.libre-entreprise.org/"/>
+ </links>
+
<menu name="Le projet" inherit="top">
<item name="Présentation" href="presentation.html"/>
<item name="Fonctionnalités" href="features.html"/>
- <item name="Lancer Lima en ligne" href="lima-swing/jnlp/launch.jnlp"/>
+ <!--item name="Lancer Lima en ligne" href="lima-swing/jnlp/launch.jnlp" TODO jcouteau 24/08/2012 reactivate this when webstart is working/-->
<item name="Téléchargements"
href="http://www.chorem.org/projects/lima/files"/>
<item name="Contacts" href="contact.html"/>
1
0
Author: tchemit
Date: 2012-08-24 17:01:31 +0200 (Fri, 24 Aug 2012)
New Revision: 3639
Url: http://chorem.org/repositories/revision/lima/3639
Log:
fix timezone of developper + updates to jaxx 2.5.5
Modified:
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2012-08-24 14:54:56 UTC (rev 3638)
+++ trunk/pom.xml 2012-08-24 15:01:31 UTC (rev 3639)
@@ -292,7 +292,7 @@
<email>chatellier(a)codelutin.com</email>
<organization>Code Lutin</organization>
<organizationUrl>http://www.codelutin.com</organizationUrl>
- <timezone>+2</timezone>
+ <timezone>Europe/Paris</timezone>
<roles>
<role>Développeur</role>
</roles>
@@ -303,7 +303,7 @@
<email>chemit(a)codelutin.com</email>
<organization>Code Lutin</organization>
<organizationUrl>http://www.codelutin.com</organizationUrl>
- <timezone>+2</timezone>
+ <timezone>Europe/Paris</timezone>
<roles>
<role>Développeur</role>
</roles>
@@ -316,7 +316,7 @@
<email>chapelet(a)codelutin.com</email>
<organization>Code Lutin</organization>
<organizationUrl>http://www.codelutin.com</organizationUrl>
- <timezone>+2</timezone>
+ <timezone>Europe/Paris</timezone>
<roles>
<role>Développeur</role>
</roles>
@@ -326,7 +326,7 @@
<email>ore(a)codelutin.com</email>
<organization>Code Lutin</organization>
<organizationUrl>http://www.codelutin.com</organizationUrl>
- <timezone>+2</timezone>
+ <timezone>Europe/Paris</timezone>
<roles>
<role>Développeur</role>
</roles>
@@ -336,7 +336,7 @@
<email>pepin(a)codelutin.com</email>
<organization>Code Lutin</organization>
<organizationUrl>http://www.codelutin.com</organizationUrl>
- <timezone>+2</timezone>
+ <timezone>Europe/Paris</timezone>
<roles>
<role>Développeur</role>
</roles>
@@ -346,11 +346,21 @@
<email>salaun(a)codelutin.com</email>
<organization>Code Lutin</organization>
<organizationUrl>http://www.codelutin.com</organizationUrl>
- <timezone>+2</timezone>
+ <timezone>Europe/Paris</timezone>
<roles>
<role>Développeur</role>
</roles>
</contributor>
+ <contributor>
+ <name>mallon</name>
+ <email>mallon(a)codelutin.com</email>
+ <organization>Code Lutin</organization>
+ <organizationUrl>http://www.codelutin.com</organizationUrl>
+ <timezone>Europe/Paris</timezone>
+ <roles>
+ <role>Développeur</role>
+ </roles>
+ </contributor>
</contributors>
<!-- ************************************************************* -->
@@ -366,7 +376,7 @@
<nuitonUtilsVersion>2.5.3</nuitonUtilsVersion>
<eugenePluginVersion>2.4.2</eugenePluginVersion>
<topiaVersion>2.6.11</topiaVersion>
- <jaxxVersion>2.5.5-SNAPSHOT</jaxxVersion>
+ <jaxxVersion>2.5.5</jaxxVersion>
<nuitonI18nVersion>2.4.1</nuitonI18nVersion>
<openEjbVersion>4.0.0</openEjbVersion>
<slf4jVersion>1.6.6</slf4jVersion>
1
0