<section id="vis_workpanel" class="vbox"><section class="scrollable" id="vis_workpanel_div" style="display: block;"><section class="row m-b m-l m-r" id="breadcrumb">
	<div class="no-padder">
	<div class="pull-right m-t">
	  <div class="btn-group">
		<div id="viewslist" class="dropdown">
			<button onclick="$('#viewslist').visExecution('load_area', {'vis_module': 'ticket', 'vis_operation': 'load_view_list','filter_id':'1','view_id':'1','view_operation':'filter_ticket'});" data-toggle="dropdown" class="btn bg-empty btn-sm dropdown-toggle action_btn">
			<span class="dropdown-label">Views</span>
			<span class="caret"></span>
			</button>
		</div>
	  </div>
	  <div class="btn-group">
		<div id="labelslist" class="dropdown">
			<button onclick="$('#labelslist').visExecution('load_area', {'vis_module': 'ticket', 'vis_operation': 'load_label_list'});" data-toggle="dropdown" class="btn bg-empty btn-sm dropdown-toggle action_btn">
			<span class="dropdown-label">Labels</span>
			<span class="caret"></span>
			</button>
		</div>
	  </div>
		<ul class="navSeprator no-padder m-l m-t-xs pull-right m-b-n">
			<li id="filter_lists"><a onclick="$('#vis_filter_list').visExecution('load_area', {'vis_module': 'ticket', 'vis_operation': 'load_filter_list'});" href="javascript:void(0);" class="link">Filter list</a></li>
			<li><a onclick="$('#vis_workpanel_div').visExecution('load_module', 'Tags', {'vis_module':'ticket', 'vis_operation':'list_tags'});" href="#/ticket/list_tags/Tags" class="link">Tags</a></li>
			<li><a onclick="$('#vis_workpanel_div').visExecution('load_module', 'Search', {'vis_module':'ticket', 'vis_operation':'ticket_search'})" href="#/ticket/ticket_search/Search" class="link">Advanced search</a></li>
		</ul>
	</div>
	<h3 class="m-b-xs text-black">Tickets<span id="total_cnt"> (41)</span></h3>
	<ul class="breadcrumb bg-empty no-border m-b-xxs no-padder">
        <li><a href="#/home/quick_view/Home" class="link">Home</a></li>
		                                        <li class="active">Tickets</li>	</ul>
  </div>
</section>
<section class="col-lg-12">
	<div style="display:none;" id="vis_filter_list" class="wrapper bg-white clr"></div>
