mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
Remove primary currency from views, add some debug for #10854
This commit is contained in:
@@ -117,7 +117,6 @@ class CreateController extends Controller
|
||||
$optionalFields = app('preferences')->get('transaction_journal_optional_fields', [])->data;
|
||||
$allowedOpposingTypes = config('firefly.allowed_opposing_types');
|
||||
$accountToTypes = config('firefly.account_to_transaction');
|
||||
$primaryCurrency = $this->primaryCurrency;
|
||||
$previousUrl = $this->rememberPreviousUrl('transactions.create.url');
|
||||
$parts = parse_url((string) $previousUrl);
|
||||
$search = sprintf('?%s', $parts['query'] ?? '');
|
||||
@@ -145,26 +144,6 @@ class CreateController extends Controller
|
||||
|
||||
session()->put('preFilled', $preFilled);
|
||||
|
||||
return view(
|
||||
'transactions.create',
|
||||
compact(
|
||||
'subTitleIcon',
|
||||
'cash',
|
||||
'longitude',
|
||||
'latitude',
|
||||
'zoomLevel',
|
||||
'objectType',
|
||||
'optionalDateFields',
|
||||
'subTitle',
|
||||
'primaryCurrency',
|
||||
'previousUrl',
|
||||
'optionalFields',
|
||||
'preFilled',
|
||||
'allowedOpposingTypes',
|
||||
'accountToTypes',
|
||||
'sourceId',
|
||||
'destinationId'
|
||||
)
|
||||
);
|
||||
return view('transactions.create', compact('subTitleIcon', 'cash', 'longitude', 'latitude', 'zoomLevel', 'objectType', 'optionalDateFields', 'subTitle', 'previousUrl', 'optionalFields', 'preFilled', 'allowedOpposingTypes', 'accountToTypes', 'sourceId', 'destinationId'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user