<style>
    form{
        display:flex;
        border-radius:5px;
    }
    .form-group{
        width:20%;
        padding:10px 10px;
    }
</style>

<div class="container-fluid bg-white">
    <div class="row">
        <div class="col-sm-12 pt-3 pb-3">
            
            <ul class="breadcrumb">
                <li class="breadcrumb-item">
                    <a href="<?php echo base_url(); ?>Welcome">Home</a>
                </li>
                <li class="breadcrumb-item">Fee Defaulter \ Paid </li>
            </ul> 
            
            
            <form method="post" action="<?php echo base_url(); ?>Fee/defaulter_new_data">
                <div class="form-group">
                    <label>Month From</label>
                    <select class="form-control" name="month_from">
                        <option value="4">April</option>
                        <option value="5">May</option>
                        <option value="6">June</option>
                        <option value="7">July</option>
                        <option value="8">August</option>
                        <option value="9">September</option>
                        <option value="10">October</option>
                        <option value="11">November</option>
                        <option value="12">December</option>
                        <option value="1">January</option>
                        <option value="2">February</option>
                        <option value="3">March</option>
                    </select>
                </div>
                
                <div class="form-group">
                    <label>Month To</label>
                    <select class="form-control" name="month_to">
                        <option value="3">March</option>
                        <option value="2">February</option>
                        <option value="1">January</option>
                        <option value="12">December</option>
                        <option value="11">November</option>
                        <option value="10">October</option>
                        <option value="9">September</option>
                        <option value="8">August</option>
                        <option value="7">July</option>
                        <option value="6">June</option>
                        <option value="5">May</option>
                        <option value="4">April</option>
                    </select>
                
                </div>
                <div class="form-group">
                    <label>Class</label>
                    <select class="form-control" name="course">
                        <!--<option value="all">All</option>-->
                        <?php 
                        $table="courses";
                        $get_all_courses_data=$this->NewFeeModel->get_data($table);
                        if($get_all_courses_data){
                            foreach($get_all_courses_data as $c_data){
                        ?>
                        <option value="<?php echo $c_data['id']; ?>"><?php echo $c_data['course']." ".$c_data['subject_stream']; ?></option>
                        <?php
                            }
                        }
                        ?>
                    </select>
                </div>
                <div class="form-group">
                    <label>Status</label>
                    <select class="form-control" name="status">
                        <option value="Paid">Paid</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>&nbsp;</label>
                    <br>
                    <button class="search-btn btn btn-info" type="submit" name="search">Search</button>
                </div>
            </form>
        </div>
    </div>
</div>