</section>
<div class="col-lg-12">
	<form method="POST" id="vis_ticket_form" name="vis_ticket_form">
	<input type="hidden" value="filter_ticket" id="vis_operation">
	<input type="hidden" value="Tickets" id="view_title">
		<section class="panel panel-default">
		<div id="view_action" class="row wrapper clr">
		<header class="col-sm-12">
			<div id="pg_1" class="pull-right">
					<div class="btn-group">
						<div style="width:auto !important;" id="paging" class="tkt_right_menu">
						 <select onchange="vis_apply_filter(this.value, '1');" class="form-control input-sm selectpicker pull-right paging v-middle" name="pageing" style="display: none;">
							<option selected="selected" value="0">1</option><option value="1">2</option><option value="2">3</option>						  </select><div style="" class="btn-group bootstrap-select form-control input-sm pull-right paging v-middle"><button data-toggle="dropdown" class="btn btn-default btn-sm dropdown-toggle selectpicker bg-white" type="button" title="1"><span class="filter-option pull-left">1</span><span class="caret"></span></button><div id="lst" class="dropdown-menu open"><ul role="menu" class="dropdown-menu inner selectpicker"><li rel="0" class="selected"><a style="" class="" tabindex="0"><span class="text">1</span></a></li><li rel="1"><a style="" class="" tabindex="0"><span class="text">2</span></a></li><li rel="2"><a style="" class="" tabindex="0"><span class="text">3</span></a></li></ul></div></div>
						  <div class="text-muted pull-right label_page">Page:</div>
						</div>
					  </div>
                   <input type="hidden" value="3" id="vis_total_page" name="vis_total_page">
                   <input type="hidden" value="20" id="vis_total_ticket" name="vis_total_ticket">
                   				  </div>
			<div class="pull-right">
				<ul class="m-n footer_link">
					<li>
					  						  <input type="hidden" name="vis_module" value="export">
						  <input type="hidden" name="Exportall" id="Exportall">
						  <input type="hidden" name="vis_operation" value="ticket_export">
						  <input type="hidden" value="1" id="vis_filter_id" name="vis_filter_id">
						  <input type="hidden" name="vis_export_function" id="vis_export_function" value="filter_ticket">
																		</li>
				</ul>
			</div> <!--/ .pull-right -->
			<div id="tkt_left_menu">
			  				<div class="vis_mass_action">
                    <div class="pull-left">
                      <button data-toggle="dropdown" class="btn bg-empty btn-sm dropdown-toggle action_btn">
                        <i class="vh vh-action"></i> <span class="caret"></span>
                      </button>
                        <ul class="dropdown-menu">
                            <li><a onclick="merge_ticket();" id="merge_ticket" href="javascript:void(0);">Merge ticket</a></li>
							<li><a onclick="get_tickets_link();" id="link_ticket" href="javascript:void(0);">Link ticket</a></li>
                            <li><a onclick="change_sla();" id="del" href="javascript:void(0);">Apply SLA</a></li>
                            <li><a onclick="$('#vis_global_msg_div').visExecution('submit_form',{'vis_module':'ticket', 'vis_operation':'update_properties', 'vis_action':'delete', 'vis_form':'vis_ticket_form', 'vis_update_id':1,'view_title':'Tickets'});" href="javascript:void(0);">Move to trash</a></li>
                                                            <li><a onclick="$('#vis_global_msg_div').visExecution('submit_form',{'vis_module':'ticket', 'vis_operation':'update_properties', 'vis_action':'spam', 'vis_form':'vis_ticket_form', 'vis_update_id':1,'view_title':'Tickets'});" href="javascript:void(0);">Mark spam</a></li>                            <li><a onclick="$('#vis_global_msg_div').visExecution('submit_form',{'vis_module':'ticket', 'vis_operation':'update_properties', 'vis_action':'ban', 'vis_form':'vis_ticket_form', 'vis_update_id':1,'view_title':'Tickets'});" href="javascript:void(0);">Ban</a></li>
                                                        <li><a onclick="show_access(1);" href="javascript:void(0);">Export to PDF</a></li>
							<li><a onclick="reply_ticket();" id="reply_ticket" href="javascript:void(0);">Mass reply</a></li>
                        </ul>
                    </div>
                    <div id="get_staff_up" class="pull-left">
                        <button onclick="$('#get_staff_up').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_staff', 'vis_subaction': 'up', 'vis_staff_location': 1});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Assigned to&nbsp;</span><span class="caret"></span></button>
                    </div>
                    <div id="get_departments_up" class="pull-left">
						<button onclick="$('#get_departments_up').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_departments', 'vis_subaction': 'up'});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Move to&nbsp;</span><span class="caret"></span></button>
			        </div>
                    <div id="get_status_up" class="pull-left">
                        <button onclick="$('#get_status_up').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_status', 'vis_subaction': 'up'});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Status&nbsp;</span><span class="caret"></span></button>
                    </div>
                    <div id="get_priorities_up" class="pull-left">
                        <button onclick="$('#get_priorities_up').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_priorities', 'vis_subaction': 'up'});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Priority&nbsp;</span><span class="caret"></span></button>
                    </div>
                    <div id="get_types_up" class="pull-left">
                        <button onclick="$('#get_types_up').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_types', 'vis_subaction': 'up'});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Type&nbsp;</span><span class="caret"></span></button>
                    </div>
                    <div id="get_flags_up" class="pull-left">
                        <button onclick="$('#get_flags_up').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_flags', 'vis_subaction': 'up'});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Flag&nbsp;</span><span class="caret"></span></button>
                    </div>
                    <div id="get_labels_up" class="pull-left">
                        <button onclick="$('#get_labels_up').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_labels', 'vis_subaction': 'up'});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Labels&nbsp;</span><span class="caret"></span></button>
                    </div>
                </div>
							</div>
		</header>
		</div>
			<div id="vis_ticket_list" class="table-responsive scroll-x">
			 <script> $("#view_action").show(); $("#vis_ticket_form .panel-footer").show(); $("#vis_ticket_list").show(); </script>
	
<div role="grid" class="dataTables_wrapper" id="DataTables_Table_1_wrapper"><table data-ride="datatables" class="table table-hover m-b-none dataTable" id="DataTables_Table_1">
    <thead class="table_head">
        			        <tr role="row"><th width="42px" class="p-r-none sorting_disabled" role="columnheader" rowspan="1" colspan="1" aria-label="
            
                
                
                    
                    
                    
                        Read
                        Unread
                    
                
            
        ">
            <div class="btn-group list_chkbox_action">
                <label style="float: left;" class="checkbox m-n m-r-sm i-checks"><input type="checkbox"><i></i></label>
                <div id="toogle_list_check" class="btn-group m-t-xs">
                    <button data-toggle="dropdown" class="btn bg-empty btn-xs dropdown-toggle action_btn">
                    <span class="caret"></span></button>
                    <ul class="dropdown-menu">
                        <li><a onclick="$(this).visInterface('toogle_list_check', {'vis_form':'#vis_ticket_form', 'vis_list_status_class':'.vis_list_read', 'vis_list_status':'checked'})" href="javascript:void(0);">Read</a></li>
                        <li><a onclick="$(this).visInterface('toogle_list_check', {'vis_form':'#vis_ticket_form', 'vis_list_status_class':'.vis_list_unread', 'vis_list_status':'checked'})" href="javascript:void(0);">Unread</a></li>
                    </ul>
                </div>
            </div>
        </th><th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" aria-label=""></th><th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" aria-label="Ticket hash: activate to sort column ascending">Ticket hash</th><th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" aria-label="Subject: activate to sort column ascending">Subject</th><th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" aria-label="Email: activate to sort column ascending">Email</th><th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" aria-label="Department: activate to sort column ascending">Department</th><th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" aria-label="Priority: activate to sort column ascending">Priority</th><th class="sorting" role="columnheader" tabindex="0" aria-controls="DataTables_Table_1" rowspan="1" colspan="1" aria-label="Status: activate to sort column ascending">Status</th><th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" aria-label=""></th></tr></thead>
    
