<form class="row g-3 auto-width" action="{{ route('incentive-settings.update', $incentive_setting->id)}}" method="post" enctype='multipart/form-data' id="source_form">
    @csrf
    @method("PATCH")

    {{-- Accounts --}}
    <div class="col-md-12">
        <div>
            <label for="account_id" class="form-label">Account <span class="text-danger"><b>*</b></span></label>
        </div>
        <div class="input-group">
            {{-- <select class="single-select form-control" name="account_id" disabled>
                @foreach ($account as $list)
                <option value="{{ $list->id }}" {{ $list->id == $incentive_setting->account_id ? 'selected' : '' }}>
                    {{ $list->name }}
                @endforeach
            </select> --}}
            <input type="text" name="account_id" class="form-control" value="{{ $incentive_setting->getAccount->name }}" disabled>
        </div>
        <span class="text-danger error_account_id" style="display: none;">This field is required.</span>
    </div>
    {{-- Category --}}
    <div class="col-md-6">
        <div>
            <label for="slab_id" class="form-label">Slab <span class="text-danger"><b>*</b></span></label>
        </div>
        <div class="input-group">
            <select class="single-select form-control" name="slab_id">
                @foreach ($slab as $list)
                    <option value="{{ $list->id }}" {{ $list->id == $incentive_setting->slab_id ? 'selected' : '' }}>
                        {{ $list->slab_name }}
                @endforeach
            </select>
        </div>
        <span class="text-danger error_slab_id" style="display: none;">This field is required.</span>
    </div>
     <!-- Date UpTo -->
     <div class="col-md-6">
        <label for="date_upto" class="form-label">Date upto <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="date_upto" name="date_upto" aria-describedby="inputGroupPrepend" required value="{{$incentive_setting->date_upto}}" readonly>
        <span class="text-danger error_date_upto" style="display:none;">This field is required.</span>
    </div>
</form>

