Current File : /home/obabain/public_html/abc/Mould_checkView.jsp |
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@page import="java.sql.*,java.util.*"%>
<%@page import="java.sql.ResultSet"%>
<%@ include file="Connection.jsp" %>
<%@include file="master.jsp"%>
<!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>Insert title here</title>
</head>
<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://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">
<body>
<div class="row">
<div class="col-md-9">
<div class="panel panel-default">
<div class="panel-heading main-color-bg">
<h3 class="panel-title">Pouring View</h3>
<a class="btn btn-danger pull-right pull-top" style="margin-top:-24px; " href="ProcessInspection.jsp">Process Inspection Report</a>
</div>
<!-- <div>
<a href="ProcessInspectionView.jsp">
<button class="btn btn-primary" style="margin-left:850px;margin-top:20px">New</button>
</a>
</div> -->
<div class="panel-body">
<script type="text/javascript">
$(document).ready(function() {
$('#example').DataTable();
} );
</script>
<div style="overflow-x:auto;">
<table class="table table-striped table-bordered" id="example">
<thead>
<tr class="info">
<th>Order No</th>
<th>Heat No</th>
<th>Item Description</th>
<th>Tapping Temp in c</th>
<th>Poured Qty in No's</th>
<th>Poured Qty in Kg's</th>
<th>Rej Qty</th>
<th>Weight</th>
<th>Remarks</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<%
Statement st=con.createStatement();
ResultSet rs11=st.executeQuery("select * from main_patternlists ");
while(rs11.next()){
/* furnace_no=rs11.getString("furnace_no");
f_ontime=rs11.getString("f_ontime");
f_offtime=rs11.getString("f_offtime");
shift=rs11.getString("shift");
date=rs11.getString("date");
product=rs11.getString("product");
heat_no=rs11.getString("heat_no"); */
%>
<tr style="height:2px;">
<td><%=rs11.getString("order_no") %></td>
<td><%=rs11.getString("heat_no") %></td>
<td><%=rs11.getString("item_description") %></td>
<td><%=rs11.getString("tapping_temp") %></td>
<td><%=rs11.getString("pouredq_no") %></td>
<td><%=rs11.getString("pouredq_kg") %></td>
<td><%=rs11.getString("rej_qtywt") %></td>
<td><%=rs11.getString("weight") %></td>
<td><%=rs11.getString("remarks") %></td>
<td>
<a href="edit_mc.jsp?id=<%=rs11.getString("id")%>"> <span class="glyphicon glyphicon-edit"></span></a>
</td>
<td>
<a href="delete_mc.jsp?id=<%=rs11.getString("id")%>"> <span class="glyphicon glyphicon-remove" ></span></a>
</td>
</tr>
<%} %>
</tbody>
</table>
</div>
<br>
<button class="btn btn-primary" onclick="goBack()">Back</button>
<script type="text/javascript">
function goBack()
{
window.history.back();
};
</script>
</div>
</div>
</div>
</div>
</body>
</html>