]> git.ktnx.net Git - mobile-ledger-staging.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/model/LedgerTransactionAccount.java
NT: new rules for determining whether transaction can be submitted (not quite finished)
[mobile-ledger-staging.git] / app / src / main / java / net / ktnx / mobileledger / model / LedgerTransactionAccount.java
index ba80ac615f4991bdd8d237b0f07779510d76840d..28931b8c63d8353fbaa0d26dd15d0ae16054159e 100644 (file)
@@ -37,6 +37,10 @@ public class LedgerTransactionAccount {
     public LedgerTransactionAccount(String accountName) {
         this.accountName = accountName;
     }
+    public LedgerTransactionAccount(String accountName, String currency) {
+        this.accountName = accountName;
+        this.currency = currency;
+    }
     public LedgerTransactionAccount(LedgerTransactionAccount origin) {
         // copy constructor
         setAccountName(origin.getAccountName());