mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 05:03:13 +00:00
API will display journal location.
This commit is contained in:
@@ -25,6 +25,7 @@ namespace FireflyIII\Repositories\TransactionGroup;
|
||||
|
||||
use FireflyIII\Exceptions\DuplicateTransactionException;
|
||||
use FireflyIII\Exceptions\FireflyException;
|
||||
use FireflyIII\Models\Location;
|
||||
use FireflyIII\Models\TransactionGroup;
|
||||
use FireflyIII\Support\NullArrayObject;
|
||||
use FireflyIII\User;
|
||||
@@ -96,6 +97,16 @@ interface TransactionGroupRepositoryInterface
|
||||
*/
|
||||
public function getMetaFields(int $journalId, array $fields): NullArrayObject;
|
||||
|
||||
|
||||
/**
|
||||
* Get the location of a journal or NULL.
|
||||
*
|
||||
* @param int $journalId
|
||||
*
|
||||
* @return Location|null
|
||||
*/
|
||||
public function getLocation(int $journalId): ?Location;
|
||||
|
||||
/**
|
||||
* Get the note text for a journal (by ID).
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user