<div class="modal fade" id="agentModal" tabindex="-1" role="dialog" aria-labelledby="agentModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="agentModalLabel">Pilih Agen</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="row mb-2">
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="search_no_agen">Agent No</label>
                            <input type="text" id="search_no_agen" class="form-control" placeholder="Input No Agen...">
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="search_nama">Agent Name</label>
                            <input type="text" id="search_nama" class="form-control" placeholder="Input Nama Agen...">
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="search_title">Title</label>
                            <select id="search_title" class="form-control">
                                <option value="">Input Title Agen...</option>
                                <option value="FC">FC</option>
                                <option value="AM">AM</option>
                                <option value="SAM">SAM</option>
                                <option value="BP">BP</option>
                            </select>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="search_kpa_code">KPA Code</label>
                            <input type="text" id="search_kpa_code" class="form-control" placeholder="Input KPA Code...">
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="search_kpa_name">KPA Name</label>
                            <input type="text" id="search_kpa_name" class="form-control" placeholder="Input KPA Name...">
                        </div>
                    </div>
                    <div class="col-md-4" style="margin-top: 2em;">
                        <button type="button" id="filter_btn" class="btn btn-primary">Filter</button>
                    </div>
                </div>
                <hr>
                <div class="table-responsive">
                    <table id="agent_finder" class="table table-bordered table-striped">
                        <thead>
                            <tr>
                                <th>No Agen</th>
                                <th>Nama Agen</th>
                                <th>Title</th>
                                <th>KPA Code</th>
                                <th>KPA Name</th>
                                <th>License Expired Date</th>
                                <th>Action</th>
                            </tr>
                        </thead>
                        <tbody id="agent-list">
                            <!-- Data agen akan di-load melalui DataTable -->
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
