<td {if $billSettingsData[6]->billsettingsvalue eq 0}  {else} style="display:none !important;" {/if}><a onClick="javascript:showModalBox(this.name);" class="newLink btn btn-primary conformdel"  id="new{$itr}" name="{$itr}">جديد</a></td>
<td {if {$billSettingsData[40]->billsettingsvalue} eq 0}  {else} style="display:none !important;" {/if}>{$itr}</td>
<td class="wdt120 check_tr_parcode {if {$billSettingsData[59]->billsettingsvalue} eq 1}  hidden {/if}">
    <div id="parcodeDiv{$itr}">
        <input name="parcode{$itr}" type="text" id="parcode{$itr}"  value="{$parcode}" class="form-control txt-nonraduis" onkeypress="getproductbyParcode(event, this.value, {$itr});" size="10" autocomplete="off"/>
    </div>
</td>
<td>
    <div id="productdiv{$itr}">
        <input type="hidden" id="product{$itr}" name="product{$itr}" data-placeholder="اختر" class="select2productx{$itr} wdt100" />
    </div>
</td>
<td {if $billSettingsData[7]->billsettingsvalue eq 0}  {else} style="display:none !important;" {/if}>
    <input name="note{$itr}" id="note{$itr}"  type="text"  class="form-control txt-nonraduis"/>
</td>
<td class="wdt100n check_tr_unit {if {$billSettingsData[53]->billsettingsvalue} eq 1}  hidden {/if}">
    <div id="unitDiv{$itr}">
        <select name="unitId{$itr}" id="unitId{$itr}" data-placeholder="اختر" onChange="getUnitPrice({$itr});" class="select2_unit{$itr} aw_m1" >
        </select>
    </div>
</td>
<td class="wdt100n check_tr_quantity {if {$billSettingsData[64]->billsettingsvalue} eq 1}  hidden {/if}" >
    <input name="pronum{$itr}" id="pronum{$itr}" value="1"  class="form-control getprototal  txt-nonraduis numberclic enteraction numberinput" type="text" />
</td>
<td class="  {if {$Programsettingdata->scunitname} eq '0'}  hidden {/if}">
    <input name="scunitname{$itr}" id="scunitname{$itr}" value="0"  class="form-control txt-nonraduis positiveNo" placeholder="العدد" type="text" tabindex="7" />
</td>
<td>
    <div id="propricechange{$itr}">
        <input name="proprice{$itr}" id="proprice{$itr}"  value="{$proprice}" class="form-control getprototal  txt-nonraduis  numberclic enteraction numberinput" type="text"  />
    </div>
</td>
<td {if $billSettingsData[8]->billsettingsvalue eq 0}  {else} style="display:none !important;" {/if}>
    <input name="prodis{$itr}" id="prodis{$itr}" value="0"   class="form-control getprototal  txt-nonraduis numberonly enteraction numberinput" type="text"  />
    <input name="discounttype{$itr}" id="discounttype{$itr}"  value="0" class="form-control getprototal numberonly enteraction numberinput txt-nonraduis positivefloat" tabindex="7"   {if {$billsettingsData[34]->billsettingsvalue} eq 1} type="text" {else}  type="hidden" {/if}/>
</td>
<td class="{if $usergroup->hideBillPrices == 1}hidden{/if}" {if $billsettingsData[96]->billsettingsvalue eq 0&& $billnameAddData->productAndQuantityOnly eq 0}  {else} style="display:none !important;" {/if}>
    <input name="rowtaxval{$itr}" id="rowtaxval{$itr}" value="0" class="form-control getprototal numberonly enteraction numberinput txt-nonraduis positiveNo" placeholder="{$smarty.const.BUY_BILL_ROW_TAX}" type="hidden"/>
    <input name="rowtaxper{$itr}" id="rowtaxper{$itr}"  value="0" class="form-control getprototal numberonly enteraction numberinput txt-nonraduis positiveNo" tabindex="7"  type="text" />
</td>
<td class="aw_totalprice {if $usergroup->hideBillPrices == 1}hidden{/if}" {if $billnameAddData->productAndQuantityOnly eq 1} style="display:none !important;" {/if}>
    <input  name="hidden_prototal{$itr}" id="hidden_prototal{$itr}" class="editTotal form-control txt-nonraduis enteraction numberinput positiveNo" value="" type="text"/>
</td>
<td>
    <button type="button" id="remove{$itr}" onclick="removeproduct({$itr});" class="removeproduct close flt-none" aria-hidden="true">&times;</button>
</td>

<input name="productid_hidden{$itr}" id="productid_hidden{$itr}" type="hidden" value="{$productId}" />
<input name="isNew{$itr}" id="isNew{$itr}" type="hidden" value="1">
<input name="hasSizeColor{$itr}" id="hasSizeColor{$itr}" type="hidden" value="{$hasSizeColor}">
<!--  <input name="newItr" id="newItr" type="hidden" value="{$itr}">
-->
{literal}
<script type="text/javascript">
    $(document).ready(function (e) {

    });
</script>
{/literal}