From 2d371fdd6b9d805e7d7b35f53c3c626fa1408740 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 6 Apr 2015 10:58:16 +0100 Subject: Implement Ledger output --- src/Item/BudgetTransaction.php | 1 + src/Item/LedgerPosting.php | 11 +++++++++++ src/Item/LedgerTransaction.php | 11 +++++++++++ src/Item/RegisterTransaction.php | 3 ++- 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 src/Item/LedgerPosting.php create mode 100644 src/Item/LedgerTransaction.php (limited to 'src/Item') diff --git a/src/Item/BudgetTransaction.php b/src/Item/BudgetTransaction.php index e4899f9..e073ed2 100644 --- a/src/Item/BudgetTransaction.php +++ b/src/Item/BudgetTransaction.php @@ -7,4 +7,5 @@ class BudgetTransaction { public $category = []; public $in; public $out; + public $currency; } diff --git a/src/Item/LedgerPosting.php b/src/Item/LedgerPosting.php new file mode 100644 index 0000000..79aeb49 --- /dev/null +++ b/src/Item/LedgerPosting.php @@ -0,0 +1,11 @@ +