Complete accounts and bills end point.

This commit is contained in:
James Cole
2018-12-09 13:09:43 +01:00
parent 108d43f967
commit 97f6e68164
7 changed files with 299 additions and 25 deletions

View File

@@ -35,7 +35,6 @@ use Illuminate\Support\Collection;
*/
interface AccountRepositoryInterface
{
/**
* Moved here from account CRUD.
*
@@ -167,6 +166,13 @@ interface AccountRepositoryInterface
*/
public function getOpeningBalanceDate(Account $account): ?string;
/**
* @param Account $account
*
* @return Collection
*/
public function getPiggyBanks(Account $account): Collection;
/**
* Find or create the opposing reconciliation account.
*
@@ -176,6 +182,13 @@ interface AccountRepositoryInterface
*/
public function getReconciliation(Account $account): ?Account;
/**
* @param Account $account
*
* @return bool
*/
public function isAsset(Account $account): bool;
/**
* @param Account $account
*