<? global $vis_language;?>
<div class="modal-dialog modal-lg">
   <div class="modal-content">
      <div class="modal-header">
         <button type="button" class="close" data-dismiss="modal">&times;</button>
         <h4 class="modal-title"><? echo $vis_language['TXTFRESHBOOKS']; ?></h4>
      </div>
      <div class="modal-body">
         <div class="row">
            <div class="col-sm-12">
               <section class="panel panel-default m-t-xs">
                  <header class="panel-heading text-right bg-light clearfix">
                     <ul class="nav nav-tabs pull-left no-borders" id="tabs">
                        <li  id="ticket_details" class="active"><a href="#vis_details_list" data-toggle="tab" oncontextmenu="return false;" onclick="$('#vis_details_list').visExecution('load_operations',{'vis_module':'ticket', 'vis_operation':'freshbooks_client_profile','vis_email':'<?php echo $operation['vis_email'];?>','vis_domain':'<?php echo $operation['vis_domain']; ?>'})"><?php echo $vis_language['TXTCLIENTDETAILS']; ?></a></li>
                        <li  id="ticket_details" ><a href="#vis_details_list" data-toggle="tab" oncontextmenu="return false;" onclick="$('#vis_details_list').visExecution('load_operations',{'vis_module':'ticket', 'vis_operation':'freshbooks_products','vis_email':'<?php echo $operation['vis_email'];?>','vis_domain':'<?php echo $operation['vis_domain']; ?>'})"><?php echo $vis_language['TXTPROJECTS']; ?></a></li>
                        <li  id="ticket_details" ><a href="#vis_details_list" data-toggle="tab" oncontextmenu="return false;" onclick="$('#vis_details_list').visExecution('load_operations',{'vis_module':'ticket', 'vis_operation':'freshbooks_invoices','vis_email':'<?php echo $operation['vis_email'];?>','vis_domain':'<?php echo $operation['vis_domain']; ?>'})"><?php echo $vis_language['TXTINVOICES']; ?></a></li>
                     </ul>
                  </header>
                  <div class="panel-body">
                     <div class="tab-content">
                        <div class="tab-pane active" id="vis_details_list">
                           <script language="javascript">
                              $('#vis_details_list').visExecution('load_operations',{'vis_module':'ticket', 'vis_operation':'freshbooks_client_profile','vis_domain':'<?php echo $operation['vis_domain']; ?>','vis_email':'<?php echo $operation['vis_email'];?>','vis_domain':'<?php echo $operation['vis_domain']; ?>'});
                           </script>
                        </div>
                     </div>
                  </div>
               </section>
            </div>
         </div>
      </div>
   </div>
</div>
