| 7290 |
rajveer |
1 |
<html>
|
|
|
2 |
<head>
|
|
|
3 |
<title>Price Approval</title>
|
|
|
4 |
<style>
|
|
|
5 |
table { font-size: 12px; }
|
|
|
6 |
td { border-color: #000000; }
|
|
|
7 |
.payments, .carts { text-align: center; }
|
|
|
8 |
input[type="radio"]:checked {
|
|
|
9 |
background-color: red;
|
|
|
10 |
}
|
|
|
11 |
|
|
|
12 |
</style>
|
|
|
13 |
</head>
|
|
|
14 |
<body>
|
|
|
15 |
#if($action.displayForm())
|
|
|
16 |
<form name="itemstring" action="$action.getServletContextPath()/price-approval" method="post" style="font-size: 100px;">
|
| 7353 |
rajveer |
17 |
<label><input style="width:3em; height:3em;" type="radio" name="approve" value="true">Approve</label><br><br>
|
| 7290 |
rajveer |
18 |
<label><input style="width:3em; height:3em;" type="radio" name="approve" value="false">Reject</label><br>
|
|
|
19 |
<input type="hidden" name="orderId" value="$action.getOrderId()"><br>
|
|
|
20 |
<input style="font-size: 100px;" type="submit" value="Submit">
|
|
|
21 |
</form>
|
|
|
22 |
#else
|
|
|
23 |
<h1>Your order with id $action.getOrderId() has been successfully #if($action.isApprove()) Approved #else Rejected #end</h1>
|
|
|
24 |
#end
|
|
|
25 |
|
|
|
26 |
<br>
|
|
|
27 |
<br>
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
</body>
|
|
|
31 |
</html>
|