<tbody role="alert" aria-live="polite" aria-relevant="all"><tr class="vis_read_message odd"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="153" id="vis_ticket_mass_chk_0" name="vis_ticket_mass_chk_0" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(153);" rel="popover" id="post_153" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/IYLP-941463/153"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	IYLP-941463</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/IYLP-941463/153"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Test 2</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/IYLP-941463/153"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	triveni_visions@yahoo.in</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/IYLP-941463/153"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/IYLP-941463/153"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/IYLP-941463/153"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/IYLP-941463/153"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message even"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="152" id="vis_ticket_mass_chk_1" name="vis_ticket_mass_chk_1" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(152);" rel="popover" id="post_152" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/YYGP-726430/152"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	YYGP-726430</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/YYGP-726430/152"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Test 2</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/YYGP-726430/152"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/YYGP-726430/152"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/YYGP-726430/152"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/YYGP-726430/152"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/YYGP-726430/152"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message odd"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="151" id="vis_ticket_mass_chk_2" name="vis_ticket_mass_chk_2" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(151);" rel="popover" id="post_151" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/XKGJ-414798/151"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	XKGJ-414798</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/XKGJ-414798/151"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Re: [ZHCJ-016910]: New mail : testing 1</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/XKGJ-414798/151"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	triveni_visions@yahoo.in</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/XKGJ-414798/151"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/XKGJ-414798/151"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/XKGJ-414798/151"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/XKGJ-414798/151"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message even"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="150" id="vis_ticket_mass_chk_3" name="vis_ticket_mass_chk_3" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(150);" rel="popover" id="post_150" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/ZHCJ-016910/150"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	ZHCJ-016910</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/ZHCJ-016910/150"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	New mail : testing 1</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/ZHCJ-016910/150"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/ZHCJ-016910/150"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/ZHCJ-016910/150"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/ZHCJ-016910/150"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/ZHCJ-016910/150"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message odd"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="149" id="vis_ticket_mass_chk_4" name="vis_ticket_mass_chk_4" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(149);" rel="popover" id="post_149" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/WGDI-592582/149"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	WGDI-592582</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/WGDI-592582/149"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	test</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/WGDI-592582/149"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	triveni_visions@yahoo.in</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/WGDI-592582/149"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/WGDI-592582/149"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/WGDI-592582/149"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/WGDI-592582/149"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message even"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="122" id="vis_ticket_mass_chk_5" name="vis_ticket_mass_chk_5" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(122);" rel="popover" id="post_122" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/RAEI-205593/122"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	RAEI-205593</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/RAEI-205593/122"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	test</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/RAEI-205593/122"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/RAEI-205593/122"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/RAEI-205593/122"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/RAEI-205593/122"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/RAEI-205593/122"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message odd"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="144" id="vis_ticket_mass_chk_6" name="vis_ticket_mass_chk_6" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="2"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(144);" rel="popover" id="post_144" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/RUAO-333664/144"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	RUAO-333664</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/RUAO-333664/144"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Pop testing</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/RUAO-333664/144"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/RUAO-333664/144"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Support</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/RUAO-333664/144"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/RUAO-333664/144"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/RUAO-333664/144"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message even"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="143" id="vis_ticket_mass_chk_7" name="vis_ticket_mass_chk_7" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="2"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(143);" rel="popover" id="post_143" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/NVOZ-478353/143"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	NVOZ-478353</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/NVOZ-478353/143"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Pop :testing</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/NVOZ-478353/143"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/NVOZ-478353/143"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Support</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/NVOZ-478353/143"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/NVOZ-478353/143"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/NVOZ-478353/143"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_unread_message odd"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="142" id="vis_ticket_mass_chk_8" name="vis_ticket_mass_chk_8" class="vis_list_checkbox vis_list_unread" data-status="1" data-dept-id="2"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(142);" rel="popover" id="post_142" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/EJNC-286503/142"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	EJNC-286503</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/EJNC-286503/142"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	inline and attachment</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/EJNC-286503/142"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	triveni.test123@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/EJNC-286503/142"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Support</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/EJNC-286503/142"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/EJNC-286503/142"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/EJNC-286503/142"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_unread_message even"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="140" id="vis_ticket_mass_chk_9" name="vis_ticket_mass_chk_9" class="vis_list_checkbox vis_list_unread" data-status="1" data-dept-id="2"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(140);" rel="popover" id="post_140" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/TBBC-757743/140"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	TBBC-757743</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/TBBC-757743/140"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	inline img : gmail</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/TBBC-757743/140"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	triveni.test123@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/TBBC-757743/140"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Support</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/TBBC-757743/140"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/TBBC-757743/140"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/TBBC-757743/140"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_unread_message odd"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="141" id="vis_ticket_mass_chk_10" name="vis_ticket_mass_chk_10" class="vis_list_checkbox vis_list_unread" data-status="1" data-dept-id="2"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(141);" rel="popover" id="post_141" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/MRWV-172733/141"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	MRWV-172733</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MRWV-172733/141"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	attachment</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MRWV-172733/141"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	triveni.test123@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MRWV-172733/141"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Support</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MRWV-172733/141"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MRWV-172733/141"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MRWV-172733/141"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_unread_message even"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="139" id="vis_ticket_mass_chk_11" name="vis_ticket_mass_chk_11" class="vis_list_checkbox vis_list_unread" data-status="1" data-dept-id="2"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(139);" rel="popover" id="post_139" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/TUMT-634775/139"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	TUMT-634775</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/TUMT-634775/139"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Plain text</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/TUMT-634775/139"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	triveni.test123@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/TUMT-634775/139"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Support</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/TUMT-634775/139"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/TUMT-634775/139"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/TUMT-634775/139"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_unread_message odd"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="138" id="vis_ticket_mass_chk_12" name="vis_ticket_mass_chk_12" class="vis_list_checkbox vis_list_unread" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(138);" rel="popover" id="post_138" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/QZQB-499501/138"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	QZQB-499501</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/QZQB-499501/138"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/QZQB-499501/138"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/QZQB-499501/138"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/QZQB-499501/138"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/QZQB-499501/138"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/QZQB-499501/138"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message even"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="137" id="vis_ticket_mass_chk_13" name="vis_ticket_mass_chk_13" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(137);" rel="popover" id="post_137" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/MTKZ-853029/137"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	MTKZ-853029</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MTKZ-853029/137"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Attachemnts images</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MTKZ-853029/137"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MTKZ-853029/137"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MTKZ-853029/137"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MTKZ-853029/137"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MTKZ-853029/137"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message odd"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="136" id="vis_ticket_mass_chk_14" name="vis_ticket_mass_chk_14" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(136);" rel="popover" id="post_136" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/VTFT-927781/136"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	VTFT-927781</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/VTFT-927781/136"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Attachemnts images</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/VTFT-927781/136"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/VTFT-927781/136"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/VTFT-927781/136"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/VTFT-927781/136"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/VTFT-927781/136"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message even"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="135" id="vis_ticket_mass_chk_15" name="vis_ticket_mass_chk_15" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(135);" rel="popover" id="post_135" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/JZEU-439611/135"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	JZEU-439611</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/JZEU-439611/135"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Course Section Report</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/JZEU-439611/135"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/JZEU-439611/135"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/JZEU-439611/135"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/JZEU-439611/135"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/JZEU-439611/135"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message odd"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="134" id="vis_ticket_mass_chk_16" name="vis_ticket_mass_chk_16" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(134);" rel="popover" id="post_134" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/SBFT-126684/134"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	SBFT-126684</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/SBFT-126684/134"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	inline and attachment</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/SBFT-126684/134"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/SBFT-126684/134"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/SBFT-126684/134"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/SBFT-126684/134"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/SBFT-126684/134"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message even"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="133" id="vis_ticket_mass_chk_17" name="vis_ticket_mass_chk_17" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(133);" rel="popover" id="post_133" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/VQVL-743742/133"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	VQVL-743742</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/VQVL-743742/133"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	attachment</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/VQVL-743742/133"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/VQVL-743742/133"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/VQVL-743742/133"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/VQVL-743742/133"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/VQVL-743742/133"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message odd"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="132" id="vis_ticket_mass_chk_18" name="vis_ticket_mass_chk_18" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(132);" rel="popover" id="post_132" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/MYFD-941050/132"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	MYFD-941050</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MYFD-941050/132"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Inline img</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MYFD-941050/132"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MYFD-941050/132"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MYFD-941050/132"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MYFD-941050/132"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/MYFD-941050/132"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr><tr class="vis_read_message even"><td id="checkbox_data" class="p-r-none list_chkbox_action  sorting_1"><label class="checkbox m-n i-checks"><input type="checkbox" value="131" id="vis_ticket_mass_chk_19" name="vis_ticket_mass_chk_19" class="vis_list_checkbox vis_list_read" data-status="1" data-dept-id="1"><i></i></label></td><td align="center" class="p-l-none "><a onclick="show_last_post(131);" rel="popover" id="post_131" href="javascript:void(0);" data-html="true"><i class="vh vh-ticket vh-brown vh-lg"></i></a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class="txt_nowrap "><a href="#/ticket/ticket_details/OGWA-957654/131"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	OGWA-957654</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/OGWA-957654/131"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Course Section Report</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/OGWA-957654/131"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	visions.helpdesk@gmail.com</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/OGWA-957654/131"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	General</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/OGWA-957654/131"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Low</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/OGWA-957654/131"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	Open</a></td><td onclick="$(this).parent().removeClass('vis_unread_message')" class=" "><a href="#/ticket/ticket_details/OGWA-957654/131"><input type="hidden" value="filter_ticket" id="vis_operation"><input type="hidden" value="Tickets" id="view_title">	<span class="vh-stack"><i style="color:#ffffff" class="vh vh-flag-inner vh-stack-lg"></i><i class="vh vh-flag-empty vh-stack-lg"></i></span></a></td></tr></tbody></table></div>
<script>
	$(".selectpicker").selectpicker();
    $( "body" ).on( "click", function() {
      if($(".popover").length){ $("[id^='post_']").popover('destroy').removeAttr("data-content").removeAttr("data-original-title"); }
      if($(".popover").length){ $("[id^='linkdata_']").popover('destroy').removeAttr("data-content").removeAttr("data-original-title"); }
      if($("#toogle_list_check").hasClass("open") || $(".popover").length) $("#vis_ticket_list").addClass("scroll-x");
     
    });
    function show_last_post(ticket_id){
    	var popover_id = $("#post_"+ticket_id); 
    	if($(".popover").length){
    		popover_id.popover('destroy').removeAttr("data-content").removeAttr("data-original-title");
    	}
    	else{ 
    		$.ajax({
    			url: 'index.php?vis_tmpst=new Date().getTime()',
    			data: {'vis_module':'ticket', 'vis_operation':'last_post', 'vis_ticket_id':ticket_id},
    			type: "POST",
    			dataType: "html",
    			success: function(data) {
    				var close_btn = "&lt;button type='button' class='close pull-right' data-dismiss='popover'&gt; &amp;times;&lt;/button&gt;Latest post&amp;nbsp;";
    				popover_id.attr("data-content",data);
    				popover_id.attr("data-original-title",close_btn);
    				popover_id.popover('show');				
    			},
    			error: function(xhr, ajaxOptions, thrownError) {$("#vis_global_msg_div").visInterface("load_global_message", "Error: "+xhr.status+" - "+thrownError);}
    		});
    	}
    }
	function show_link_data(ticket_id, link_col_pos){ // link_col_pos - column no. to decide popup to be displayed left or right
    	var popover_id = $("#linkdata_"+ticket_id); 
		popover_id.attr('data-toggle','ajaxModal');
		popover_id.attr('data-modal-arguments','vis_module=ticket&amp;vis_operation=load_link_data&amp;vis_ticket_id='+ticket_id);
    }
