       
      <!-- start page content -->
            <div class="page-content-wrapper">
                <div class="page-content">
                    <div class="page-bar">
                        <div class="page-title-breadcrumb">
                            <div class=" pull-left">
                                <div class="page-title">Form Received Report</div>
                            </div>
                            <ol class="breadcrumb page-breadcrumb pull-right">
                                <li><i class="fa fa-home"></i>&nbsp;<a class="parent-item" href="index.html">Home</a>&nbsp;<i class="fa fa-angle-right"></i>
                                </li>
                                <li><a class="parent-item" href="">Users</a>&nbsp;<i class="fa fa-angle-right"></i>
                                </li>
                                <li class="active">Form Received Report</li>
                            </ol>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                                                 
                                <div class="tab-content">
                                    <div class="tab-pane active fontawesome-demo" id="tab1">
                                        <div class="row">
					                        <div class="col-md-12">
					                            <div class="card card-box">
					                                <div class="card-head">
					                                    <header>Form Received Report</header>
					                                    <div class="tools">
					                                        <a class="fa fa-repeat btn-color box-refresh" href="javascript:;"></a>
						                                    <a class="t-collapse btn-color fa fa-chevron-down" href="javascript:;"></a>
						                                    <a class="t-close btn-color fa fa-times" href="javascript:;"></a>
					                                    </div>
					                                </div>
					                                <div class="card-body ">
					                                    <div class="row">					                                        
					                                        <div class="col-md-12 col-sm-12 col-12">
					                                            <div class="btn-group pull-right">
					                                                <a class="btn deepPink-bgcolor  btn-outline dropdown-toggle" data-toggle="dropdown">Download
					                                                    <i class="fa fa-angle-down"></i>
					                                                </a>
					                                                <ul class="dropdown-menu pull-right">
					                                                    <li>
					                                                        <a href="<?=base_url();?>reports/export_form_received_report">
					                                                            <i class="fa fa-file-excel-o"></i> Export to Excel </a>
					                                                    </li>
					                                                </ul>
					                                            </div>
					                                        </div>
					                                    </div>
					                                    <div class="table-scrollable">
					                                    <table class="table table-striped table-bordered table-hover table-checkable order-column valign-middle" id="example4">
					                                        <thead>
					                                            <tr>
					                                            	<th> S No.</th>
					                                                <th> Center Name</th>
					                                                <th> Counselor Name</th>
					                                                <th> Total Form</th>                                              
					                                                <th> Received Form</th>                                              
					                                                <th> Pending Form</th>                                              
					                                            </tr>
					                                        </thead>
					                                        <tbody>
															<?php $i=1; foreach ($centers_list as $key):?>
																<tr class="odd gradeX">
																	<td class="patient-img">
																			<?=$i?>
																	</td>
																	<td class="left"><?=ucfirst($key->company_name);?></td>									
																	<td class="left"><?=ucfirst($key->counselor_name);?></td>
																	<?php
																	   $total_student = get_total_student($key->uid,'C-18');
																	   $total_submited = get_total_submited_form($key->uid,'C-18');
																	?>
																	<td class="left"><?=$total_student;?></td>
																	<td class="left"><?=$total_submited;?></td>
																	<td class="left"><?=($total_student-$total_submited);?></td>
																</tr>
															 <?php $i++; endforeach ?>
															</tbody>
					                                    </table>
					                                    </div>
					                                </div>
					                            </div>
					                        </div>
					                    </div>
                                    </div>
                                </div>
                           
                        </div>
                    </div>
                </div>
            </div>
            <!-- end page content -->      