mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Many updates to get split transactions and normal transactions working side by side.
This commit is contained in:
@@ -427,6 +427,7 @@ class ExpandedForm
|
||||
*/
|
||||
protected function expandOptionArray(string $name, $label, array $options): array
|
||||
{
|
||||
$name = str_replace('[]', '', $name);
|
||||
$options['class'] = 'form-control';
|
||||
$options['id'] = 'ffInput_' . $name;
|
||||
$options['autocomplete'] = 'off';
|
||||
@@ -494,6 +495,7 @@ class ExpandedForm
|
||||
if (isset($options['label'])) {
|
||||
return $options['label'];
|
||||
}
|
||||
$name = str_replace('[]', '', $name);
|
||||
|
||||
return strval(trans('form.' . $name));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user