@extends('office-panel.office_layouts.app') @section('content') @php // $getMonthsFromAccount = array_combine($getMonthsFromAccount->toArray(), dateFormat($getMonthsFromAccount->toArray(), DISPLAY_MONTH)); $getMonthsFromAccount = $getMonthsFromAccount ->mapWithKeys(function ($month1) { return [$month1 => dateFormat($month1, DISPLAY_MONTH)]; }) ->toArray(); // dumper($getMonthsFromAccount); @endphp

{{ __('common.apply_filter') }}

{!! Form::open(['route' => 'ledger.index', 'method' => 'get', 'id' => 'form-search']) !!}

{{ __('common.search') }}

{{__('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']) !!}
{!! Form::label('per_page', __('common.per_page'), ['class' => 'mb-2']) !!} {!! Form::select('perPage', perPage(), null, [ 'class' => 'form-control form-select select2', 'id' => 'perPage', ]) !!}
{{ __('common.clear') }}
{!! Form::close() !!}
@endsection @section('bottom_script') @endsection