budgets()->get(['budgets.*']); $list = []; /** @var BudgetModel $budget */ foreach ($result as $budget) { $list[$budget->id] = $budget->name; } asort($list); $list = [0 => trans('firefly.csv_do_not_map')] + $list; return $list; } }