Request kWh Amount

{!! Form::open(['id' => 'kwhForm', 'class' => 'form-horizontal']) !!} {!! Form::hidden('id', null, ['id' => 'id']) !!} {!! Form::hidden('project_id', $current_project ? $current_project->id : null) !!} {{ csrf_field() }}
{{-- Full Name --}}
{{-- Phone Number --}}
{{-- Address --}}
{!! Form::label('address', 'Address', ['class' => 'form-label']) !!} {!! Form::textarea('address', '', [ 'class' => 'form-control', 'id' => 'address', 'placeholder' => 'Enter full address', 'rows' => 2 ]) !!}
{{-- City --}}
{!! Form::label('city', 'City', ['class' => 'form-label']) !!} {!! Form::text('city', '', [ 'class' => 'form-control', 'id' => 'city', 'placeholder' => 'Enter city' ]) !!}
{{-- State --}}
{{ Form::select('state_id', $states, '', ['class' => 'standardSelect form-control', 'title' => 'Select State', 'data-live-search' => 'true', 'id' => 'state_id', 'data-dropup-auto' => 'false', 'data-size' => '5']) }}
{{-- Pincode --}}
{!! Form::label('pincode', 'Pincode', ['class' => 'form-label']) !!} {!! Form::text('pincode', '', [ 'class' => 'form-control', 'id' => 'pincode', 'placeholder' => 'Enter pincode' ]) !!}
{{-- kWh Amount --}}
{!! Form::label('kwh_amount', 'Choose kWh amount:', ['class' => 'form-label']) !!} {{-- @php $kwhOptions = range(10, 100, 10); $kwhSelectOptions = collect($kwhOptions)->mapWithKeys(fn($item) => [$item => "$item kWh"])->toArray(); @endphp {!! Form::select('kwh_amount', ['' => 'Select kWh'] + $kwhSelectOptions, null, [ 'class' => 'form-select', 'id' => 'kwh_amount', 'required' => true ]) !!} --}} {!! Form::select('project_template_id', $fixed_templates, '', [ 'class' => 'standardSelect form-control', 'title' => 'Select Project', 'data-live-search' => 'true', 'id' => 'project_template_id', 'data-dropup-auto' => 'false', 'data-size' => '5', ]) !!}
{{-- Description --}}
{!! Form::label('description', 'Description', ['class' => 'form-label']) !!} {!! Form::textarea('description', '', [ 'class' => 'form-control', 'id' => 'description', 'placeholder' => "Enter Description :", 'rows' => 3, 'required' => true ]) !!}
{{-- Status --}}
{!! Form::close() !!}