Update rule controller to have some auto complete functionality.

This commit is contained in:
James Cole
2017-01-20 19:50:22 +01:00
parent 8635fe7ebb
commit 50e39a4a75
8 changed files with 179 additions and 34 deletions

View File

@@ -137,6 +137,14 @@ class JournalRepository implements JournalRepositoryInterface
return $entry;
}
/**
* @return Collection
*/
public function getTransactionTypes(): Collection
{
return TransactionType::orderBy('type', 'ASC')->get();
}
/**
* @param array $data
*