</script>
<script type="text/javascript">
    $(document).ready(function() {	
    	   $('[data-ride="datatables"]').dataTable({
    		"bAutoWidth": false,
            "bPaginate" : false,
    		"sDom": 't', 
    		"aoColumns": [
    						{ "bSortable": false },
    						{ "bSortable": false },
    		  null,null,null,null,null,null,{ "bSortable": false }    		]
    	});
    });
</script>
                <input type="hidden" value="" name="vis_domain_id" id="vis_domain_id">
			</div>
			<footer class="wrapper panel-footer bg-white">
			  <div class="row">
				  <div id="tkt_left_menu" class="col-sm-9 tkt_left_menu">
								<div class="vis_mass_action_footer">
				<div class="pull-left">
				  <button data-toggle="dropdown" class="btn bg-empty btn-sm dropdown-toggle action_btn" type="button">
					<i class="vh vh-action"></i>
					<span class="caret"></span>
				  </button>
					<ul role="menu" class="dropdown-menu">
						<li><a onclick="merge_ticket();" id="merge_ticket1" href="javascript:void(0);">Merge ticket</a></li>
						<li><a onclick="get_tickets_link();" id="link_ticket1" href="javascript:void(0);">Link ticket</a></li>
						 <li><a onclick="change_sla();" id="del1" href="javascript:void(0);">Apply SLA</a></li>
						<li><a onclick="$(this).visExecution('submit_form',{'vis_module':'ticket', 'vis_operation':'update_properties', 'vis_action':'delete', 'vis_form':'vis_ticket_form', 'vis_update_id':1,'view_title':'Tickets'});" href="javascript:void(0);">Move to trash</a></li>
													<li><a onclick="$(this).visExecution('submit_form',{'vis_module':'ticket', 'vis_operation':'update_properties', 'vis_action':'spam', 'vis_form':'vis_ticket_form', 'vis_update_id':1,'view_title':'Tickets'});" href="javascript:void(0);">Mark spam</a></li>						<li><a onclick="$(this).visExecution('submit_form',{'vis_module':'ticket', 'vis_operation':'update_properties', 'vis_action':'ban', 'vis_form':'vis_ticket_form', 'vis_update_id':1,'view_title':'Tickets'});" href="javascript:void(0);">Ban</a></li>
												<li><a onclick="show_access(1);" href="javascript:void(0);">Export to PDF</a></li>
						<li><a onclick="reply_ticket();" id="reply_ticket1" href="javascript:void(0);">Mass reply</a></li>
					</ul>
				</div>
				<div id="get_staff_down" class="pull-left">
                        <button onclick="$('#get_staff_down').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_staff', 'vis_subaction': 'down', 'vis_staff_location': 1});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Assigned to&nbsp;</span><span class="caret"></span></button>
                    </div>
                    <div id="get_departments_down" class="pull-left">
						<button onclick="$('#get_departments_down').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_departments', 'vis_subaction': 'down'});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Move to&nbsp;</span><span class="caret"></span></button>
			        </div>
                    <div id="get_status_down" class="pull-left">
                        <button onclick="$('#get_status_down').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_status', 'vis_subaction': 'down'});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Status&nbsp;</span><span class="caret"></span></button>
                    </div>
                    <div id="get_priorities_down" class="pull-left">
                        <button onclick="$('#get_priorities_down').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_priorities', 'vis_subaction': 'down'});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Priority&nbsp;</span><span class="caret"></span></button>
                    </div>
                    <div id="get_types_down" class="pull-left">
                        <button onclick="$('#get_types_down').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_types', 'vis_subaction': 'down'});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Type&nbsp;</span><span class="caret"></span></button>
                    </div>
                    <div id="get_flags_down" class="pull-left">
                        <button onclick="$('#get_flags_down').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_flags', 'vis_subaction': 'down'});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Flag&nbsp;</span><span class="caret"></span></button>
                    </div>
                    <div id="get_labels_down" class="pull-left">
                        <button onclick="$('#get_labels_down').visExecution('load_operations', {'vis_module': 'ticket', 'vis_operation': 'list_contents', 'vis_action': 'get_labels', 'vis_subaction': 'down'});" type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn bg-white" data-toggle="dropdown"><span class="filter-option pull-left">Labels&nbsp;</span><span class="caret"></span></button>
                    </div>
			</div>
							  </div>
			  <div id="paging" class="col-sm-3 text-right text-center-xs tkt_right_menu">
				 <select onchange="vis_apply_filter(this.value, '1' );" class="form-control input-sm selectpicker pull-right paging v-middle" name="pageing" style="display: none;">
					<option selected="selected" value="0">1</option><option value="1">2</option><option value="2">3</option>				  </select><div style="" class="btn-group bootstrap-select form-control input-sm pull-right paging v-middle"><button data-toggle="dropdown" class="btn btn-default btn-sm dropdown-toggle selectpicker bg-white" type="button" title="1"><span class="filter-option pull-left">1</span><span class="caret"></span></button><div id="lst" class="dropdown-menu open"><ul role="menu" class="dropdown-menu inner selectpicker"><li rel="0" class="selected"><a style="" class="" tabindex="0"><span class="text">1</span></a></li><li rel="1"><a style="" class="" tabindex="0"><span class="text">2</span></a></li><li rel="2"><a style="" class="" tabindex="0"><span class="text">3</span></a></li></ul></div></div>
				  <div class="text-muted pull-right label_page">Page:</div>
			  </div>

			  </div>
			</footer>
		  </section>
	</form>
