*/ public function index(): array { return [ 'loan_types' => LoanTypeRepo::onlyGuarantor(), 'regions' => RegionRepo::values(), 'educations' => $this->educationValues(), 'marriage_statuses' => MarriageRepo::values(), 'passport_series' => PassportRepo::values(), ]; } /** * Education values * * @return array */ public function educationValues(): array { return [ EducationRepo::MIDDLE_SCHOOL => __('Middle school'), EducationRepo::UNFINISHED_HIGH_EDUCATION => __('Unfinished high education'), EducationRepo::HIGH_EDUCATION => __('High education'), ]; } }