<form class="row g-3 auto-width" enctype='multipart/form-data' action="{{ route('export-accounts') }}" method="get">
    <!-- For validation comment on -->
    <!-- <form class="row g-3 was-validated"> -->
    @csrf
    @method('get')
    <div class="col-md-6">
        <label class="form-label">Export primary accounts</label>
        <div>
            <input type="checkbox" name="primary_accounts">
        </div>
    </div>
    <div class="col-md-6">
        <div>
            <label class="form-label">Account Type </label>
        </div>
        <div class="input-group">
            <select class="form-control" name="account_type">
                <option value="">All</option>
                @foreach($account_type as $value)
                    <option value="{!! $value->id !!}">{!! $value->type_name !!}</option>
                @endforeach
            </select>
        </div>
    </div>
    <div class="col-md-6">
        <div>
            <label class="form-label">Accounting Group </label>
        </div>
        <div class="input-group">
            <select class="form-control" name="account_group">
                <option value="">All</option>
                @foreach($accounting_groups as $value)
                    <option value="{!! $value->id !!}">{!! $value->name !!}</option>
                @endforeach
            </select>
        </div>
    </div>
</form>
