Updated hasManyThrough

This commit is contained in:
James Cole 2014-11-28 07:40:59 +01:00
parent 5a920d5efd
commit 98993cfa9b

View File

@ -92,7 +92,7 @@ class Account extends Ardent
*/
public function transactionjournals()
{
return $this->hasManyThrough('TransactionJournal', 'Transaction');
return $this->hasManyThrough('TransactionJournal', 'Transaction','transaction_journal_id','id');
}
/**