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.21.105.222
Current Path : /var/www/html/pms/html/ |
| Current File : /var/www/html/pms/html/searchinvfet.html |
<style>
.col-sm-3 {
margin-bottom: 5px !important;
}
.card .col-sm-4 {
margin-bottom: 4px !important;
}
.control-label .col-sm-1 {
margin-bottom: 4px !important;
}
.col-sm-11 {
margin-bottom: 0px !important;
}
.form-group .col-sm-12 {
margin-bottom: -5px !important;
}
/* .control-label .col-sm-1{
margin-bottom: 5px !important;
} */
.col-sm-8 {
margin-bottom: 5px !important;
}
.col-sm-2 {
margin-bottom: 5px !important;
}
.label {
font-size: 13px !important;
}
.col-sm-1.control-label {
margin-left: 14px;
}
</style>
<div class="row clearfix">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<!-- <div class="header">
<div style="float: right">
<button
style="margin-top: -20px"
class="btn bg-primary waves-effect"
onclick="loadInvoiceEntry()"
>
View
</button>
</div>
</div> -->
<div class="body">
<div class="row clearfix">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" id="loadInvoice">
<div
class="panel panel-primary"
style="width: 1024px; margin-left: auto; margin-right: auto"
>
<div class="panel-heading">
Invoice Details
<div style="float: right; margin: -5px">
<button
style="color: black"
class="btn"
onclick="loadsearchpms()"
>
Back
</button>
</div>
</div>
<div class="panel-body" style="position: relative">
<div class="form-horizontal">
<div class="form-group">
<label
class="control-label col-sm-1"
for="email"
style="margin-bottom: 5px; width: 110px"
><b>Voucher No.</b></label
>
<div class="col-sm-3" style="margin-left: -5px">
<input
type="email"
class="form-control2"
id="voucherid"
placeholder="Voucher No."
disabled
value=""
/>
</div>
<div class="pull-right">
<label
class="control-label col-sm-3"
for="Voucher Date"
style="width: 130px"
><b>Voucher Date.</b></label
>
<div class="col-sm-3">
<input type="text" name="date" id="voucherdate"
class="form-control2" placeholder="dd/mm/yyyy" onkeyup="
var v = this.value; if (v.match(/^\d{2}$/) !== null) {
this.value = v + '/'; } else if (v.match(/^\d{2}\/\d{2}$/)
!== null) { this.value = v + '/'; }" maxlength="10" }">
</div>
</div>
</div>
<div class="form-group">
<label
class="control-label col-sm-1"
for="Supplier Code"
style="width: 85px"
>
<b>Supplier<span style="color: crimson">*</span></b>
</label>
<div class="col-sm-8">
<select
class="form-control2"
id="supcode"
style="width: 460px; margin-left: 20px"
onchange="getsupname()"
>
<option value="">--Select--</option>
</select>
</div>
<!-- <div class="col-sm-11">
<input
type="text"
class="form-control2 col-sm-1"
id="supcode"
style="width: 175px"
placeholder="Supplier Code"
onchange="getsupname()"
/>
<input
type="text"
class="form-control2 col-sm-11"
id="supname"
disabled
placeholder="Supplier Name"
style="width: 685px"
/>
</div> -->
</div>
<div class="form-group">
<label
class="control-label col-sm-1"
for="Voucher Date"
style="margin-bottom: 5px; width: 105px"
><b
>Invoice No.<span style="color: crimson">*</span></b
></label
>
<div class="col-sm-3" style="margin-right: -40px">
<input
type="text"
style="text-transform: uppercase"
class="form-control2"
id="invno"
placeholder="Invoice No"
/>
</div>
<label
class="control-label col-sm-1"
for="Voucher Date"
style="margin-bottom: 5px; margin-left: -10px"
><b
>Invoice Date<span style="color: crimson">*</span></b
></label
>
<div class="col-sm-3">
<input type="text" name="date" id="invdate"
class="form-control2" placeholder="dd/mm/yyyy"
onblur="validatedate(this)" onkeyup=" var v = this.value; if
(v.match(/^\d{2}$/) !== null) { this.value = v + '/'; } else
if (v.match(/^\d{2}\/\d{2}$/) !== null) { this.value = v +
'/'; }" maxlength="10" }">
</div>
<label
class="control-label col-sm-1"
for="Voucher Date"
style="margin-bottom: 5px; width: 115px; margin-left: -20px"
><b>Inv. Rec. Date </b></label
>
<div class="col-sm-3">
<input type="text" name="date" id="invrecdate"
class="form-control2" placeholder="dd/mm/yyyy"
onblur="validatedate(this)" onkeyup=" var v = this.value; if
(v.match(/^\d{2}$/) !== null) { this.value = v + '/'; } else
if (v.match(/^\d{2}\/\d{2}$/) !== null) { this.value = v +
'/'; }" maxlength="10" }">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-1" style="width: 105px">
<b
>Description<span style="color: crimson">*</span></b
></label
>
<div class="col-sm-10">
<input
type="text"
style="text-transform: uppercase"
class="form-control2 col-sm-12"
id="invdesc"
placeholder="Description"
style="width: 840px"
/>
</div>
</div>
<div class="form-group col-sm-12" style="margin-top: 20px">
<div
class="card col-sm-4"
style="
padding: 10px;
height: 200px;
width: 300px;
margin-right: 3px;
"
>
<div class="form-group">
<label class="control-label col-sm-3" for="Voucher Date"
><b
>Basic<span style="color: crimson">*</span></b
></label
>
<div class="col-sm-3">
<input
type="text"
class="form-control2"
id="basic"
onkeyup="calpayamount_entry();"
onkeypress="return isNumberKey(event);"
placeholder="Basic"
/>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3" for="Voucher Date"
><b>SGST</b></label
>
<div class="col-sm-3">
<input
type="text"
class="form-control2"
id="sgst"
onkeyup="calpayamount_entry();"
onkeypress="return isNumberKey(event);"
placeholder="SGST"
/>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3" for="Voucher Date"
><b>CGST</b></label
>
<div class="col-sm-3">
<input
type="text"
class="form-control2"
id="cgst"
onkeyup="calpayamount_entry();"
onkeypress="return isNumberKey(event);"
placeholder="CGST"
/>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3" for="Voucher Date"
><b>Total</b></label
>
<div class="col-sm-3">
<input
type="text"
class="form-control2"
id="total"
disabled
value="0"
placeholder="Total"
/>
</div>
</div>
</div>
<div
class="card col-sm-4"
style="
padding: 10px;
height: 200px;
width: 300px;
margin-right: 3px;
margin-left: 10px;
"
>
<div class="form-group">
<label
class="control-label col-sm-3"
for="Voucher Date"
style="text-align: left"
><b>TDS %</b></label
>
<div class="col-sm-3">
<input
type="text"
class="form-control2"
id="tdsper"
disabled
placeholder="TDS %"
/>
</div>
</div>
<div class="form-group">
<label
class="control-label col-sm-3"
for="Voucher Date"
style="text-align: left"
><b>TDS Amount</b></label
>
<div class="col-sm-3">
<input
type="text"
class="form-control2"
id="tdsamount"
value="0"
disabled
placeholder="TDS Amount"
/>
</div>
</div>
<div class="form-group">
<label
class="control-label col-sm-3"
for="Voucher Date"
style="text-align: left"
><b>Payable</b></label
>
<div class="col-sm-3">
<input
type="text"
class="form-control2"
id="payable"
disabled
placeholder="Payable"
/>
</div>
</div>
</div>
<div
class="card col-sm-4"
style="
padding: 10px;
height: 200px;
width: 330px;
margin-right: 3px;
margin-left: 10px;
"
>
<div class="form-group">
<label class="control-label col-sm-2" for="Voucher Date"
><b>Credit</b></label
>
<div class="col-sm-1">
<input
type="text"
class="form-control2"
id="credit"
style="width: 70px"
value="0"
placeholder="Credit"
onkeypress="return isNumberKey(event);"
onkeyup="caltotalpayble();"
/>
</div>
<label class="control-label col-sm-2" for="Voucher Date"
><b></b
></label>
<div class="col-sm-2">
<input
type="text"
class="form-control2"
id="creditrem"
placeholder="Credit Remarks"
/>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="Voucher Date"
><b>Debit</b></label
>
<div class="col-sm-1">
<input
type="text"
class="form-control2"
id="debit"
style="width: 70px"
value="0"
onkeyup="caltotalpayble()"
onkeypress="return isNumberKey(event);"
placeholder="Debit"
/>
</div>
<label class="control-label col-sm-2" for="Voucher Date"
><b></b
></label>
<div class="col-sm-2">
<input
type="text"
class="form-control2"
id="rebitrem"
placeholder="Debit Remarks"
/>
</div>
</div>
<div class="form-group">
<div class="col-sm-4" style="width: 130px">
<b>Total Payable</b>
</div>
<div class="col-sm-2">
<input
type="text"
class="form-control2"
id="totpayable"
disabled
placeholder="Total Payable"
/>
</div>
</div>
</div>
</div>
<div id="footinv" class="form-group">
<label
class="control-label col-sm-1"
for="email"
style="width: 110px; margin-left: 7px"
><b>Attach Inv.</b></label
>
<div class="col-sm-3">
<input
type="file"
class="form-control2"
id="invfile"
style="width: 200px"
/>
</div>
<div>
<button
onclick="upload_file_inv()"
class="btn btn-lg bg-primary waves-effect"
>
upload
</button>
<input type="hidden" id="invfile_h" value="" />
<a id="invfile_a" target="_blank">View</a>
</div>
<div>
<label class="control-label col-sm-2" for="email"
><b></b
></label>
<div class="pull-right">
<button
class="btn btn-lg bg-primary waves-effect"
onclick="saveinvoice()"
>
Save
</button>
</div>
</div>
</div>
<div>
<a id="invfile_b" target="_blank" hidden>View Attachment</a>
<br />
<div id="utrdivsearch" style="display: flex">
<p><b>Utr No. :- </b></p>
  
<p id="utrnosrarch"></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
function isNumberKey(evt) {
var charCode = evt.which ? evt.which : event.keyCode;
if ((charCode >= 48 && charCode <= 57) || charCode == 8) {
return true;
}
return false;
}
</script>
|