Current File : /home/obabain/public_html/abc/ManufacturingOrder_View.jsp |
<%@include file="master.jsp"%>
<style type="text/css">
.highlight-error {
border-color: red;
}
table, th, td {
border: 1px solid black;
width:30px;
}
.inlineTable {
display: inline-block;
}
.panel-default>.panel-heading-custom {
background: #ff0000;
color: #fff;
}
</style>
<!-- <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">-->
<script
src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<body>
<div class="row">
<form action="addcustomer.jsp" method="post" id="contact" name="form1">
<section id="main">
<div class="container">
<div class="row" style="width: 110%">
<div class="col-md-10">
<div class="panel panel-default">
<div class="panel-heading main-color-bg">
<h3 class="panel-title">Manufacturing Order view:</h3>
</div>
<div class="panel-body">
<!-- <div class="row">
<label for="lastname" style="margin-left:95px;">Select Product:</label>
<input id="lastname" class="" style="width:130px;margin:5px; type="text"
title=""
name="contactperson" placeholder="HSN"/>
<label for="lastname" style="margin: 5px;"> </label>
<select id="lastname" style="width:140px;margin:5px;height:25px;"title="Enter last name"name="cl">
<option>select</option>
<option></option>
</select>
</div>-->
<div class="container">
<div class="row">
<a href="ViewM_orderForm.jsp" class="btn btn-primary a-btn-slide-text">
<span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
<span><strong>Edit</strong></span>
</a>
<a href="#" class="btn btn-primary a-btn-slide-text">
<span class="glyphicon glyphicon-create" aria-hidden="true"></span>
<span><strong>Duplicate</strong></span>
</a>
</div>
</div>
<hr>
<b>Details:</b>
<div class="panel-body">
<table id="myTable" class="table table-bordered"style="width:950px; border:2 ">
<tr>
<th>Reference</th>
<th>Schedule Date</th>
<th>Product</th>
<th>Product Qty</th>
<th>Total Hour</th>
<th>Total Cycle</th>
<th>Status</th>
</tr>
<tbody>
<tr>
<td>
<input type="text" name="item[]" style="width:100px;" >
</td>
<td>
<input type="text" name="" style="width:130px;"class="form" >
</td>
<td><input type="text" name="sku[]" style="width:130px;" class="txtstyle" >
</td>
<td>
<input type="text" name="qty[]" class="txtstyle">
</td>
<td>
<input type="text" name="qty[]" class="txtstyle">
</td>
<td>
<input type="text" name="qty[]" style="width:120px;">
</td>
<td>
<input type="text" name="qty[]" style="width:100px;">
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<%-- <% }else{
response.sendRedirect("login.jsp");
} %> --%>
<script src="http://cdn.ckeditor.com/4.6.1/standard/ckeditor.js"></script>
<script src="http://cdn.ckeditor.com/4.6.1/standard/ckeditor.js"></script>
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<script
src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/jquery.validate.min.js"></script>
<script
src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/additional-methods.min.js"></script>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
$('[data-type="adhaar-number"]').keyup(
function() {
var value = $(this).val();
value = value.replace(/\D/g, "").split(/(?:([\d]{4}))/g)
.filter(s = s.length > 0).join("-");
$(this).val(value);
});
$('[data-type="adhaar-number"]').on("change, blur", function() {
var value = $(this).val();
var maxLength = $(this).attr("maxLength");
if (value.length != maxLength) {
$(this).addClass("highlight-error");
alert("Aadhar card number not valid");
} else {
$(this).removeClass("highlight-error");
}
});
</script>
</form>
</div>
</body>
</html>