<?php /* Smarty version Smarty-3.1.11, created on 2024-07-17 09:33:47
         compiled from "..\views\default\buyBillview\product.html" */ ?>
<?php /*%%SmartyHeaderCode:6887669765cbb76856-52295058%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '83baf2319c8c3d72efa6c15d569b99bc9c5dadf5' => 
    array (
      0 => '..\\views\\default\\buyBillview\\product.html',
      1 => 1672089199,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6887669765cbb76856-52295058',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'billSettingsData' => 0,
    'itr' => 0,
    'parcode' => 0,
    'Programsettingdata' => 0,
    'proprice' => 0,
    'billsettingsData' => 0,
    'usergroup' => 0,
    'billnameAddData' => 0,
    'productId' => 0,
    'hasSizeColor' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_669765cbd00453_84689088',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_669765cbd00453_84689088')) {function content_669765cbd00453_84689088($_smarty_tpl) {?><td <?php if ($_smarty_tpl->tpl_vars['billSettingsData']->value[6]->billsettingsvalue==0){?>  <?php }else{ ?> style="display:none !important;" <?php }?>><a onClick="javascript:showModalBox(this.name);" class="newLink btn btn-primary conformdel"  id="new<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" name="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
">جديد</a></td>
<td <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['billSettingsData']->value[40]->billsettingsvalue;?>
<?php $_tmp1=ob_get_clean();?><?php if ($_tmp1==0){?>  <?php }else{ ?> style="display:none !important;" <?php }?>><?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
</td>
<td class="wdt120 check_tr_parcode <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['billSettingsData']->value[59]->billsettingsvalue;?>
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp2==1){?>  hidden <?php }?>">
    <div id="parcodeDiv<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
">
        <input name="parcode<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" type="text" id="parcode<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  value="<?php echo $_smarty_tpl->tpl_vars['parcode']->value;?>
" class="form-control txt-nonraduis" onkeypress="getproductbyParcode(event, this.value, <?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
);" size="10" autocomplete="off"/>
    </div>
</td>
<td>
    <div id="productdiv<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
">
        <input type="hidden" id="product<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" name="product<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-placeholder="اختر" class="select2productx<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
 wdt100" />
    </div>
</td>
<td <?php if ($_smarty_tpl->tpl_vars['billSettingsData']->value[7]->billsettingsvalue==0){?>  <?php }else{ ?> style="display:none !important;" <?php }?>>
    <input name="note<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="note<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  type="text"  class="form-control txt-nonraduis"/>
</td>
<td class="wdt100n check_tr_unit <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['billSettingsData']->value[53]->billsettingsvalue;?>
<?php $_tmp3=ob_get_clean();?><?php if ($_tmp3==1){?>  hidden <?php }?>">
    <div id="unitDiv<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
">
        <select name="unitId<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="unitId<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-placeholder="اختر" onChange="getUnitPrice(<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
);" class="select2_unit<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
 aw_m1" >
        </select>
    </div>
</td>
<td class="wdt100n check_tr_quantity <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['billSettingsData']->value[64]->billsettingsvalue;?>
<?php $_tmp4=ob_get_clean();?><?php if ($_tmp4==1){?>  hidden <?php }?>" >
    <input name="pronum<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="pronum<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" value="1"  class="form-control getprototal  txt-nonraduis numberclic enteraction numberinput" type="text" />
</td>
<td class="  <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['Programsettingdata']->value->scunitname;?>
<?php $_tmp5=ob_get_clean();?><?php if ($_tmp5=='0'){?>  hidden <?php }?>">
    <input name="scunitname<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="scunitname<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" value="0"  class="form-control txt-nonraduis positiveNo" placeholder="العدد" type="text" tabindex="7" />
</td>
<td>
    <div id="propricechange<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
">
        <input name="proprice<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="proprice<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  value="<?php echo $_smarty_tpl->tpl_vars['proprice']->value;?>
" class="form-control getprototal  txt-nonraduis  numberclic enteraction numberinput" type="text"  />
    </div>
</td>
<td <?php if ($_smarty_tpl->tpl_vars['billSettingsData']->value[8]->billsettingsvalue==0){?>  <?php }else{ ?> style="display:none !important;" <?php }?>>
    <input name="prodis<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="prodis<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" value="0"   class="form-control getprototal  txt-nonraduis numberonly enteraction numberinput" type="text"  />
    <input name="discounttype<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="discounttype<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  value="0" class="form-control getprototal numberonly enteraction numberinput txt-nonraduis positivefloat" tabindex="7"   <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['billsettingsData']->value[34]->billsettingsvalue;?>
<?php $_tmp6=ob_get_clean();?><?php if ($_tmp6==1){?> type="text" <?php }else{ ?>  type="hidden" <?php }?>/>
</td>
<td class="<?php if ($_smarty_tpl->tpl_vars['usergroup']->value->hideBillPrices==1){?>hidden<?php }?>" <?php if ($_smarty_tpl->tpl_vars['billsettingsData']->value[96]->billsettingsvalue==0&&$_smarty_tpl->tpl_vars['billnameAddData']->value->productAndQuantityOnly==0){?>  <?php }else{ ?> style="display:none !important;" <?php }?>>
    <input name="rowtaxval<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="rowtaxval<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" value="0" class="form-control getprototal numberonly enteraction numberinput txt-nonraduis positiveNo" placeholder="<?php echo @BUY_BILL_ROW_TAX;?>
" type="hidden"/>
    <input name="rowtaxper<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="rowtaxper<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  value="0" class="form-control getprototal numberonly enteraction numberinput txt-nonraduis positiveNo" tabindex="7"  type="text" />
</td>
<td class="aw_totalprice <?php if ($_smarty_tpl->tpl_vars['usergroup']->value->hideBillPrices==1){?>hidden<?php }?>" <?php if ($_smarty_tpl->tpl_vars['billnameAddData']->value->productAndQuantityOnly==1){?> style="display:none !important;" <?php }?>>
    <input  name="hidden_prototal<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="hidden_prototal<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" class="editTotal form-control txt-nonraduis enteraction numberinput positiveNo" value="" type="text"/>
</td>
<td>
    <button type="button" id="remove<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" onclick="removeproduct(<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
);" class="removeproduct close flt-none" aria-hidden="true">&times;</button>
</td>

<input name="productid_hidden<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="productid_hidden<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['productId']->value;?>
" />
<input name="isNew<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="isNew<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" type="hidden" value="1">
<input name="hasSizeColor<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" id="hasSizeColor<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['hasSizeColor']->value;?>
">
<!--  <input name="newItr" id="newItr" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
">
-->

<script type="text/javascript">
    $(document).ready(function (e) {

    });
</script>
<?php }} ?>