mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 22:35:03 +00:00
Fix for #1154
This commit is contained in:
@@ -93,6 +93,20 @@ class NewUserController extends Controller
|
|||||||
Preferences::mark();
|
Preferences::mark();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// set default optional fields:
|
||||||
|
$visibleFields = [
|
||||||
|
'interest_date' => true,
|
||||||
|
'book_date' => false,
|
||||||
|
'process_date' => false,
|
||||||
|
'due_date' => false,
|
||||||
|
'payment_date' => false,
|
||||||
|
'invoice_date' => false,
|
||||||
|
'internal_reference' => false,
|
||||||
|
'notes' => true,
|
||||||
|
'attachments' => true,
|
||||||
|
];
|
||||||
|
Preferences::set('transaction_journal_optional_fields', $visibleFields);
|
||||||
|
|
||||||
Session::flash('success', strval(trans('firefly.stored_new_accounts_new_user')));
|
Session::flash('success', strval(trans('firefly.stored_new_accounts_new_user')));
|
||||||
Preferences::mark();
|
Preferences::mark();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user