<form class="row g-3 auto-width" action="{{ route('store-clearance-settings', $id) }}" method="post" enctype='multipart/form-data' id="form">
    @csrf

    <!-- Hidden input for voucher_type_code -->

    <div class="col-md-12">
        <label for="frequency" class="form-label">Departments <span class="text-danger"><b>*</b></span></label>
        <select class="form-control" id="department_id" name="department_id" required>
            @foreach($departments as $department)
            <option value="{{ $department->id }}">{{ $department->name }}</option>
            @endforeach
        </select>
    </div>
</form>
