<? 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['TXTBIGCOMMERCE']; ?></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':'bigcommerce_client_profile','vis_domain':'<?php echo $operation['vis_domain']; ?>','vis_email':'<?php echo $operation['vis_email'];?>', 'type':'profile'});"><?php echo $vis_language['TXTPROFILE']; ?></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':'bigcommerce_client_profile','vis_domain':'<?php echo $operation['vis_domain']; ?>','vis_email':'<?php echo $operation['vis_email'];?>', 'type':'activity'});"><?php echo $vis_language['TXTORDER']; ?></a></li>
                     </ul>
                  </header>
                  <div class="panel-body">
                     <div class="tab-content">
                        <div class="tab-pane active scrollable" id="vis_details_list">
                           <?php include(VIS_PATH_TEMPLATE.'bigcommerce_client_profile.php');?>
                        </div>
                     </div>
                  </div>
               </section>
            </div>
         </div>
      </div>
   </div>
</div>
<style>
#vis_details_list {
    max-height: 295px;
}</style>
