@extends('layouts.app') @section('content') @php // $getMonthsFromAccount = array_combine($getMonthsFromAccount->toArray(), dateFormat($getMonthsFromAccount->toArray(), DISPLAY_MONTH)); $getMonthsFromAccount = $getMonthsFromAccount ->mapWithKeys(function ($month) { return [$month => dateFormat($month, DISPLAY_MONTH)]; }) ->toArray(); // dumper($getMonthsFromAccount); @endphp
{{ __('common.search') }}
{{__('common.select_office')}}
{{-- {{ dumper(gettype($getMonthsFromAccount)); }} --}} {!! Form::select('office_id', $getOffices, null, ['class' => 'form-control select2']) !!}{{__('common.select_month')}}
{{-- {{ dumper(gettype($getMonthsFromAccount)); }} --}} {!! Form::select('month', $getMonthsFromAccount, null, ['class' => 'form-control select2']) !!}{{__('common.select_account_type')}}
{{-- {{ dumper(gettype($getMonthsFromAccount)); }} --}} {!! Form::select('account_type', $officeAccountType, null, ['class' => 'form-control select2']) !!}