
<div class="portlet box blue">
    <div class="portlet-title">
        <div class="caption">
            <i class="fa fa-gift"></i>Search By Date Range
        </div>
    </div>
    <div class="portlet-body">
        <!-- BEGIN FORM-->
        <form id="dxb_debtors_detailed_report" class="form-horizontal" method="post">
            <div class="form-actions top fluid ">                
                <div class="form-body">
                    <div class="form-group">
                        <label class="control-label col-md-3">Date as of</label>
                        <div class="col-md-4">
                             <input class="form-control form-control-inline input-medium date-picker" size="16" type="text" data-date-format=yyyy-mm-dd name="date_as_of" id="date_as_of" value="<?php echo date('Y-m-d') ?>"/>
                        </div>
                    </div>
                    <div class="form-actions fluid">
                        <div class="row">
                            <div class="col-md-12">
                                <div class="col-md-offset-3 col-md-9">
                                    <button type="submit" class="btn green"><i class="fa fa-check"></i> View Report</button>
                                    <button type="button" class="btn purple" id="btn_download_dxb_debtors_detailed_report"><i class="fa fa-download"></i> Download Excel</button>
                                    <button type="button" class="btn default">Clear</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                </div>
            </div>
        </form>
        <!-- END FORM-->
    </div>
</div>
            
<!--<a class="pull-right btn btn-primary btn-xs" href="<?php // echo base_url().'sales_report';?>"><i class="fa fa-file-excel-o"></i> Export Data</a>-->
<table class="table table-striped table-bordered table-hover" id="view_dxb_debtors_detailed_report"></table>
