<?php /* Smarty version Smarty-3.1.8, created on 2020-12-14 10:54:54
         compiled from "/home/agmc/beta/application/core/views/manage/standard/ServiceRequestList.tpl" */ ?>
<?php /*%%SmartyHeaderCode:488428005e26f436ca8838-20852113%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a9f819be13a18bb0dafa03d49a003d8df5e0b75a' => 
    array (
      0 => '/home/agmc/beta/application/core/views/manage/standard/ServiceRequestList.tpl',
      1 => 1605520856,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '488428005e26f436ca8838-20852113',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e26f436d332d4_09833911',
  'variables' => 
  array (
    'language' => 0,
    'view_styles' => 0,
    'listServices' => 0,
    'listBrand' => 0,
    'resRequests' => 0,
    'sortkey' => 0,
    'sortkey1' => 0,
    'sortkey2' => 0,
    'sortkey3' => 0,
    'sortkey4' => 0,
    'sortkey5' => 0,
    'sortimg2' => 0,
    'normallink' => 0,
    'req' => 0,
    'date_format' => 0,
    'view_javascript' => 0,
    'common_js' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e26f436d332d4_09833911')) {function content_5e26f436d332d4_09833911($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include '/home/agmc/beta/library/template/plugins/modifier.date_format.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAdmin'];?>
 : <?php echo $_smarty_tpl->tpl_vars['language']->value['lblServiceRequests'];?>
</title>
<?php echo $_smarty_tpl->getSubTemplate ('CommonStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScript.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php echo $_smarty_tpl->getSubTemplate ('CommonCustomStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<link href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/jquery-ui-1.8.19.custom.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/grid_listing.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/ui.daterangepicker.css" />
</head><body>
<div class="outer_container">
  <?php echo $_smarty_tpl->getSubTemplate ('CommonTop.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

  <!--End:Header Container-->
  <!--***********************************************************************END HEADER CONTAINER******************************************************-->
  <div class="content_container">
  	<div class="content_wrapper">
     
    <h2><?php echo $_smarty_tpl->tpl_vars['language']->value['lblServiceRequests'];?>
</h2>
	
    <div class="clear"></div>
    <!--End: Right Block-->
    <div class="leftblock  full_width">
      <div class="shadow_outer">
        <div class="shadow_inner" >
          <div id="common_message"></div>
          <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formOrderSearch",'action'=>'','method'=>"post",'enctype'=>"multipart/form-data"),$_smarty_tpl);?>

          <div class="search_container">
            <div class="inner wide-box">
              <ul class="clearfix">
                
                
               <li class="column">
                  <p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuServiceCenter'];?>
</p>
                  <span class="form-field01">
                    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('name'=>"serviceID",'class'=>"select-box",'caption'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblSelect']),'options'=>$_smarty_tpl->tpl_vars['listServices']->value),$_smarty_tpl);?>

                   </span>
                </li>
                
                <li class="column">
					<p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuBrands'];?>
</p>
					<span class="form-field01">
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('class'=>"select-box",'name'=>"brandID",'caption'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblSelect']),'options'=>$_smarty_tpl->tpl_vars['listBrand']->value),$_smarty_tpl);?>
			                 
					</span>
				</li>       
               
                <li class="column">
                  <p class="label-field01"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblEmail'];?>
</p>
                  <span class="form-field01">
                      <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"userEmail",'class'=>"text-box"),$_smarty_tpl);?>
 
					  <span class="message_validation hide" id="validate_userEmail"><?php echo $_smarty_tpl->tpl_vars['language']->value['errValidEmail'];?>
</span>
					  </span>
                </li>
                	
				
                <li class="column">
                  <p class="label-field01">&nbsp;</p>
                  	<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"formName",'id'=>"formName",'value'=>"formOrderSearch"),$_smarty_tpl);?>
                    
                    <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSearch'];?>
<?php $_tmp1=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitSearchReq",'form'=>"formOrderSearch",'tabindex'=>"1",'value'=>$_tmp1,'class'=>"button01"),$_smarty_tpl);?>

                    <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/servicecenter/servicerequests/",'caption'=>"<span class=listall>".($_smarty_tpl->tpl_vars['language']->value['lblListAll'])."</span>",'class'=>"action-link"),$_smarty_tpl);?>

                  </li>
                </ul>
            </div>
          </div>
          <!--END:sEARCH cONTAINER-->
           
          <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>

          <?php if ($_smarty_tpl->tpl_vars['resRequests']->value){?>
          <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formOrder",'action'=>'','method'=>"post",'enctype'=>"multipart/form-data"),$_smarty_tpl);?>

          <div class="grid_table00">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>  
                 
                   <?php if ($_smarty_tpl->tpl_vars['sortkey']->value==''&&$_smarty_tpl->tpl_vars['sortkey1']->value==''&&$_smarty_tpl->tpl_vars['sortkey2']->value==''&&$_smarty_tpl->tpl_vars['sortkey3']->value==''&&$_smarty_tpl->tpl_vars['sortkey4']->value==''&&$_smarty_tpl->tpl_vars['sortkey5']->value==''){?>
                       <?php $_smarty_tpl->tpl_vars["sortkey"] = new Smarty_variable("asc", null, 0);?>
                    <?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['sortkey']->value=="asc"){?>
                   		<?php $_smarty_tpl->tpl_vars["sortimg"] = new Smarty_variable("sortdesc", null, 0);?> 
            		<?php }else{ ?>  
            			<?php $_smarty_tpl->tpl_vars["sortimg"] = new Smarty_variable("sortasc", null, 0);?>
            		<?php }?>
            		<?php if ($_smarty_tpl->tpl_vars['sortkey1']->value=="asc"){?>
            			<?php $_smarty_tpl->tpl_vars["sortimg1"] = new Smarty_variable("sortdesc", null, 0);?> 
            		<?php }else{ ?>  
            			<?php $_smarty_tpl->tpl_vars["sortimg1"] = new Smarty_variable("sortasc", null, 0);?>
            		<?php }?>
            		<?php if ($_smarty_tpl->tpl_vars['sortkey2']->value=="asc"){?>
            			<?php $_smarty_tpl->tpl_vars["sortimg2"] = new Smarty_variable("sortdesc", null, 0);?> 
            		<?php }else{ ?>  
            			<?php $_smarty_tpl->tpl_vars["sortimg2"] = new Smarty_variable("sortasc", null, 0);?>
            		<?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['sortkey3']->value=="asc"){?>
            			<?php $_smarty_tpl->tpl_vars["sortimg3"] = new Smarty_variable("sortdesc", null, 0);?> 
            		<?php }else{ ?>  
            			<?php $_smarty_tpl->tpl_vars["sortimg3"] = new Smarty_variable("sortasc", null, 0);?>
            		<?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['sortkey4']->value=="asc"){?>
            			<?php $_smarty_tpl->tpl_vars["sortimg4"] = new Smarty_variable("sortdesc", null, 0);?> 
            		<?php }else{ ?>  
            			<?php $_smarty_tpl->tpl_vars["sortimg4"] = new Smarty_variable("sortasc", null, 0);?>
            		<?php }?>
                    <?php if ($_smarty_tpl->tpl_vars['sortkey5']->value=="asc"){?>
            			<?php $_smarty_tpl->tpl_vars["sortimg5"] = new Smarty_variable("sortdesc", null, 0);?> 
            		<?php }else{ ?>  
            			<?php $_smarty_tpl->tpl_vars["sortimg5"] = new Smarty_variable("sortasc", null, 0);?>
            		<?php }?>
                    
            <th align="left" valign="middle" width="15%" class="unsortable"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuServiceCenter'];?>
</th>
			<th  align="left" valign="middle"  width="6%"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblMenuBrands'];?>
</th>
            <th align="left" valign="middle" width="15%"   <?php if ($_smarty_tpl->tpl_vars['sortkey2']->value!=''){?>class=<?php echo $_smarty_tpl->tpl_vars['sortimg2']->value;?>
<?php }else{ ?>class="sort" <?php }?>><?php ob_start();?><?php if ($_smarty_tpl->tpl_vars['sortkey2']->value==''){?><?php echo "desc";?><?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['sortkey2']->value;?><?php }?><?php $_tmp2=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCustomerName'];?>
<?php $_tmp3=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblCustomerName'];?>
<?php $_tmp4=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>($_smarty_tpl->tpl_vars['normallink']->value)."sortby/scustomer/orderby/".$_tmp2."/",'title'=>$_tmp3,'content'=>$_tmp4),$_smarty_tpl);?>
</a></th>
            <th align="left" width="7%" valign="middle" class="unsortable"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblEmail'];?>
</th>
            <th align="left" width="8%" valign="middle" class="unsortable"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPhone'];?>
</th>
            <th align="left" width="8%" valign="middle" class="unsortable"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblModel'];?>
</th>            
            <th align="left" valign="middle"  width="10%" class="unsortable"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblPreferredDate'];?>
</th>
             <th  align="left" valign="middle" style="width:5%;" >&nbsp;</th>
            
            </tr>
            <?php  $_smarty_tpl->tpl_vars["req"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["req"]->_loop = false;
 $_smarty_tpl->tpl_vars["key1"] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['resRequests']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["req"]->key => $_smarty_tpl->tpl_vars["req"]->value){
$_smarty_tpl->tpl_vars["req"]->_loop = true;
 $_smarty_tpl->tpl_vars["key1"]->value = $_smarty_tpl->tpl_vars["req"]->key;
?>
            
            <tr>
             <td align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['req']->value['name'];?>
 </td>
			 <td align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['req']->value['brandName'];?>
</td>
            <td align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['req']->value['subtitle'];?>
<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['decode_str'][0][0]->getDecodeString($_smarty_tpl->tpl_vars['req']->value['customer_name']);?>
</td>
             
              <td align="left" valign="middle"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['decode_str'][0][0]->getDecodeString($_smarty_tpl->tpl_vars['req']->value['emailID']);?>
 </td>
              <td align="left" valign="middle"><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['decode_str'][0][0]->getDecodeString($_smarty_tpl->tpl_vars['req']->value['customer_phone']);?>
 </td>
              <td align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['req']->value['model'];?>
 </td>
              <td align="left" valign="middle"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['req']->value['prefDate'],$_smarty_tpl->tpl_vars['date_format']->value);?>
</td>
              <td align="left" valign="top" style="width:10%;">
              <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"servicecenter/requestdetail/id/".($_smarty_tpl->tpl_vars['req']->value['serviceReqID'])."/",'class'=>"preview icon-set",'title'=>($_smarty_tpl->tpl_vars['language']->value['lblView']),'caption'=>'','history'=>"yes"),$_smarty_tpl);?>
</td>
            </tr>
            <?php } ?>
          </table>
          </div>
          <div class="fixing_right pagination_outer" > <?php echo $_smarty_tpl->smarty->registered_objects['paginate'][0]->layout(array('key'=>"page",'label_record'=>($_smarty_tpl->tpl_vars['language']->value['lblRecorsFound']),'label_pages'=>($_smarty_tpl->tpl_vars['language']->value['lblPages'])),$_smarty_tpl);?>
 </div>
          <div class="clear"></div>
          
          <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>

          
          <?php }else{ ?>
          <div class="message_info"> <?php echo $_smarty_tpl->tpl_vars['language']->value['msgNoRecords'];?>
</div>
          <?php }?> 
        <!--End:Table Listing-->
      </div>
      <!--End:Border 3-->
    </div>
    <!--End:Border 2-->
  </div>
  <!--End: left Block-->
  <div class="clear"></div>
  </div>
</div>
<!--End:Content Container-->
<?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
</div>
<!--End:Outer Container-->
<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<!--End:Outer Container-->
<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('id'=>"common_message"),$_smarty_tpl);?>

<script type="text/javascript" >
var msgSelectSearchCriteria="<?php echo $_smarty_tpl->tpl_vars['language']->value['msgSelectSearchCriteria'];?>
";
var lblSelectBusiness	=	"<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectBusiness'];?>
";
var lblSelectCity  = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectCity'];?>
";
var lblSelectProductType = "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectProductType1'];?>
";
var lblSelectItem			= '<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelectItem'];?>
';
</script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/table.plugin.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery.multiselect.widget.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/callbackreq.page.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/date.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/daterangepicker.jQuery.js"></script>
</body>
</html>
<?php }} ?>