mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 12:12:18 +00:00
First attempt at displaying a group.
This commit is contained in:
@@ -23,6 +23,7 @@ declare(strict_types=1);
|
||||
namespace FireflyIII\Models;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use FireflyIII\Exceptions\FireflyException;
|
||||
use FireflyIII\User;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
|
||||
@@ -169,9 +170,11 @@ class TransactionJournal extends Model
|
||||
*
|
||||
* @return TransactionJournal
|
||||
* @throws NotFoundHttpException
|
||||
* @throws FireflyException
|
||||
*/
|
||||
public static function routeBinder(string $value): TransactionJournal
|
||||
{
|
||||
throw new FireflyException('Journal binder is permanently out of order.');
|
||||
if (auth()->check()) {
|
||||
$journalId = (int)$value;
|
||||
/** @var User $user */
|
||||
|
Reference in New Issue
Block a user