
    <div class="card">
        <div class="panel-container show">
            <div class="panel-content">         
            
                <ul class="nav nav-pills header" role="tablist">
                    <li class="nav-item"><a class="nav-link active" data-toggle="tab" href="#assgn" role="tab">Assign to Office</a></li>
                    <li class="nav-item"><a class="nav-link" data-toggle="tab" href="#newrec" role="tab">New Record</a></li>
                </ul>
                <div class="tab-content p-3">
                    <div class="tab-pane fade show active" id="assgn" role="tabpanel" aria-labelledby="tab-home">                        
                        <?php include 'reqAssign.php';?>
                    </div>
                    
                    <div class="tab-pane fade" id="newrec" role="tabpanel" aria-labelledby="tab-profile">
                        <?php include 'newReq.php';?>
                    </div>
              
                </div>
            </div>
        </div>
    </div>

<?php 
    include 'modal_client.php';
?>

<script type="text/javascript">
    $(document).ready(function () {

        $("#reqType").change(function () {
			$(this).after('<div id="loader"><img src="../img/ajax_loader.gif" alt="loading...." width="30" height="30" /></div>');           
            $.get('load_data_prj?tpe_id=' + $(this).val() , function (data) {
             $("#resul").html(data);
                $('#loader').slideUp(910, function () {
                    $(this).remove();
                });
            });
        });

    });
</script>
