<? global $vis_language; ?>
<section id="breadcrumb" class="row m-b m-l-none m-r-none">
   <div class="col-sm-6">
      <h3 class="m-b-xs text-black"><? echo $vis_language['TXTREPORTS']; ?></h3>
      <div>
         <ul class="breadcrumb bg-empty no-border m-b-xxs no-padder">
            <li><a class="link" href="#/home/quick_view/<? echo $vis_language['TXTHOME']; ?>"><? echo $vis_language['TXTHOME']; ?></a></li>
            <li><a class="link" href="#/report/report_list/<? echo $vis_language['TXTREPORTS']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module', '<? echo $vis_language['TXTREPORTS']; ?>',{'vis_module':'report', 'vis_operation':'report_list'});"><? echo $vis_language['TXTREPORTS']; ?></a></li>
            <li class="active"><? echo $vis_language['TXTGRAPHICAL']; ?></li>
         </ul>
      </div>
   </div>
   <div class="col-sm-6 text-right text-left-xs m-t-lg">
<div class="btn-group">
			<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="vh vh-action text-muted"></i> <b class="caret"></b></button>
            <ul class="dropdown-menu dropdown-menu-right text-left">
         <li><a class="link" href="#/report/report_list/<? echo $vis_language['TXTREPORTS']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module', '<? echo $vis_language['TXTREPORTS']; ?>',{'vis_module':'report', 'vis_operation':'report_list'});"><? echo $vis_language['TXTOVERVIEW']; ?></a></li>
         <li><a class="link" href="#/report/report_list/<? echo $vis_language['TXTREPORTS']; ?>/Reports?&show_report=2" onclick="$('#vis_workpanel_div').visExecution('load_module', '<? echo $vis_language['TXTREPORTS']; ?>', {'vis_module':'report', 'vis_operation':'report_list','show_report':'2'});"><? echo $vis_language['TXTDATA']; ?></a></li>
         <li><a class="link" href="#/report/report_list/<? echo $vis_language['TXTREPORTS']; ?>/Reports?&show_report=3" onclick="$('#vis_workpanel_div').visExecution('load_module', '<? echo $vis_language['TXTREPORTS']; ?>', {'vis_module':'report', 'vis_operation':'report_list','show_report':'3'})"><? echo $vis_language['TXTGRAPHICAL']; ?></a></li>
		 <? if(VIS_ITIL==1 && (isset($module['itil']) && $module['itil']==1)){?>
		 <li><a class="link" href="#/report/report_list/<? echo $vis_language['TXTREPORTS']; ?>/Reports?&show_report=5" onclick="$('#vis_workpanel_div').visExecution('load_module', '<? echo $vis_language['TXTREPORTS']; ?>', {'vis_module':'report', 'vis_operation':'report_list','show_report':'5'})"><? echo $vis_language['TXTITIL']; ?></a></li>
		 <? } ?>
         <li><a class="link" href="#/ticket/ticket_search/<? echo $vis_language['TXTSEARCH']; ?>/6"><? echo $vis_language['TXTCUSTOMREPORT']; ?></a></li>
		 <li><a class="link" href="#/report/download_queue_list/<? echo $vis_language['TXTDOWNLOADQUEUE']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module', '<? echo $vis_language['TXTREPORTS']; ?>', {'vis_module':'report', 'vis_operation':'download_queue_list','show_report':'4'})"><? echo $vis_language['TXTDOWNLOADQUEUE']; ?></a></li>
      </ul>
	  </div>
   </div>
</section>
<section class="padder">
   <section class="panel panel-default">
      <header class="panel-heading sub_header">
        <? echo  $vis_language['TXTGRAPHICAL']; ?>
      </header>
      <div class="panel-body" id="reportGraph">
               <table class="table table-hover b-t b-light m-b-none" data-ride="datatables">
                  <tbody>
					 <tr>
                        <td><? echo $vis_language['TXTCHANNEL']; ?></td>
                        <td><a class="link" href="#/report/channel_report/<? echo $vis_language['TXTCHANNEL']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module', 'Channel', {'vis_module':'report', 'vis_operation':'channel_report', 'cache':true})"><? echo $vis_language['TXTVIEWRESULT']; ?></a></td>
                     </tr>
                     <tr>
                        <td><? echo $vis_language['TXTTICKSBYSTATUS']; ?></td>
                        <td><a class="link" href="#/report/graphical_report/<? echo $vis_language['TXTTICKSBYSTATUS']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module', '<? echo $vis_language['TXTTICKSBYSTATUS']; ?>', {'vis_module':'report', 'vis_operation':'graphical_report', 'cache':true})"><? echo $vis_language['TXTVIEWRESULT']; ?></a></td>
                     </tr>
                     <tr>
                        <td><? echo $vis_language['TXTTICKETSBYPRIORITIES']; ?></td>
                        <td><a class="link" href="#/report/graphical_report/<? echo $vis_language['TXTTICKETSBYPRIORITIES']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module', '<? echo $vis_language['TXTTICKETSBYPRIORITIES']; ?>', {'vis_module':'report', 'vis_operation':'graphical_report', 'cache':true})"><? echo $vis_language['TXTVIEWRESULT']; ?></a></td>
                     </tr>
                     <tr>
                        <td><? echo $vis_language['TXTTICKETSBYTYPE']; ?></td>
                        <td><a class="link" href="#/report/graphical_report/<? echo $vis_language['TXTTICKETSBYTYPE']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module', '<? echo $vis_language['TXTTICKETSBYTYPE']; ?>', {'vis_module':'report', 'vis_operation':'graphical_report', 'cache':true})"><? echo $vis_language['TXTVIEWRESULT']; ?></a></td>
                     </tr>
                     <tr>
                        <td><? echo $vis_language['TXTSTAFFSLA']; ?></td>
                        <td><a class="link" href="#/report/staff_sla_report/<? echo $vis_language['TXTSTAFFSLA']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module', 'Staff SLA', {'vis_module':'report', 'vis_operation':'staff_sla_report', 'cache':true})"><? echo $vis_language['TXTVIEWRESULT']; ?></a></td>
                     </tr>
                     <tr>
                        <td><? echo $vis_language['TXTTOPPERFORMER']; ?></td>
                        <td><a class="link" href="#/report/top_performance/<? echo $vis_language['TXTTOPPERFORMER']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module', 'Top performer', {'vis_module':'report', 'vis_operation':'top_performance', 'cache':true})"><? echo $vis_language['TXTVIEWRESULT']; ?></a></td>
                     </tr>
                     <tr>
                        <td><? echo $vis_language['TXTDEPTSTATI']; ?></td>
                        <td><a class="link" href="#/report/department_report/<? echo $vis_language['TXTDEPTSTATI']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module', 'Department statistics', {'vis_module':'report', 'vis_operation':'department_report', 'cache':true})"><? echo $vis_language['TXTVIEWRESULT']; ?></a></td>
                     </tr>
<tr>
                        <td><? echo $vis_language['TXTDOMAINREPORT']; ?></td>
                        <td><a class="link" href="#/report/graphical_domain_report/<? echo $vis_language['TXTDOMAINREPORT']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module', 'Domain', {'vis_module':'report', 'vis_operation':'graphical_domain_report', 'cache':true})"><? echo $vis_language['TXTVIEWRESULT']; ?></a></td>
                     </tr>
                  </tbody>
               </table>
         </div>
   </section>
</section>
