Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Removed amount_positive. This breaks the other half.
James Cole056c809754d8
diff --git a/app/Models/TransactionJournal.php b/app/Models/TransactionJournal.phpindex 5f8c9a6387..db0ba4d072 100644--- a/app/Models/TransactionJournal.php+++ b/app/Models/TransactionJournal.php@@ -97,22 +97,6 @@ class TransactionJournal extends Modelreturn $this->belongsToMany('FireflyIII\Models\Category');}- /**- * @return string- */- public function getAmountPositiveAttribute()- {- $amount = '0';- /** @var Transaction $t */- foreach ($this->transactions as $t) {- if ($t->amount > 0) {- $amount = $t->amount;- }- }-- return $amount;- }-/*** @codeCoverageIgnore*