<? global $vis_language; ?>
<div id="summary" class="tab-pane active">
    <div class="col-md-12">
        <div class="row">
            <div class="wrapper">
                <div class="bg-light b-a">
                    <h4 class="b-b b-2x m-t-n-xxs padder padder-v"><?= $vis_language['TXTTICKETS'];?></h4>
                    <div class="rnd">
                        <ul class="lg">
							<li id="new_cnt"><h4>0</h4><p> <? echo $vis_language['TXTNEW']; ?></p></li> 
							<li id="overdue_cnt"><h4>0</h4><p><? echo $vis_language['TXTOVERDUE']; ?></p></li>
							<li id="assigned_cnt"><h4>0</h4><p> <? echo $vis_language['TXTSELFASSIGNED']; ?></p></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
         <? if($client_details['parent_id']==0 && VIS_MODULE_ACCESS_BILLING==1){?>
        <div class="row">
            <div class="wrapper">
                <div class="bg-light b-a">
                    <h4 class="b-b b-2x m-t-n-xxs padder padder-v"><?= $vis_language['TXTBILLING'];?></h4>
                    <div class="rnd">
                        <ul class="lg">
							<li id="total_unpaid_cnt"><h4>0</h4><p><? echo $vis_language['TXTUNPAID']; ?></p></li>
							<li id="total_overdue_cnt"><h4>0</h4><p> <? echo $vis_language['TXTOVERDUE']; ?></p></li>
                            <li id="total_new_cnt"><h4>0</h4><p><? echo $vis_language['TXTNEW']; ?></p></li>
							<li id="today_due_cnt"><h4>0</h4><p> <? echo stripslashes($vis_language['TXTTODAYSDUE']); ?></p></li>
							<li id="today_paid_cnt"><h4>0</h4><p> <? echo stripslashes($vis_language['TXTTODAYSPAID']); ?></p></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div><? } ?>
        <div class="row" id="note" style="display:none;"><script>  $('#note').visExecution('load_area', {'vis_module':"client", 'vis_operation':'get_summary_counts','vis_client_id':<?= $operation['vis_client_id']; ?>}); </script></div>
  </div>
</div>