Current File : //home/obabain/public_html/abc/MouldDA_check.jsp |
<%-- <%@include file="master.jsp"%>
--%> <%@page import="java.sql.ResultSet"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ include file="Connection.jsp" %>
<%@include file="master.jsp" %>
<%Statement st=con.createStatement();%>
<%ResultSet rs=null; %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Mould Creation View</title>
<script src='https://code.jquery.com/jquery-3.3.1.js'></script>
<script src='https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js'></script>
<script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js" charset="utf-8">
</script>
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
-->
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/css/bootstrap.css"> -->
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css">
</head>
<body>
<script type="text/javascript">
$(document).ready(function() {
$('#example').DataTable();
} );
</script>
<div class="row" style="width:108%;">
<div class="col-md-9" style="background-color:white;">
<div style="margin-top:10px;">
<div class="col-md-5" style="margin-left:380px;color:#0691e2;" ><b><u>Mould Creation View</u></b></div>
<a class="btn btn-info pull-right" style="background:#0691e2" onclick="goBack()">Back</a>
<a style="background:#0691e2" class="btn btn-info " href="Mould_check.jsp">Create New</a>
</div>
<br>
<table id="example" style="width:95%;" class="table table-striped table-bordered">
<thead>
<tr>
<th>Sl No</th>
<th> Mould Number</th>
<th>Mould Name</th>
<th>Created Date</th>
<th>Select Pattern</th>
<th>Select Item</th>
<th>Description</th>
</tr>
</thead>
<tbody >
<%-- <%
try{
String query="";
int i1=1;
rs=st.executeQuery("select s.id,po_no,po_date,delivery_date,client_name,wono,ip.product_name from sorder_vin as s inner join ip_clients as ic on s.customer=ic.client_id inner join sorder_vin1 as sv on sv.vin_id=s.id inner join ip_products as ip on sv.material=ip.product_id order by s.po_date DESC ");
/* ResultSet rs=st.executeQuery(query); */
while(rs.next())
{
%>
<tr>
<td><%=i1 %></td>
<td ><a href="SO_workorder.jsp?Id=<%=rs.getInt("s.id")%>" ><span style="color:red;"><%=rs.getString("client_name") %></span></a></td>
<td><%=rs.getString("po_no") %></td>
<td><%=rs.getString("wono") %></td>
<td><%=rs.getString("ip.product_name") %></td>
<td><%=rs.getString("po_date") %></td>
<td><%=rs.getString("delivery_date") %></td>
</tr>
<%
i1++; }
}
catch(Exception el){out.print(el);}
%> --%>
</tbody>
</thead>
</table>
</div>
</div>
</div>
<%@include file="footer.jsp" %>
<script type="text/javascript">
function goBack() {
window.history.back();
};
</script>
</body>
</html>