diff --git a/resources/views/accounts/create.blade.php b/resources/views/accounts/create.blade.php index 36de7c194a..f8c9a2d403 100644 --- a/resources/views/accounts/create.blade.php +++ b/resources/views/accounts/create.blade.php @@ -36,7 +36,7 @@ {!! ExpandedForm::balance('openingBalance') !!} {!! ExpandedForm::date('openingBalanceDate', date('Y-m-d')) !!} - {!! ExpandedForm::select('accountRole',Config::get('firefly.accountRoles')) !!} + {!! ExpandedForm::select('accountRole',Config::get('firefly.accountRoles'),null,['helpText' => 'Any extra options resulting from your choice can be set later.']) !!} {!! ExpandedForm::balance('virtualBalance') !!} diff --git a/resources/views/accounts/edit.blade.php b/resources/views/accounts/edit.blade.php index b5c8465a95..341cf70051 100644 --- a/resources/views/accounts/edit.blade.php +++ b/resources/views/accounts/edit.blade.php @@ -38,6 +38,18 @@ + + @if(Session::get('preFilled')['accountRole'] == 'ccAsset') +
+
+ Credit card options +
+
+ Will be here. +
+
+ @endif +
diff --git a/resources/views/form/select.blade.php b/resources/views/form/select.blade.php index 127ef8849f..e47500beca 100644 --- a/resources/views/form/select.blade.php +++ b/resources/views/form/select.blade.php @@ -2,6 +2,9 @@
{!! Form::select($name, $list, $selected , $options ) !!} + @if(isset($options['helpText'])) +

{{$options['helpText']}}

+ @endif @include('form.feedback')