</div>
<section style="display:none;" id="vis_no_record_search" class="fullFrame m-n">
</section>
<script>
	function change_sla()
   {
		var selected = [];
		var vis_action = "";
		$('#checkbox_data input:checked').each(function() {
		selected.push($(this).attr('value'));
		vis_action +=$(this).attr('value')+",";
		});
		if( selected.length &gt; 0)
		 {
			 vis_action= vis_action.substring(0, vis_action.length-1);
			 $('#del').attr('data-toggle','ajaxModal');
			 $('#del').attr('data-modal-arguments','vis_module=ticket&amp;vis_operation=get_sla_plan&amp;vis_ticket_id='+vis_action+'&amp;vis_form=vis_sla_form&amp;vis_static_area=vis_set_sla_form&amp;vis_inbox=1');
			 $('#del1').attr('data-toggle','ajaxModal');
			 $('#del1').attr('data-modal-arguments','vis_module=ticket&amp;vis_operation=get_sla_plan&amp;vis_ticket_id='+vis_action+'&amp;vis_form=vis_sla_form&amp;vis_static_area=vis_set_sla_form&amp;vis_inbox=1');
		 }
}
function submit_form_export(tabid,ticket_count)
{
	if(ticket_count==0) $("#vis_global_msg_div").visInterface("load_global_message", "&lt;div class=\"vis_msg_err\"&gt;Error in operation&lt;/div&gt;");
	else if ($('#vis_ticket_form input:checkbox:checked').length &gt; 0){
        $("#Exportall").attr('disabled',true);
        $('#vis_ticket_form').submit();
        $("#Exportall").attr('disabled',false);
    }
	else $("#vis_global_msg_div").visInterface("load_global_message", "Select tickets to export");
}
function vis_apply_filter(vis_page, vis_filter_id){
	var data=arg='', ticket_operation=$("#vis_export_function").val();
	if(vis_page!=undefined &amp;&amp; typeof(vis_page)!=undefined &amp;&amp; vis_filter_id!=undefined &amp;&amp; typeof(vis_filter_id)!=undefined){
		if(vis_filter_id==1 &amp;&amp; ticket_operation=='filter_ticket_group') arg = 'filter_ticket_group';
        else if(vis_filter_id&gt;0) arg = 'filter_ticket';
		else arg = ticket_operation;
        data = {'vis_module':'ticket', 'vis_operation':'apply_filter', 'ticket_operation': arg, 'vis_filter_id':vis_filter_id, 'vis_page':vis_page };
	}
	else{
		internal_ticket_check ='';
		var txt = txt1 = "";
	    {$("#vis_filter_list [id^='search_']").each(function() { if( $( this ).val() != "") txt1=1 });}
	    if($("#search1_internal_ticket").is(":checked")==true) txt=1; else if($("#search1_internal_ticket").is(":checked")==false) txt="";
		if(txt=="" &amp;&amp; txt1==""){ $("#vis_global_msg_div").visInterface("load_global_message", "Please select any field");  return;}
		if($("#search1_internal_ticket").is(":checked")) internal_ticket_check='1'; else internal_ticket_check='0';
		data = {'vis_module':'ticket','vis_operation':'apply_filter', 'ticket_operation': 'filter_ticket','view_title':'Tickets','vis_filter_enable': 1, 'search_domain':$("#search_domain").val(), 'search_dept':$("#search_department").val(), 'search_status':$("#search_status").val(),'search_priority':$("#search_priority").val(),'search_owner':$("#search_staff").val(),'search_type':$("#search_type").val(),'search_flag':$("#search_flag").val() , 'search_internal_ticket':+internal_ticket_check };
	}
	$.ajax({
		url: 'index.php?vis_tmpst=new Date().getTime()',
		data: data,
		type: "POST",
		dataType: "json",
		success: function(data) {
            if (data.fid) {
                    document.location = "#/ticket/filter_ticket/Tickets/" + data.fid;
            } else {
                $("#total_cnt").html('('+data.total_cnt+')');
                $(".tkt_right_menu").html(data.paging);
                $("#vis_ticket_list").html(data.list);
                $("#vis_filter_id").val(data.filter_id);
                $("#vis_total_page").val(data.total_pages);
                $("#vis_total_ticket").val(data.total_tickets);
                if(data.total_cnt==0){
                    $("#vis_no_record_search").show();
                    $("#vis_no_record_search").html(data.list);
                }else $("#vis_no_record_search").hide();
                toggle_mass_actions(); // To disable header &amp; footer mass actions on list pages
            }
		},
		error: function(xhr, ajaxOptions, thrownError) {$("#vis_global_msg_div").visInterface("load_global_message", "Error: "+xhr.status+" - "+thrownError);}
	});
}
function update_properties(new_value, selector){
	var dept = new Array(); var vis_action='';
	$("[id^='vis_ticket_mass_chk_']:checked").each(function(i){
		var status = vis_action = '';
		var dept_id = $(this).attr('data-dept-id');
		var old_status_id = $(this).attr('data-status');
		if(selector == 2){ // status
			vis_action = 'status';
			vis_dept=dept_id;
			if(new_value!=3 &amp;&amp; $("#vis_lp_department_"+dept_id+"_status_"+new_value).length){ status += new_value + ','; }
			if(old_status_id!=3 &amp;&amp; $("#vis_lp_department_"+dept_id+"_status_"+old_status_id).length){ status += old_status_id; }
			if(status!='') dept[i] = dept_id + '-'+status;
		}
		else if(selector == 1){ // dept
			vis_action = 'department';
			if(old_status_id != 3 &amp;&amp; $("#vis_lp_department_"+dept_id+"_status_"+old_status_id).length){
				//status += old_status_id + ',';
				dept[i++] = dept_id + '-'+old_status_id;
			}
			if(old_status_id != 3 &amp;&amp; $("#vis_lp_department_"+new_value+"_status_"+old_status_id).length){
				//status += old_status_id + ',';
				dept[i++] = new_value + '-'+old_status_id;
			}
		}
	});
	$('#vis_global_msg_div').visExecution('submit_form',{'vis_module':'ticket', 'vis_operation':'update_properties', 'vis_action': vis_action, 'vis_form':'vis_ticket_form', 'vis_update_id': new_value ,'vis_dept_id':'', 'dept': dept });
}
function vis_change_view(update_id,ticket_module,filter_id) {
       $.ajax({
           url: 'index.php?vis_module=staff&amp;vis_operation=update_properties&amp;vis_action=view',
           data: { 'vis_update_id':update_id,'ticket_module':ticket_module,'vis_filter_id':filter_id },
           type: "POST",
           success: function(data) {
              $('#view_action').html(data);
           }
       });
   }
    function update_ticket_property(update_id,action_id) { // update owner properties i.e. assign new/remove
        if(action_id==2){
            update_properties(update_id, 1);
        }
        else if(action_id==3){
            update_properties(update_id, 2);
        }else{
            var dept = new Array(); var vis_action='';
            $("[id^='vis_ticket_mass_chk_']:checked").each(function(i){
                var dept_id = $(this).attr('data-dept-id');
                dept[i] = dept_id + '-'+dept_id;

            });
            if(action_id==1) var action='staff';
            else if(action_id==4) var action='priority';
            else if(action_id==5) var action='type';
            else if(action_id==6) var action='flag';
            else if(action_id==7) var action='label';
            $('#vis_global_msg_div').visExecution('submit_form', {'vis_module': 'ticket', 'vis_operation': 'update_properties', 'vis_action': action, 'vis_form':'vis_ticket_form', 'vis_update_id': update_id ,'vis_dept_id': '','dept':dept});
        }
    }
   function merge_ticket()
   {
		var selected = [];
        var vis_action='';
		$('#checkbox_data input:checked').each(function() {
		selected.push($(this).attr('value'));
		vis_action +=$(this).attr('value')+",";
		});
		if( selected.length &gt; 0)
		 {
			 vis_action= vis_action.substring(0, vis_action.length-1);
			 $('#merge_ticket').attr('data-toggle','ajaxModal');
			 $('#merge_ticket').attr('data-modal-arguments','vis_module=ticket&amp;vis_operation=get_tickets_merge&amp;vis_ticket_id='+vis_action+'&amp;vis_form=vis_ticket_form');
             $('#merge_ticket1').attr('data-toggle','ajaxModal');
			 $('#merge_ticket1').attr('data-modal-arguments','vis_module=ticket&amp;vis_operation=get_tickets_merge&amp;vis_ticket_id='+vis_action+'&amp;vis_form=vis_ticket_form');
		 }
	}
	function get_tickets_link()
   {
		var selected = [];
        var vis_action='';
		$('#checkbox_data input:checked').each(function() {
		selected.push($(this).attr('value'));
		vis_action +=$(this).attr('value')+",";
		});
		if( selected.length &gt; 0)
		 {
			 vis_action= vis_action.substring(0, vis_action.length-1);
			 $('#link_ticket').attr('data-toggle','ajaxModal');
			 $('#link_ticket').attr('data-modal-arguments','vis_module=ticket&amp;vis_operation=get_tickets_link&amp;vis_ticket_id='+vis_action+'&amp;vis_filter_id=1&amp;vis_form=vis_ticket_form');
             $('#link_ticket1').attr('data-toggle','ajaxModal');
			 $('#link_ticket1').attr('data-modal-arguments','vis_module=ticket&amp;vis_operation=get_tickets_link&amp;vis_ticket_id='+vis_action+'&amp;vis_form=vis_ticket_form');
		 }
	}
