Skip to content

Firefly III: a personal finances manager

Removed amount_positive. This breaks the other half.

James Cole056c809754d8
diff --git a/app/Models/TransactionJournal.php b/app/Models/TransactionJournal.php
index 5f8c9a6387..db0ba4d072 100644
--- a/app/Models/TransactionJournal.php
+++ b/app/Models/TransactionJournal.php
@@ -97,22 +97,6 @@ class TransactionJournal extends Model
return $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
*