Some new report data. Also, the report page now uses in excess of 3000 queries. Lol

This commit is contained in:
James Cole
2014-12-06 09:16:54 +01:00
parent 1997666196
commit f4ecf2d1aa
6 changed files with 301 additions and 22 deletions

View File

@@ -110,14 +110,6 @@ class Account extends Ardent
$query->with(['accountmeta']);
}
/**
* @return \Illuminate\Database\Eloquent\Relations\HasManyThrough
*/
public function transactionjournals()
{
return $this->hasManyThrough('TransactionJournal', 'Transaction', 'transaction_journal_id', 'id');
}
/**
* Transactions.
*