<?php /* Smarty version Smarty-3.1.8, created on 2021-03-18 12:05:15
         compiled from "/home/agmc/beta/application/core/views/manage/standard/AjaxAssignSellers.tpl" */ ?>
<?php /*%%SmartyHeaderCode:19447940195e5396e0770348-76868968%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b9f26f933f654c7b47e75bf829c430a92643f36b' => 
    array (
      0 => '/home/agmc/beta/application/core/views/manage/standard/AjaxAssignSellers.tpl',
      1 => 1605520856,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '19447940195e5396e0770348-76868968',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e5396e07cbc78_17671725',
  'variables' => 
  array (
    'view_styles' => 0,
    'busOptAdded' => 0,
    'editMerchantVal' => 0,
    'productOptionCount' => 0,
    'sellerIncr' => 0,
    'merchantStyle' => 0,
    'resBusiness' => 0,
    'busOptCount' => 0,
    'language' => 0,
    'prodRegPrice' => 0,
    'prodSalePrice' => 0,
    'setAsProductDeal' => 0,
    'dealPriceClass' => 0,
    'productForm' => 0,
    'dealPrice' => 0,
    'productInvLevel' => 0,
    'quanStyle' => 0,
    'quanClass' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e5396e07cbc78_17671725')) {function content_5e5396e07cbc78_17671725($_smarty_tpl) {?><link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/add-edit.css" media="screen" />



                
<?php if ((($tmp = @$_smarty_tpl->tpl_vars['busOptAdded']->value)===null||$tmp==='' ? '' : $tmp)=="Yes"){?>               
   
<?php }?>
<?php if ((($tmp = @$_smarty_tpl->tpl_vars['editMerchantVal']->value)===null||$tmp==='' ? '' : $tmp)=="Yes"){?>
    <?php $_smarty_tpl->tpl_vars["merchantStyle"] = new Smarty_variable('', null, 0);?>
<?php }else{ ?>
    <?php $_smarty_tpl->tpl_vars["merchantStyle"] = new Smarty_variable("hide", null, 0);?>
<?php }?>

<li id="newMerchant_<?php echo $_smarty_tpl->tpl_vars['productOptionCount']->value;?>
_<?php echo $_smarty_tpl->tpl_vars['sellerIncr']->value;?>
" class="<?php echo $_smarty_tpl->tpl_vars['merchantStyle']->value;?>
" rel="<?php echo $_smarty_tpl->tpl_vars['sellerIncr']->value;?>
" productoptioncount=<?php echo $_smarty_tpl->tpl_vars['productOptionCount']->value;?>
>
<ul class="popupMerchant">
    <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"productOptionsGroup[".($_smarty_tpl->tpl_vars['productOptionCount']->value)."][businessOptionsGroup][".($_smarty_tpl->tpl_vars['sellerIncr']->value)."][assignBusinessID]",'id'=>"business_".($_smarty_tpl->tpl_vars['productOptionCount']->value)."_".($_smarty_tpl->tpl_vars['sellerIncr']->value),'value'=>(($tmp = @$_smarty_tpl->tpl_vars['resBusiness']->value[0]['businessID'])===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>

                        <?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['busOptCount']->value['businessID'])===null||$tmp==='' ? '' : $tmp);?>
<?php $_tmp1=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"productOptionsGroup[".($_smarty_tpl->tpl_vars['productOptionCount']->value)."][businessOptionsGroup][".($_smarty_tpl->tpl_vars['sellerIncr']->value)."][hiddenBusinessID]",'value'=>$_tmp1),$_smarty_tpl);?>

        <?php ob_start();?><?php echo (($tmp = @$_smarty_tpl->tpl_vars['busOptCount']->value['productOptionBusinessID'])===null||$tmp==='' ? '' : $tmp);?>
<?php $_tmp2=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"productOptionsGroup[".($_smarty_tpl->tpl_vars['productOptionCount']->value)."][businessOptionsGroup][".($_smarty_tpl->tpl_vars['sellerIncr']->value)."][hiddenProductOptionBusinessID]",'value'=>$_tmp2),$_smarty_tpl);?>




<li class="clearfix">                 
    <div class="left1 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblListPrice'];?>
</div>
    <?php if ((($tmp = @$_smarty_tpl->tpl_vars['busOptCount']->value['productOptionRegularPrice'])===null||$tmp==='' ? '' : $tmp)>0){?>
         <?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price_no_symbol'][0][0]->getFormattedAmount($_smarty_tpl->tpl_vars['busOptCount']->value['productOptionRegularPrice']);?>
<?php $_tmp3=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["prodRegPrice"] = new Smarty_variable($_tmp3, null, 0);?>
    <?php }else{ ?>
        <?php $_smarty_tpl->tpl_vars["prodRegPrice"] = new Smarty_variable('', null, 0);?>
    <?php }?>
    <?php if ((($tmp = @$_smarty_tpl->tpl_vars['busOptCount']->value['productOptionProductPrice'])===null||$tmp==='' ? '' : $tmp)>0){?>
         <?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price_no_symbol'][0][0]->getFormattedAmount($_smarty_tpl->tpl_vars['busOptCount']->value['productOptionProductPrice']);?>
<?php $_tmp4=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["prodSalePrice"] = new Smarty_variable($_tmp4, null, 0);?>
    <?php }else{ ?>
        <?php $_smarty_tpl->tpl_vars["prodSalePrice"] = new Smarty_variable('', null, 0);?>
    <?php }?>
    <?php if ((($tmp = @$_smarty_tpl->tpl_vars['busOptCount']->value['dealPrice'])===null||$tmp==='' ? '' : $tmp)>0){?>
         <?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['price_no_symbol'][0][0]->getFormattedAmount($_smarty_tpl->tpl_vars['busOptCount']->value['dealPrice']);?>
<?php $_tmp5=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["dealPrice"] = new Smarty_variable($_tmp5, null, 0);?>
    <?php }else{ ?>
        <?php $_smarty_tpl->tpl_vars["dealPrice"] = new Smarty_variable('', null, 0);?>
    <?php }?>
    <div class="right1 ">
        <ul class="levl-02 clearfix">
            <li>
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"productOptionsGroup[".($_smarty_tpl->tpl_vars['productOptionCount']->value)."][businessOptionsGroup][".($_smarty_tpl->tpl_vars['sellerIncr']->value)."][businessOptionReqPrice]",'id'=>"productOptionsGroup_".($_smarty_tpl->tpl_vars['productOptionCount']->value)."_businessOptionsGroup_".($_smarty_tpl->tpl_vars['sellerIncr']->value)."_busOptReqPrice",'class'=>"textbox length0_50pers option_price_new required-entry",'maxlength'=>"11",'rel'=>$_smarty_tpl->tpl_vars['sellerIncr']->value,'fieldName'=>"businessOptionReqPrice",'group'=>"productOptionsGroup",'row'=>$_smarty_tpl->tpl_vars['sellerIncr']->value,'value'=>$_smarty_tpl->tpl_vars['prodRegPrice']->value),$_smarty_tpl);?>

                                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"productOptionsGroup[".($_smarty_tpl->tpl_vars['productOptionCount']->value)."][businessOptionsGroup][".($_smarty_tpl->tpl_vars['sellerIncr']->value)."][businessOptionSalePrice]",'id'=>"productOptionsGroup_".($_smarty_tpl->tpl_vars['productOptionCount']->value)."_businessOptionsGroup_".($_smarty_tpl->tpl_vars['sellerIncr']->value),'value'=>($_smarty_tpl->tpl_vars['prodSalePrice']->value)),$_smarty_tpl);?>

            </li>
            
            <?php if ((($tmp = @$_smarty_tpl->tpl_vars['setAsProductDeal']->value)===null||$tmp==='' ? '' : $tmp)=="Yes"){?>
                <?php $_smarty_tpl->tpl_vars["dealPriceClass"] = new Smarty_variable('', null, 0);?>
            <?php }else{ ?>
                <?php $_smarty_tpl->tpl_vars["dealPriceClass"] = new Smarty_variable("hide", null, 0);?>
            <?php }?>
            <li class="<?php echo $_smarty_tpl->tpl_vars['dealPriceClass']->value;?>
 dealPrice-Sec"><label class="label1"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblDealPrice'];?>
</label>
                <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"productOptionsGroup[".($_smarty_tpl->tpl_vars['productOptionCount']->value)."][businessOptionsGroup][".($_smarty_tpl->tpl_vars['sellerIncr']->value)."][businessOptionDealPrice]",'id'=>"productOptionsGroup_".($_smarty_tpl->tpl_vars['productOptionCount']->value)."_businessOptionsGroup_".($_smarty_tpl->tpl_vars['sellerIncr']->value)."_dealPrice",'error_class'=>"message_inline_validation",'form'=>$_smarty_tpl->tpl_vars['productForm']->value,'validate_inline'=>"yes",'class'=>"textbox length0_50pers option_price_new option-dealprice",'rel'=>$_smarty_tpl->tpl_vars['sellerIncr']->value,'maxlength'=>"11",'fieldName'=>"businessOptionDealPrice",'value'=>$_smarty_tpl->tpl_vars['dealPrice']->value,'row'=>$_smarty_tpl->tpl_vars['sellerIncr']->value,'group'=>"productOptionsGroup"),$_smarty_tpl);?>
 
 </li>
        </ul>
    </div>
</li>
<?php if ((($tmp = @$_smarty_tpl->tpl_vars['productInvLevel']->value)===null||$tmp==='' ? '' : $tmp)=='Product'){?>
    <?php $_smarty_tpl->tpl_vars["quanStyle"] = new Smarty_variable('', null, 0);?>
    <?php $_smarty_tpl->tpl_vars["quanClass"] = new Smarty_variable("required-entry", null, 0);?>
<?php }else{ ?>
    <?php $_smarty_tpl->tpl_vars["quanStyle"] = new Smarty_variable("hide", null, 0);?>
    <?php $_smarty_tpl->tpl_vars["quanClass"] = new Smarty_variable('', null, 0);?>
<?php }?>
<li class="clearfix busQuantitySec <?php echo $_smarty_tpl->tpl_vars['quanStyle']->value;?>
">
    <div class="left1 mandatory"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblQuantity'];?>
</div>
    <div class="right1 fixing_right"> 
        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"productOptionsGroup[".($_smarty_tpl->tpl_vars['productOptionCount']->value)."][businessOptionsGroup][".($_smarty_tpl->tpl_vars['sellerIncr']->value)."][businessQuantity]",'class'=>"textbox businessQuantity ".($_smarty_tpl->tpl_vars['quanClass']->value),'rel'=>$_smarty_tpl->tpl_vars['sellerIncr']->value,'fieldName'=>"businessQuantity",'group'=>"productOptionsGroup",'row'=>$_smarty_tpl->tpl_vars['sellerIncr']->value,'value'=>(($tmp = @$_smarty_tpl->tpl_vars['busOptCount']->value['productOptionQuantity'])===null||$tmp==='' ? '' : $tmp)),$_smarty_tpl);?>
 
    </div>
</li>




                  
                  

<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"productOptionsGroup[".($_smarty_tpl->tpl_vars['productOptionCount']->value)."][businessOptionsGroup][".($_smarty_tpl->tpl_vars['sellerIncr']->value)."][businessOptionDefault]",'value'=>"Yes"),$_smarty_tpl);?>

 <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"productOptionsGroup[".($_smarty_tpl->tpl_vars['productOptionCount']->value)."][businessOptionsGroup][".($_smarty_tpl->tpl_vars['sellerIncr']->value)."][busProductStatus]",'value'=>"Active"),$_smarty_tpl);?>


</ul>

</li><?php }} ?>