<div class="right_col" role="main">
          <div class="">
            <div class="page-title">
                <div class="title_left">
                    <h3>Budget</h3>
                </div>
            </div>
            <div class="clearfix"></div>

            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>View Budget</h2>
                    <ul class="nav navbar-right panel_toolbox">
                      <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a></li>
                    </ul>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">

            <form class="form-group" style="margin-top:10px;" method="post" action="<?php echo  base_url(); ?>account/view_income_budget/">
                        <div class="row">
                        <div class="col-md-5">
                        <label class="control-label col-md-2 col-sm-2 col-xs-12" for="name">To:<span class="required">*</span>
                        </label>
                        <div class="col-md-10 col-sm-10 col-xs-10">
                        <select class="form-control" name="date1" required >
                         <option value="">--Select Start Month--</option>
                         <?php echo $d1; ?>
                         </select>                     
                        </div>
                      </div> 
                      
                      <div class="col-md-5">
                      
                        <label class="control-label col-md-2 col-sm-2 col-xs-12" for="name">From:<span class="required">*</span>
                        </label>
                        <div class="col-md-10 col-sm-10 col-xs-10">
                        <select class="form-control" name="date2" required >
                         <option value="">--Select End Month--</option>
                         <?php echo $d2; ?>
                         </select>                   
                        </div>
                      </div> 
                      </div>
                     <div class="row" style="margin-top:20px">
                      <div class="col-md-5">
                      
                        <label class="control-label col-md-2 col-sm-2 col-xs-12" for="name">Head<span class="required">*</span>
                        </label>
                        <div class="col-md-10 col-sm-10 col-xs-10">
                        <select name="type" class="form-control" required>
                        <option value="">--Select Head--</option>
                        <?php foreach ($head as $key => $value) { ?>
                          <option value="<?php echo $value['id']; ?>"><?php echo $value['name']; ?></option>
                       <?php  } ?>
                        </select> 
                                          
                        </div>
                      </div>
                      <div class="col-md-5 pull-right" style="margin-top:10px">
                      <button type="submit" id="srch" class="btn btn-success">Next</button>
                      </div>
                      </div>
                      </div>
                      </form>
                </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- /page content -->
        <script src="<?php echo base_url(); ?>assets/vendors/jquery/dist/jquery.min.js"></script>