<?php /* Smarty version Smarty-3.1.8, created on 2019-12-24 14:21:48
         compiled from "/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/AddedComboBlock.tpl" */ ?>
<?php /*%%SmartyHeaderCode:15496642715da80ad25ce265-94089799%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3a81fe71fb144fdb477f5162b035ece70977638e' => 
    array (
      0 => '/home/stg70/public_html/agmc-v2/application/core/views/manage/standard/AddedComboBlock.tpl',
      1 => 1577180533,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15496642715da80ad25ce265-94089799',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5da80ad263b3d6_01523790',
  'variables' => 
  array (
    'resproductCombo' => 0,
    'resproductComboMini' => 0,
    'language' => 0,
    'productCombo' => 0,
    'Count' => 0,
    'prevValue' => 0,
    'resproductStock' => 0,
    'rowspan' => 0,
    'productComboMini' => 0,
    'resproductStockMini' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5da80ad263b3d6_01523790')) {function content_5da80ad263b3d6_01523790($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['resproductCombo']->value||$_smarty_tpl->tpl_vars['resproductComboMini']->value){?>
<div class="grid_table01" id="combohead">
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
                <tr align="left" valign="top">
                  <th width="5%" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSlNo'];?>
 </th>
                  <th align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['resproductCombo']->value[0]['custnameco'];?>
</th>
                   <th align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['resproductCombo']->value[0]['custnameup'];?>
</th>
                  <th width="8%" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblVSBID'];?>
</th>
                  <th width="8%" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblStatus'];?>
</th>
                  <th width="10%" align="center" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblQuantity'];?>
</th>
                  
                </tr>
                <?php $_smarty_tpl->tpl_vars["Count"] = new Smarty_variable(1, null, 0);?>
                <?php $_smarty_tpl->tpl_vars["prevValue"] = new Smarty_variable('', null, 0);?>
                <?php  $_smarty_tpl->tpl_vars["productCombo"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["productCombo"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['resproductCombo']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["productCombo"]->key => $_smarty_tpl->tpl_vars["productCombo"]->value){
$_smarty_tpl->tpl_vars["productCombo"]->_loop = true;
?>	
                <tr align="left" valign="top" id="row_<?php echo $_smarty_tpl->tpl_vars['productCombo']->value['customOptionCombID'];?>
">
                  <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['Count']->value;?>
</td>
                  <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['productCombo']->value['custnamevalue1'];?>
 (Code:<?php echo $_smarty_tpl->tpl_vars['productCombo']->value['extVariantCode'];?>
)</td>
                  <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['productCombo']->value['custnamevalue2'];?>
 (Code:<?php echo $_smarty_tpl->tpl_vars['productCombo']->value['intVariantCode'];?>
)</td>
                  <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['productCombo']->value['vsbID'];?>
</td>
                 <td align="left" valign="top"><?php if ($_smarty_tpl->tpl_vars['productCombo']->value['status']=='A'){?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblActive'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblInactive'];?>
<?php }?></td>
                 
                 <?php if ($_smarty_tpl->tpl_vars['prevValue']->value!=$_smarty_tpl->tpl_vars['productCombo']->value['customOptionID']){?>
                    <?php if ((($tmp = @$_smarty_tpl->tpl_vars['resproductStock']->value[$_smarty_tpl->tpl_vars['productCombo']->value['customOptionID']]['stock'])===null||$tmp==='' ? '' : $tmp)>0){?>
                        <?php $_smarty_tpl->tpl_vars["rowspan"] = new Smarty_variable(($_smarty_tpl->tpl_vars['resproductStock']->value[$_smarty_tpl->tpl_vars['productCombo']->value['customOptionID']]['stock']), null, 0);?>
                    <?php }else{ ?>                     
                        <?php $_smarty_tpl->tpl_vars["rowspan"] = new Smarty_variable("1", null, 0);?>
                    <?php }?>
                    <td align="center" valign="middle" rowspan="<?php echo $_smarty_tpl->tpl_vars['rowspan']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['rowspan']->value;?>
</td>
		  <?php }?>
                  
                
                </tr><?php $_smarty_tpl->tpl_vars["Count"] = new Smarty_variable($_smarty_tpl->tpl_vars['Count']->value+1, null, 0);?>
                <?php $_smarty_tpl->tpl_vars["prevValue"] = new Smarty_variable(($_smarty_tpl->tpl_vars['productCombo']->value['customOptionID']), null, 0);?>
	<?php } ?>	 
</table>
<?php if (count((($tmp = @$_smarty_tpl->tpl_vars['resproductComboMini']->value)===null||$tmp==='' ? '' : $tmp))>0){?>
    <div>&nbsp;</div>
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
                <tr align="left" valign="top">
                  <th width="5%" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblSlNo'];?>
 </th>
                  <th align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['resproductComboMini']->value[0]['custnameco'];?>
</th>
                   <th align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['resproductComboMini']->value[0]['custnameup'];?>
</th>
                  <th width="8%" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblVSBID'];?>
</th>
                  <th width="8%" align="left" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblStatus'];?>
</th>
                  <th width="10%" align="center" valign="middle"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblQuantity'];?>
</th>
                  
                </tr>
                <?php $_smarty_tpl->tpl_vars["Count"] = new Smarty_variable(1, null, 0);?>
                <?php $_smarty_tpl->tpl_vars["prevValue"] = new Smarty_variable('', null, 0);?>
                <?php  $_smarty_tpl->tpl_vars["productComboMini"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["productComboMini"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['resproductComboMini']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["productComboMini"]->key => $_smarty_tpl->tpl_vars["productComboMini"]->value){
$_smarty_tpl->tpl_vars["productComboMini"]->_loop = true;
?>	
                <tr align="left" valign="top" id="row_<?php echo $_smarty_tpl->tpl_vars['productComboMini']->value['customOptionCombID'];?>
">
                  <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['Count']->value;?>
</td>
                  <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['productComboMini']->value['custnamevalue1'];?>
 (Code:<?php echo $_smarty_tpl->tpl_vars['productComboMini']->value['bonnetStripeCode'];?>
)</td>
                  <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['productComboMini']->value['custnamevalue2'];?>
 (Code:<?php echo $_smarty_tpl->tpl_vars['productComboMini']->value['roofCapCode'];?>
)</td>
                  <td align="left" valign="top"><?php echo $_smarty_tpl->tpl_vars['productComboMini']->value['vsbID'];?>
</td>
                 <td align="left" valign="top"><?php if ($_smarty_tpl->tpl_vars['productComboMini']->value['status']=='A'){?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblActive'];?>
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['language']->value['lblInactive'];?>
<?php }?></td>
                 
                 <?php if ($_smarty_tpl->tpl_vars['prevValue']->value!=$_smarty_tpl->tpl_vars['productComboMini']->value['customOptionID']){?>
                    <?php if ((($tmp = @$_smarty_tpl->tpl_vars['resproductStockMini']->value[$_smarty_tpl->tpl_vars['productComboMini']->value['customOptionID']]['stock'])===null||$tmp==='' ? '' : $tmp)>0){?>
                        <?php $_smarty_tpl->tpl_vars["rowspan"] = new Smarty_variable(($_smarty_tpl->tpl_vars['resproductStockMini']->value[$_smarty_tpl->tpl_vars['productComboMini']->value['customOptionID']]['stock']), null, 0);?>
                    <?php }else{ ?>                     
                        <?php $_smarty_tpl->tpl_vars["rowspan"] = new Smarty_variable("1", null, 0);?>
                    <?php }?>
                    <td align="center" valign="middle" rowspan="<?php echo $_smarty_tpl->tpl_vars['rowspan']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['rowspan']->value;?>
</td>
		  <?php }?>
                  
                
                </tr><?php $_smarty_tpl->tpl_vars["Count"] = new Smarty_variable($_smarty_tpl->tpl_vars['Count']->value+1, null, 0);?>
                <?php $_smarty_tpl->tpl_vars["prevValue"] = new Smarty_variable(($_smarty_tpl->tpl_vars['productComboMini']->value['customOptionID']), null, 0);?>
	<?php } ?>	 
</table>
<?php }?>
</div>
<?php }else{ ?>
 <div class="message_info"><?php echo $_smarty_tpl->tpl_vars['language']->value['msgNoRecords'];?>
</div>
<?php }?>

 <div class="message_info" style="display:None" id="comboNorecords"><?php echo $_smarty_tpl->tpl_vars['language']->value['msgNoRecords'];?>
</div>
<?php }} ?>