Skip to content

Commit

Permalink
improved rendering of invoice reports. close #2310
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Feb 9, 2024
1 parent 6182199 commit e544fa0
Show file tree
Hide file tree
Showing 4 changed files with 253 additions and 233 deletions.
Binary file modified j-lawyer-client/lib/j-lawyer-cloud/j-lawyer-cloud.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -703,13 +703,11 @@ public ReportingPanel() {
invoicesOpen.setTypeChart(true);
invoicesOpen.setTypeTable(true);
invoicesOpen.setSecurityType(Report.SECURITY_COMMON);
Date fromDate=new Date();
fromDate.setMonth(0);
fromDate.setDate(1);
Date fromDate=new Date(System.currentTimeMillis() - 30l*24l*60l*60l*1000l);
invoicesOpen.setDefaultBeginDate(fromDate);
invoicesOpen.setDateSelectionLabel("erstellt");
invoicesOpen.setDateSelectionLabel("fällig");
// display open invoices for 35 days into the future
Date toDate=new Date(System.currentTimeMillis() + 35l*24l*60l*60l*1000l);
Date toDate=new Date(System.currentTimeMillis() + 30l*24l*60l*60l*1000l);
invoicesOpen.setDefaultEndDate(toDate);
allReports.add(invoicesOpen);

Expand All @@ -723,11 +721,9 @@ public ReportingPanel() {
invoicesOverdue.setTypeChart(true);
invoicesOverdue.setTypeTable(true);
invoicesOverdue.setSecurityType(Report.SECURITY_COMMON);
fromDate=new Date();
fromDate.setMonth(0);
fromDate.setDate(1);
fromDate=new Date(System.currentTimeMillis() - 30l*24l*60l*60l*1000l);
invoicesOverdue.setDefaultBeginDate(fromDate);
toDate=new Date();
toDate=new Date(System.currentTimeMillis() + 1l*24l*60l*60l*1000l);
invoicesOverdue.setDefaultEndDate(toDate);
invoicesOverdue.setDateSelectionLabel("fällig");
allReports.add(invoicesOverdue);
Expand Down
Binary file modified j-lawyer-server/j-lawyer-server-ejb/lib/j-lawyer-cloud.jar
Binary file not shown.
Loading

0 comments on commit e544fa0

Please sign in to comment.