Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.145.172.11
<script>$('#inddate').datepicker({showOn: 'button',showButtonPanel: true, changeMonth: true, changeYear: true,dateFormat:'dd/mm/yy',buttonImage: 'images/cal.jpg', buttonImageOnly: true}); </script>
<script type='text/javascript'>$(function() {$('#tabs').tabs();});$(function() {$('#sub_tabs').tabs();});</script>
<script>
function setEditMode(event,id)
{
var edtid="hdf"+id;
document.getElementById(edtid).value='E';
addNextRow();
return true;
}
var element_id='';
var countRows=0;
function addNextRow()
{
var chkCnt=0;
var inputFileds = document.getElementsByTagName('input');
for (var counter=0; counter < inputFileds.length; counter++)
{
if (inputFileds[counter].type.toUpperCase()=='TEXT' && inputFileds[counter].name == "itemcode")
{
chkCnt++;
}
}
countRows=chkCnt;
if(countRows !=0)
{
element_id="itemcode"+countRows;
if($("#itemcode"+countRows).val())
addRow();
//addHeadCode(element_id);
}
else
{
addRow();
//addHeadCode(element_id);
}
}
function addRow()
{
countRows++;
element_id = 'barcode'+countRows;
var new_row ="<tr><td><input type=text name='rowid' id='rowid_"+countRows+"' style='width:40px;text-align:center;' disabled value="+ countRows +" class='form-control'/></td>";
new_row +="<td><input name='barcode' id ='"+element_id+"' value='' onblur='getSalesBarcodeItemDetails(this.value,"+ countRows +");' type='text' style='width:100px;' class='form-control input-md'/></td>";
new_row +="<td><input name='itemcode' id ='itemcode"+countRows+"' value='' maxlength=5 type='text' style='width:100px;text-align:center;' class='form-control input-md'/></td>";
new_row +="<td><input name='itemname"+countRows+"' id='itemname"+countRows+"' value='' style=width:300px type='text' class='form-control input-md'></td>";
new_row +="<td><input name='batchno"+countRows+"' id='batchno"+countRows+"' value='' style=width:100px type='text' class='form-control input-md'></td>";
new_row +="<td><input name='issueqty"+countRows+"' id='issueqty"+countRows+"' value='' style=width:70px type='text' class='form-control input-md'></td>";
new_row +="<td><input name='rate"+countRows+"' id='rate"+countRows+"' value='' style='width:70px;' type='text' class='form-control input-md' onblur='valItAdd("+ countRows +")'><input type='hidden' value='A' id='rwst"+countRows+"'></td></tr>";
$("#item_table").append(new_row);
$("#"+element_id).focus();
return false;
}
</script>
<div id='tabs'>
<ul style='height:20px;'>
<li></li>
</ul>
<div align="centre" id="report_Marklist_subject_wise_div" style="height:490px; overflow:auto;width:100%;font-size:14px;">
<div id='input_form' >
<table width="630px" border="0" cellspacing="1" cellpadding="1" style='margin-top:20px;margin-left:20px;'>
<tr>
<td align="left" style='width:130px;'>Invoice no.
</td>
<td>
<input type="text" id="T1" style="width:100px;text-align:center;backgound-color:#DDDDDD;" disabled value='' placeholder = '< Auto >' >
</td>
<td align="left" style='width:135px;'>Invoice date<span style="color:red;">*</span>
</td>
<td>
<input type="text" id="T2" style="width: 100px" title='Invoice date' onkeydown='salesfocus(event,this.id)' >
</td>
<td align="left">Inpatient
</td>
<td>
<input type="checkbox" id="C1" onclick='acceptInpatientId(this.id)'>
</td>
</tr>
</table>
<table width="900px" border="0" cellspacing="1" cellpadding="1" style='margin-left:20px;'>
<tr>
<td align="left" style='width:130px;'>Patient Id.<span style="color:red;">*</span>
</td>
<td>
<input type="text" id="T3" style="width:100px;" readonly title='Patient Id., maxlength 8' maxlength=8 onkeydown='salesfocus(event,this.id)' >
</td>
<td align="left" style='width:130px;'>Patient Name<span style="color:red;">*</span>
</td>
<td>
<input type="text" id="T5" style="width: 400px" title='Patient Name, maxlength 100' maxlength=100 onkeydown='salesfocus(event,this.id)' >
</td>
</tr>
<tr>
<td align="left" style='width:130px;'>Contact no.<span style="color:red;">*</span>
</td>
<td>
<input type="text" id="T4" style="width:100px;" title='Contact no., maxlength 5' onkeydown='salesfocus(event,this.id)'>
</td>
<td align="left" style='width:130px;'>Address<span style="color:red;">*</span>
</td>
<td>
<input type="text" id="T6" style="width:400px;" title='Address, maxlength 100' onkeydown='salesfocus(event,this.id)' >
</td>
</tr>
</table>
<div style='border:2px solid #BAE3FA;margin-top:10px;'>
<table width="700px" border="0" cellspacing="1" cellpadding="1" style='margin-left:20px;'>
<tr>
<td align="left" style='width:130px;'>Barcode<span style="color:red;">*</span>
</td>
<td>
<input type='hidden' id='salebarcode' value='0' />
<input type="text" id="GT1" style="width:100px" maxlength=8 title='Barcode, maxlength 8' onkeydown='salesfocus(event,this.id)' >
</td>
</tr>
<tr>
<td align="left" >Item code
</td>
<td>
<input type="text" id="GT2" style="width:100px" maxlength=4 readonly title='Item code' >
<input type="text" id="GT3" readonly tabindex=-1 style=" width:400px;">
</td>
</tr>
</table>
<table width="1100px" border="0" cellspacing="1" cellpadding="1" style='margin-left:20px;'>
<tr>
<td align="left" style='width:130px;'>Batch no.
</td>
<td>
<input type="text" id="GT4" title='Batch no.' readonly style="width: 100px" >
</td>
<td align="left">Exp date.
</td>
<td>
<input type="text" readonly id="GT6" title='Expiry date' style="width: 100px" >
</td>
<td align="left">M.R.P.<span style="color:red;">*</span>
</td>
<td>
<input type="text" id="HT1" title='MRP, maxlength 10' readonly style="width: 100px" ><input type="hidden" id="HT3" >
</td>
<td align="left">Quantity.<span style="color:red;">*</span>
</td>
<td>
<input type="text" id="GT7" title='Quantity, maxlength 5' onkeypress='return AcceptNumbersOnly(event);' onkeydown='salesfocus(event,this.id)' style="width: 100px" >
<!--<input type='hidden' id='HT1' title='MRP'>-->
<input type='hidden' id='HT2' title='Balance Qty'>
</td>
<td align="left">Amount.
</td>
<td>
<input type="text" readonly id="GT8" title='Amount, maxlength 10' style="width: 100px" >
</td>
</tr>
</table>
</div>
</div>
<div id='gridlist' style='height:240px;overflow:auto;'></div>
<div >
<table width="550px" border="0" cellspacing="1" cellpadding="1" style='margin-top:10px;margin-left:20px;clear:both;'>
<tr>
<td align="left" style='width:130px;'>Total Amount</td>
<td>
<input type="text" id="T7" readonly style="width:100px;text-align:left;" value = "" >
</td>
<td align="left">Payment type</td>
<td>
<select style='width:150px;' title="Payment type">
<option value = "#"> select </option>
<option value = "cash"> cash </option>
<option value = "card"> card </option>
</select>
</td>
</tr>
</table>
</div>
</div>
|