-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCheckavialability.jsp
53 lines (40 loc) · 1.53 KB
/
Checkavialability.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<%@page import="net.vehicle.VehicleCommon"%>
<%@page import="java.util.ArrayList"%>
<style type="text/css">
<!--
.style10 {color: #EED9A8; font-weight: bold; font-size: 14px; }
-->
</style>
<%
ArrayList all = VehicleCommon.viewcheckdetailsbyvec();
int size = all.size();
%>
<!--
.style10 {color: #EED9A8; font-weight: bold; font-size: 14px; }
.style11 {color: #E49C7C}
-->
</style>
<tr>
<th colspan="2" scope="col"><h2>You can check availability of vehicle and condition of vehicle before approve the bookings </h2></th>
</tr>
<table width="95%" align="center" style="border:#000080 solid 2px;padding:10px;" border="0">
<tr>
<th bgcolor="#000080" scope="col"><span class="style10">Vehicle No </span></th>
<th bgcolor="#000080" scope="col"><span class="style10">Vehicle Name </span></th>
<th bgcolor="#000080" scope="col"><span class="style10">Availability</span></th>
<th bgcolor="#000080" scope="col"><span class="style10">Repair Date</span></th>
<th bgcolor="#000080" scope="col"><span class="style10">Additional Information</span></th>
</tr>
<%
for(int i=0;i<size;i++){
ArrayList one=(ArrayList)all.get(i);
%>
<tr style="height:30px; padding:4px;">
<td><div align="center"><%=(String)one.get(0)%></div></td>
<td><div align="center"><%=(String)one.get(1)%></div></td>
<td><div align="center"><%=(String)one.get(2)%></div></td>
<td><div align="center"><%=(String)one.get(3)%> </div></td>
<td><div align="center"><%=(String)one.get(4)%> </div></td>
</tr>
<% } %>
</table>