mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-02 05:29:12 -06:00
Ask for CC number when asset is a CC. #784
This commit is contained in:
parent
0a8e6e9f07
commit
4aaacf8e2e
@ -194,7 +194,7 @@ class AccountController extends Controller
|
||||
|
||||
return view(
|
||||
'accounts.edit', compact(
|
||||
'allCurrencies', 'currencySelectList', 'account', 'currency', 'subTitle', 'subTitleIcon', 'what', 'roles'
|
||||
'allCurrencies', 'currencySelectList', 'account', 'currency', 'subTitle', 'subTitleIcon', 'what', 'roles', 'preFilled'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
@ -100,6 +100,7 @@ return [
|
||||
'code' => 'Code',
|
||||
'iban' => 'IBAN',
|
||||
'accountNumber' => 'Account number',
|
||||
'creditCardNumber' => 'Credit card number',
|
||||
'has_headers' => 'Headers',
|
||||
'date_format' => 'Date format',
|
||||
'specifix' => 'Bank- or file specific fixes',
|
||||
|
@ -33,7 +33,11 @@
|
||||
<div class="box-body">
|
||||
{{ ExpandedForm.text('iban') }}
|
||||
{{ ExpandedForm.text('BIC', null, {maxlength: 11}) }}
|
||||
{{ ExpandedForm.text('accountNumber') }}
|
||||
{% if preFilled.accountRole == 'ccAsset' %}
|
||||
{{ ExpandedForm.text('accountNumber', null , {label:trans('form.creditCardNumber')}) }}
|
||||
{% else %}
|
||||
{{ ExpandedForm.text('accountNumber') }}
|
||||
{% endif %}
|
||||
|
||||
{% if account.accounttype.type == 'Default account' or account.accounttype.type == 'Asset account' %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user