mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix some view issues reported in #2436
This commit is contained in:
@@ -65,6 +65,8 @@ class CreateController extends Controller
|
||||
*/
|
||||
public function create(?string $objectType)
|
||||
{
|
||||
app('preferences')->mark();
|
||||
|
||||
/** @var AccountRepositoryInterface $repository */
|
||||
$repository = app(AccountRepositoryInterface::class);
|
||||
$cash = $repository->getCashAccount();
|
||||
|
@@ -1091,6 +1091,11 @@ try {
|
||||
if ($group->transactionJournals()->count() > 1) {
|
||||
$title = limitStringLength($group->title);
|
||||
}
|
||||
if('opening balance' === $type) {
|
||||
|
||||
$breadcrumbs->push($title, route('transactions.show', [$group->id]));
|
||||
return;
|
||||
}
|
||||
|
||||
$breadcrumbs->parent('transactions.index', $type);
|
||||
$breadcrumbs->push($title, route('transactions.show', [$group->id]));
|
||||
|
Reference in New Issue
Block a user