<thead>
	<tr style="width:100%;">
		<th style="text-align:center !important;">#</th>
		<th>Name</th>
		<th style="text-align:center !important;">MRP</th>
		<th style="text-align:center !important;">Rate</th>
		<th style="text-align:center !important;">Qty</th>
		<th style="text-align:center !important;">Amt</th>
		<th style="text-align:center !important;">Disc</th>
		<th style="text-align:center !important;">Tax</th>
		<th style="text-align:center !important;">Net</th>
		<th>Remove</th>
	</tr>
</thead>

<tbody id="stock_items_tbl_body">
   {{#records}}
	    <tr id="irow_{{seq}}">
		    <td style="text-align:center !important; width:5%">{{seq}}</td>
			<td style="width:28%"><span>{{name}}</span></td>
			<td style="text-align:center; width:8%;">
				<input class="form-control imrp iicontrol" id="imrp_{{seq}}" value="{{mrp}}" seq="{{seq}}" 
					onfocus="this.select();"  style="text-align: center !important;" />
			</td>
			<td style="text-align:center; width:8%;">
				<input class="form-control irate iicontrol" id="irate_{{seq}}" value="{{rate}}" seq="{{seq}}" 
					onfocus="this.select();" style="text-align: center !important;"/>
			</td>
			<td style="text-align:center; width:8%;">
				<input class="form-control iqty iicontrol" id="iqty_{{seq}}" value="{{qty}}" seq="{{seq}}" 
					onfocus="this.select();" style="text-align: center !important;"/>
			</td>
			<td style="text-align:center;width:10%;">
                  <span id="totamt_{{seq}}">{{disp_amt}}</span>
            </td>
			<td style="text-align:center;width:12%;">
				<div class="row w-100 m-0">
					<div class="col-9">
						<input class="form-control idisc iicontrol" id="idisc_input_{{seq}}" value="{{disc_value}}" 
							seq="{{seq}}" onfocus="this.select();" style="text-align: center !important;" />
					</div>
					<div class="col-3 d-flex">
						<span id="idisc_{{seq}}" seq="{{seq}}" class="my-auto" style="font-weight:bold;">P</span>
					</div>
				</div>
            </td>
            <td style="text-align:center; width:5%;" seq="{{seq}}"><span>{{igst_percent}}</span></td>
			<td style="width:10%;text-align:center;">
                  <span class="col-9 p-0 pt-1" id="namt_{{seq}}" seq="{{seq}}">{{disp_namt}}</span>
            </td>
			<td style="text-align:center; width:5%">
			   <button id="idel_{{seq}}" seq="{{seq}}" class="btn btn-sm btn-outline-danger idel iicontrol"><i class="fa-solid fa-trash"></i></button> 
		    </td>
	    </tr>
	 {{/records}}
</tbody>