• R/O
  • SSH
  • HTTPS

aoiro: Commit


Commit MetaInfo

Revision112 (tree)
Time2022-06-08 15:37:02
Authorhirukawa_ryo

Log Message

* aoiro 1.0.8
貸借対照表のレイアウトで表示科目「事業主貸」または「事業主借」に含まれる勘定科目は期末に「事業主貸」または「事業主借」に自動で振り替えるようにしました。
振替仕訳の追加されないバグを修正しました。

Change Summary

Incremental Difference

--- aoiro/trunk/src/main/java/net/osdn/aoiro/AccountSettlement.java (revision 111)
+++ aoiro/trunk/src/main/java/net/osdn/aoiro/AccountSettlement.java (revision 112)
@@ -207,6 +207,7 @@
207207 Debtor debtor = new Debtor(accountTitle, -total);
208208 Creditor creditor = new Creditor(investmentsByOwner, -total);
209209 JournalEntry entry = new JournalEntry(date, "事業主借への振替", Arrays.asList(debtor), Arrays.asList(creditor));
210+ journalEntries.add(entry);
210211 }
211212 }
212213 }
@@ -246,6 +247,7 @@
246247 Debtor debtor = new Debtor(withdrawalsByOwner, -total);
247248 Creditor creditor = new Creditor(accountTitle, -total);
248249 JournalEntry entry = new JournalEntry(date, "事業主貸への振替", Arrays.asList(debtor), Arrays.asList(creditor));
250+ journalEntries.add(entry);
249251 }
250252 }
251253 }
Show on old repository browser