function show_access(data)
{
	if(data==1)
	{
		$("#vis_ticket_form").attr("target", "_blank");submit_form_export(1,20);
	}
	else
	{
		$("#vis_global_msg_div").visInterface("load_global_message", "Access denied");
		return false;
	}
}
	function reply_ticket(){
		var selected = [];
        var vis_action='';
		$('#checkbox_data input:checked').each(function() {
		selected.push($(this).attr('value'));
		vis_action +=$(this).attr('value')+",";
		});
		if( selected.length &gt; 0)
		 {
			 vis_action= vis_action.substring(0, vis_action.length-1);
			 $('#reply_ticket').attr('data-toggle','ajaxModal');
			 $('#reply_ticket').attr('data-modal-arguments','vis_module=ticket&amp;vis_operation=get_tickets_reply&amp;vis_ticket_id='+vis_action+'&amp;vis_form=vis_ticket_form');
             $('#reply_ticket1').attr('data-toggle','ajaxModal');
			 $('#reply_ticket1').attr('data-modal-arguments','vis_module=ticket&amp;vis_operation=get_tickets_reply&amp;vis_ticket_id='+vis_action+'&amp;vis_form=vis_ticket_form');
		 }
	}
</script>
<script src="../scripts/dropdown_dropup.js"></script>
</section></section>
