| 5591 |
mandeep.dh |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
3 |
<head>
|
| 12361 |
manish.sha |
4 |
<script type="text/javascript" src="/inventory/js/jquery-1.4.2.js"></script>
|
|
|
5 |
<script type="text/javascript" src="/inventory/js/jquery.validate.js"></script>
|
| 5591 |
mandeep.dh |
6 |
<title>
|
|
|
7 |
#set($supplier = $action.getSupplier())
|
|
|
8 |
Edit $supplier.getName()
|
|
|
9 |
</title>
|
|
|
10 |
</head>
|
|
|
11 |
<body>
|
|
|
12 |
<script>
|
|
|
13 |
$(document).ready(function() {
|
|
|
14 |
$("form#editSupplier").validate();
|
|
|
15 |
});
|
|
|
16 |
</script>
|
|
|
17 |
<a href="/inventory">Go to Home page</a>
|
|
|
18 |
<br />
|
|
|
19 |
<h2>Edit Supplier $supplier.getName()</h2>
|
|
|
20 |
<form id = "editSupplier" action="/inventory/supplier!update" method="post">
|
|
|
21 |
<table >
|
|
|
22 |
<tr >
|
|
|
23 |
<td >Name</td>
|
|
|
24 |
<td ><input name="name" type="text" class="required" value="$supplier.getName()" size="30"/></td>
|
|
|
25 |
</tr>
|
|
|
26 |
<tr >
|
|
|
27 |
<td >Phone (Max. 12 digits)</td>
|
|
|
28 |
<td ><input name="phone" type="text" class="required digits" value="$supplier.getPhone()"/></td>
|
|
|
29 |
</tr>
|
| 21844 |
amit.gupta |
30 |
<tr>
|
|
|
31 |
<td >TIN (Max. 15 digits)</td>
|
| 21848 |
amit.gupta |
32 |
<td ><input name="gstin" type="text" class="required digits" value="$supplier.getTin()"/></td>
|
|
|
33 |
</tr>
|
|
|
34 |
<tr>
|
|
|
35 |
<td >GSTIN (Max. 15 digits)</td>
|
| 21844 |
amit.gupta |
36 |
<td ><input name="gstin" type="text" class="required digits" value="$supplier.getGstin()"/></td>
|
| 5591 |
mandeep.dh |
37 |
</tr>
|
|
|
38 |
<tr >
|
|
|
39 |
<td >PAN</td>
|
|
|
40 |
<td ><input name="pan" type="text" class="required" value="$supplier.getPan()"/></td>
|
|
|
41 |
</tr>
|
|
|
42 |
<tr >
|
|
|
43 |
<td >Fax</td>
|
|
|
44 |
<td ><input name="fax" type="text" class="required" value="$supplier.getFax()"/></td>
|
|
|
45 |
</tr>
|
|
|
46 |
<tr >
|
|
|
47 |
<td >Head Name</td>
|
|
|
48 |
<td ><input name="headName" type="text" class="required" value="$supplier.getHeadName()" size="30"/></td>
|
|
|
49 |
</tr>
|
|
|
50 |
<tr >
|
|
|
51 |
<td >Head Designation</td>
|
|
|
52 |
<td ><input name="headDesignation" type="text" value="$supplier.getHeadDesignation()"/></td>
|
|
|
53 |
</tr>
|
|
|
54 |
<tr >
|
|
|
55 |
<td >Head Email</td>
|
|
|
56 |
<td ><input name="headEmail" type="text" class="email required" value="$supplier.getHeadEmail()" size="30"/></td>
|
|
|
57 |
</tr>
|
|
|
58 |
<tr >
|
|
|
59 |
<td >Contact Person</td>
|
|
|
60 |
<td ><input name="contactName" type="text" class="required" value="$supplier.getContactName()" size="30"/></td>
|
|
|
61 |
</tr>
|
|
|
62 |
<tr >
|
|
|
63 |
<td >Contact Email(; separated email ids)</td>
|
|
|
64 |
<td ><input name="contactEmail" type="text" class="required" value="$supplier.getContactEmail()" size="70"/></td>
|
|
|
65 |
</tr>
|
|
|
66 |
<tr >
|
|
|
67 |
<td >Contact Phone (Max. 12 digits)</td>
|
|
|
68 |
<td ><input name="contactPhone" type="text" class="required digits" value="$supplier.getContactPhone()"/></td>
|
|
|
69 |
</tr>
|
|
|
70 |
<tr >
|
|
|
71 |
<td >Contact Fax (Max. 12 digits)</td>
|
|
|
72 |
<td ><input name="contactFax" type="text" class="required digits" value="$supplier.getContactFax()"/></td>
|
|
|
73 |
</tr>
|
|
|
74 |
<tr >
|
|
|
75 |
<td >Registered Address</td>
|
|
|
76 |
<td ><input name="registeredAddress" type="text" class="required" value="$supplier.getRegisteredAddress()" size="70"/></td>
|
|
|
77 |
</tr>
|
|
|
78 |
<tr >
|
|
|
79 |
<td >Communication Address</td>
|
|
|
80 |
<td ><input name="communicationAddress" type="text" class="required" value="$supplier.getCommunicationAddress()" size="70"/></td>
|
|
|
81 |
</tr>
|
| 10295 |
amar.kumar |
82 |
<tr >
|
|
|
83 |
<td >State</td>
|
| 12862 |
manish.sha |
84 |
#if($supplier.getStateId()==0)
|
| 14089 |
manish.sha |
85 |
<td ><input name="stateIdVal" type="text" class="required" value="Delhi" size="70" readonly/></td>
|
| 12862 |
manish.sha |
86 |
#elseif($supplier.getStateId()==1)
|
| 14089 |
manish.sha |
87 |
<td ><input name="stateIdVal" type="text" class="required" value="Mumbai" size="70" readonly/></td>
|
| 12862 |
manish.sha |
88 |
#elseif($supplier.getStateId()==2)
|
| 14089 |
manish.sha |
89 |
<td ><input name="stateIdVal" type="text" class="required" value="Bangalore" size="70" readonly/></td>
|
| 12862 |
manish.sha |
90 |
#elseif($supplier.getStateId() == 3)
|
| 14089 |
manish.sha |
91 |
<td ><input name="stateIdVal" type="text" class="required" value="Haryana" size="70" readonly/></td>
|
| 12862 |
manish.sha |
92 |
#elseif($supplier.getStateId() == 4)
|
| 14089 |
manish.sha |
93 |
<td ><input name="stateIdVal" type="text" class="required" value="Rajasthan" size="70" readonly/></td>
|
| 12862 |
manish.sha |
94 |
#elseif($supplier.getStateId() == 5)
|
| 14089 |
manish.sha |
95 |
<td ><input name="stateIdVal" type="text" class="required" value="Telangana" size="70" readonly/></td>
|
| 12913 |
manish.sha |
96 |
#elseif($supplier.getStateId() == 6)
|
| 14089 |
manish.sha |
97 |
<td ><input name="stateIdVal" type="text" class="required" value="Gujrat" size="70" readonly/></td>
|
| 10295 |
amar.kumar |
98 |
#else
|
| 12361 |
manish.sha |
99 |
<td></td>
|
| 10295 |
amar.kumar |
100 |
#end
|
|
|
101 |
</tr>
|
| 14072 |
manish.sha |
102 |
<tr>
|
|
|
103 |
<td>PO Validity Days Limit</td>
|
|
|
104 |
<td ><input name="poValidityLimit" type="text" class="required digits" value="$supplier.getPoValidityLimit()" /></td>
|
|
|
105 |
</tr>
|
| 5591 |
mandeep.dh |
106 |
<tr>
|
|
|
107 |
<td colspan="2"><input type="submit" value="Update" />
|
|
|
108 |
<input type="hidden" name="id" value="$supplier.getId()"/>
|
|
|
109 |
</td>
|
|
|
110 |
</tr>
|
|
|
111 |
</table>
|
|
|
112 |
</form>
|
|
|
113 |
</body>
|
|
|
114 |
</html>
|