mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-23 09:26:29 -06:00
Some bread crumbs and stuff [skip ci]
This commit is contained in:
parent
378b4abaf1
commit
f2cf0ed446
@ -871,6 +871,16 @@ Breadcrumbs::register(
|
||||
$breadcrumbs->push(trans('breadcrumbs.edit_journal', ['description' => $journal->description]), route('transactions.edit', [$journal->id]));
|
||||
}
|
||||
);
|
||||
|
||||
// also edit reconciliations:
|
||||
Breadcrumbs::register(
|
||||
'accounts.reconcile.edit',
|
||||
function (BreadCrumbGenerator $breadcrumbs, TransactionJournal $journal) {
|
||||
$breadcrumbs->parent('transactions.show', $journal);
|
||||
$breadcrumbs->push(trans('breadcrumbs.edit_reconciliation', ['description' => $journal->description]), route('accounts.reconcile.edit', [$journal->id]));
|
||||
}
|
||||
);
|
||||
|
||||
Breadcrumbs::register(
|
||||
'transactions.delete',
|
||||
function (BreadCrumbGenerator $breadcrumbs, TransactionJournal $journal) {
|
||||
|
@ -31,10 +31,12 @@ return [
|
||||
'deposit_list' => 'Revenue, income and deposits',
|
||||
'transfer_list' => 'Transfers',
|
||||
'transfers_list' => 'Transfers',
|
||||
'reconciliation_list' => 'Reconciliations',
|
||||
'create_withdrawal' => 'Create new withdrawal',
|
||||
'create_deposit' => 'Create new deposit',
|
||||
'create_transfer' => 'Create new transfer',
|
||||
'edit_journal' => 'Edit transaction ":description"',
|
||||
'edit_reconciliation' => 'Edit ":description"',
|
||||
'delete_journal' => 'Delete transaction ":description"',
|
||||
'tags' => 'Tags',
|
||||
'createTag' => 'Create new tag',
|
||||
|
@ -621,6 +621,7 @@ return [
|
||||
'cash_accounts' => 'Cash accounts',
|
||||
'Cash account' => 'Cash account',
|
||||
'reconcile_account' => 'Reconcile account ":account"',
|
||||
'delete_reconciliation' => 'Delete reconciliation',
|
||||
'update_reconciliation' => 'Update reconciliation',
|
||||
'amount_cannot_be_zero' => 'The amount cannot be zero',
|
||||
'end_of_reconcile_period' => 'End of reconcile period: :period',
|
||||
|
Loading…
Reference in New Issue
Block a user