<div class="container-fluid">
    <!-- ============================================================== -->
    <!-- Start Page Content -->
    <!-- ============================================================== -->
    <div class="row">
        <div class="col-md-12">
            <div class="card card-outline-info">
                <div class="card-header">

                    <h6 class="m-b-0 text-white">Re-Test Report</h6>
                </div>

                <div class="card-body custom-card">
                    <div class="col-md-5" style="margin: 0 auto">
                        <br>
                        <h4 class="card-title text-center">Re-Test Report</h4>
                        <h6 class="card-subtitle text-center">You can generate daily, monthly & yearly re-test report</h6>
                        <div class="custom-tab">
                            <ul class="nav nav-tabs customtab" role="tablist">
                                <li class="nav-item"> <a class="nav-link active" data-toggle="tab" href="#tab1" role="tab"><span class="hidden-sm-up"><i class="ti-home"></i></span> <span class="hidden-xs-down">Daily</span></a> </li>
                                <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#tab2" role="tab"><span class="hidden-sm-up"><i class="ti-home"></i></span> <span class="hidden-xs-down">Date Range</span></a> </li>
                                <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#tab3" role="tab"><span class="hidden-sm-up"><i class="ti-user"></i></span> <span class="hidden-xs-down">Monthly</span></a> </li>
                                <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#tab4" role="tab"><span class="hidden-sm-up"><i class="ti-email"></i></span> <span class="hidden-xs-down">Yearly</span></a> </li>
                            </ul>
                            <!-- Tab panes -->
                            <div class="tab-content">
                                <div class="tab-pane active" id="tab1" role="tabpanel">
                                    <div class="p-20">
                                        <form id="daily">
                                            <div class="row">
                                                <div class="col-md-12">
                                                    <div class="form-group has-success">
                                                        <label class="control-label">Select Date</label>
                                                        <input type="text" name="date" id="date" class="form-control datepicker" data-provide="datepicker" data-date-format="dd-mm-yyyy"
                                                        value="<?php echo date('d/m/Y')?>" placeholder="Select Date" autocomplete="off">
                                                    </div>
                                                </div>
                                                <div class="col-md-12">
                                                    <div class="form-actions">
                                                        <button type="button" class="btn btn-success" id="date-report"> <i class="fa fa-check"></i> Generate Report</button>
                                                        <button type="reset" class="btn btn-danger"><i class="fa fa-times"></i> Cancel</button>
                                                    </div>
                                                </div>
                                            </div>
                                        </form>
                                    </div>
                                </div>
                                <div class="tab-pane" id="tab2" role="tabpanel">
                                    <div class="p-20">
                                        <form id="daily">
                                            <div class="row">
                                                <div class="col-md-6">
                                                    <div class="form-group has-success">
                                                        <label class="control-label">Start Date</label>
                                                        <input type="text" name="date" id="start_date" class="form-control datepicker" data-provide="datepicker" data-date-format="dd-mm-yyyy" placeholder="Select Date" autocomplete="off">
                                                    </div>
                                                </div>
                                                <div class="col-md-6">
                                                    <div class="form-group has-success">
                                                        <label class="control-label">End Date</label>
                                                        <input type="text" name="date" id="end_date" class="form-control datepicker" data-provide="datepicker" data-date-format="dd-mm-yyyy" placeholder="Select Date" autocomplete="off">
                                                    </div>
                                                </div>
                                                <div class="col-md-12">
                                                    <div class="form-actions">
                                                        <button type="button" class="btn btn-success" id="date-range-report"> <i class="fa fa-check"></i> Generate Report</button>
                                                        <button type="reset" class="btn btn-danger"><i class="fa fa-times"></i> Cancel</button>
                                                    </div>
                                                </div>
                                            </div>
                                        </form>
                                    </div>
                                </div>
                                <div class="tab-pane  p-20" id="tab3" role="tabpanel">
                                    <form id="monthly">
                                        <div class="row">
                                            <div class="col-md-12">
                                                <div class="form-group has-success">
                                                    <label class="control-label">Select Month</label>
                                                    <div class="row">
                                                        <div class="col-md-8">
                                                            <?php $month=date('m');?>
                                                            <select class="form-control" style="min-height: 33px !important;" id="month">
                                                                <option value="01" <?php if ($month==01) echo "selected";?>>January</option>
                                                                <option value="02" <?php if ($month==02) echo "selected";?>>February</option>
                                                                <option value="03" <?php if ($month==03) echo "selected";?>>March</option>
                                                                <option value="04" <?php if ($month==04) echo "selected";?>>April</option>
                                                                <option value="05" <?php if ($month==05) echo "selected";?>>May</option>
                                                                <option value="06" <?php if ($month==06) echo "selected";?>>June</option>
                                                                <option value="07" <?php if ($month==07) echo "selected";?>>July</option>
                                                                <option value="08" <?php if ($month==8) echo "selected";?>>August</option>
                                                                <option value="09" <?php if ($month==9) echo "selected";?>>September</option>
                                                                <option value="10" <?php if ($month==10) echo "selected";?>>October</option>
                                                                <option value="11" <?php if ($month==11) echo "selected";?>>November</option>
                                                                <option value="12" <?php if ($month==12) echo "selected";?>>December</option>
                                                            </select>
                                                        </div>
                                                        <div class="col-md-4">
                                                            <input type="number" class="form-control" name="year" id="year" value="<?php echo date('Y');?>" placeholder="yyyy">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-md-12">
                                                <div class="form-actions">
                                                    <button type="button" class="btn btn-success" id="month_year"> <i class="fa fa-check"></i> Generate Report</button>
                                                    <button type="reset" class="btn btn-danger"><i class="fa fa-times"></i> Cancel</button>
                                                </div>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                                <div class="tab-pane p-20" id="tab4" role="tabpanel">
                                    <form id="yearly">
                                        <div class="row">
                                            <div class="col-md-12">
                                                <div class="form-group has-success">
                                                    <label class="control-label">Select Year</label>
                                                    <input type="number" class="form-control" name="year" id="year_only" value="<?php echo date('Y');?>" placeholder="yyyy">
                                                </div>
                                            </div>
                                            <div class="col-md-12">
                                                <div class="form-actions">
                                                    <button type="button" class="btn btn-success" id="year_report"> <i class="fa fa-check"></i>Generate Report</button>
                                                    
                                                    <button type="reset" class="btn btn-danger"><i class="fa fa-times"></i> Cancel</button>
                                                </div>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- ============================================================== -->
    </div>

</div>
