| Line -... |
Line 1... |
| - |
|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
| 3 |
<head>
|
4 |
<head>
|
| 4 |
<script type="text/javascript" src="/inventory/js/jquery-1.4.2.js"></script>
|
5 |
<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>
|
6 |
<script type="text/javascript" src="/inventory/js/jquery.validate.js"></script>
|
| 6 |
<title>
|
7 |
<title>
|
| 7 |
#set($supplier = $action.getSupplier())
|
8 |
#set($supplier = $action.getSupplier())
|
| 8 |
Edit $supplier.getName()
|
9 |
Edit $supplier.getName()
|
| 9 |
</title>
|
10 |
</title>
|
| 10 |
</head>
|
11 |
</head>
|
| 11 |
<body>
|
12 |
<body>
|
| 12 |
<script>
|
13 |
<script>
|
| 13 |
$(document).ready(function() {
|
14 |
$(document).ready(function () {
|
| 14 |
$("form#editSupplier").validate();
|
15 |
$("form#editSupplier").validate();
|
| 15 |
});
|
16 |
});
|
| 16 |
</script>
|
17 |
</script>
|
| 17 |
<a href="/inventory">Go to Home page</a>
|
18 |
<a href="/inventory">Go to Home page</a>
|
| 18 |
<br />
|
19 |
<br/>
|
| 19 |
<h2>Edit Supplier $supplier.getName()</h2>
|
20 |
<h2>Edit Supplier $supplier.getName()</h2>
|
| 20 |
<form id = "editSupplier" action="/inventory/supplier!update" method="post">
|
21 |
<form id="editSupplier" action="/inventory/supplier!update" method="post">
|
| 21 |
<table >
|
22 |
<table>
|
| 22 |
<tr >
|
23 |
<tr>
|
| 23 |
<td >Name</td>
|
24 |
<td>Name</td>
|
| 24 |
<td ><input name="name" type="text" class="required" value="$supplier.getName()" size="30"/></td>
|
25 |
<td><input name="name" type="text" class="required" value="$supplier.getName()" size="30"/></td>
|
| 25 |
</tr>
|
26 |
</tr>
|
| 26 |
<tr>
|
27 |
<tr>
|
| 27 |
<td >GSTIN (Max. 15 digits)</td>
|
28 |
<td>GSTIN (Max. 15 digits)</td>
|
| 28 |
<td ><input name="gstin" type="text" class="required" value="$supplier.getGstin()"/></td>
|
29 |
<td><input name="gstin" type="text" class="required" value="$supplier.getGstin()"/></td>
|
| 29 |
</tr>
|
30 |
</tr>
|
| 30 |
<tr >
|
31 |
<tr>
|
| 31 |
<td >PAN</td>
|
32 |
<td>PAN</td>
|
| 32 |
<td ><input name="pan" type="text" class="required" value="$supplier.getPan()"/></td>
|
33 |
<td><input name="pan" type="text" class="required" value="$supplier.getPan()"/></td>
|
| 33 |
</tr>
|
34 |
</tr>
|
| 34 |
<tr >
|
35 |
<tr>
|
| 35 |
<td >Fax</td>
|
36 |
<td>Fax</td>
|
| 36 |
<td ><input name="fax" type="text" class="required" value="$supplier.getFax()"/></td>
|
37 |
<td><input name="fax" type="text" class="required" value="$supplier.getFax()"/></td>
|
| 37 |
</tr>
|
38 |
</tr>
|
| 38 |
<tr >
|
39 |
<tr>
|
| 39 |
<td >Head Name</td>
|
40 |
<td>Head Name</td>
|
| 40 |
<td ><input name="headName" type="text" class="required" value="$supplier.getHeadName()" size="30"/></td>
|
41 |
<td><input name="headName" type="text" class="required" value="$supplier.getHeadName()" size="30"/></td>
|
| 41 |
</tr>
|
42 |
</tr>
|
| 42 |
<tr >
|
43 |
<tr>
|
| 43 |
<td >Head Designation</td>
|
44 |
<td>Head Designation</td>
|
| 44 |
<td ><input name="headDesignation" type="text" value="$supplier.getHeadDesignation()"/></td>
|
45 |
<td><input name="headDesignation" type="text" value="$supplier.getHeadDesignation()"/></td>
|
| 45 |
</tr>
|
46 |
</tr>
|
| 46 |
<tr >
|
47 |
<tr>
|
| 47 |
<td >Head Email</td>
|
48 |
<td>Head Email</td>
|
| 48 |
<td ><input name="headEmail" type="text" class="email required" value="$supplier.getHeadEmail()" size="30"/></td>
|
49 |
<td><input name="headEmail" type="text" class="email required" value="$supplier.getHeadEmail()" size="30"/>
|
| 49 |
</tr>
|
50 |
</td>
|
| 50 |
<tr >
|
51 |
</tr>
|
| 51 |
<td >Contact Person</td>
|
52 |
<tr>
|
| 52 |
<td ><input name="contactName" type="text" class="required" value="$supplier.getContactName()" size="30"/></td>
|
53 |
<td>Contact Person</td>
|
| 53 |
</tr>
|
54 |
<td><input name="contactName" type="text" class="required" value="$supplier.getContactName()" size="30"/>
|
| 54 |
<tr >
|
55 |
</td>
|
| 55 |
<td >Contact Email(; separated email ids)</td>
|
56 |
</tr>
|
| 56 |
<td ><input name="contactEmail" type="text" class="required" value="$supplier.getContactEmail()" size="70"/></td>
|
57 |
<tr>
|
| 57 |
</tr>
|
58 |
<td>Contact Email(; separated email ids)</td>
|
| 58 |
<tr >
|
59 |
<td><input name="contactEmail" type="text" class="required" value="$supplier.getContactEmail()" size="70"/>
|
| 59 |
<td >Contact Phone (Max. 12 digits)</td>
|
60 |
</td>
|
| 60 |
<td ><input name="contactPhone" type="text" class="required digits" value="$supplier.getContactPhone()"/></td>
|
61 |
</tr>
|
| 61 |
</tr>
|
62 |
<tr>
|
| 62 |
<tr >
|
63 |
<td>Contact Phone (Max. 12 digits)</td>
|
| 63 |
<td >Contact Fax (Max. 12 digits)</td>
|
64 |
<td><input name="contactPhone" type="text" class="required digits" value="$supplier.getContactPhone()"/>
|
| 64 |
<td ><input name="contactFax" type="text" class="required digits" value="$supplier.getContactFax()"/></td>
|
65 |
</td>
|
| 65 |
</tr>
|
66 |
</tr>
|
| 66 |
<tr >
|
67 |
<tr>
|
| 67 |
<td >Registered Address</td>
|
68 |
<td>Contact Fax (Max. 12 digits)</td>
|
| 68 |
<td ><input name="registeredAddress" type="text" class="required" value="$supplier.getRegisteredAddress()" size="70"/></td>
|
69 |
<td><input name="contactFax" type="text" class="required digits" value="$supplier.getContactFax()"/></td>
|
| 69 |
</tr>
|
70 |
</tr>
|
| 70 |
<tr >
|
71 |
<tr>
|
| 71 |
<td >Communication Address</td>
|
72 |
<td>Registered Address</td>
|
| 72 |
<td ><input name="communicationAddress" type="text" class="required" value="$supplier.getCommunicationAddress()" size="70"/></td>
|
73 |
<td><input name="registeredAddress" type="text" class="required" value="$supplier.getRegisteredAddress()"
|
| 73 |
</tr>
|
74 |
size="70"/></td>
|
| 74 |
<tr >
|
75 |
</tr>
|
| 75 |
<td >State</td>
|
76 |
<tr>
|
| 76 |
<td ><input name="stateIdVal" type="text" class="required" value="$action.getStateName($supplier.getStateId())" size="70" readonly/></td>
|
77 |
<td>Communication Address</td>
|
| 77 |
</tr>
|
78 |
<td><input name="communicationAddress" type="text" class="required"
|
| 78 |
<tr >
|
79 |
value="$supplier.getCommunicationAddress()" size="70"/></td>
|
| 79 |
<td >Physical(Billing) Warehouse Location</td>
|
80 |
</tr>
|
| 80 |
<td >
|
81 |
<tr>
|
| 81 |
<select name = "billingWarehouseIds" multiple = "multiple" style = "min-height:200px;width:250px;max-height:400px" class="required">
|
82 |
<td>State</td>
|
| 82 |
<option value = "7573" $action.getDisabled(7573)>DL-NSSPL/Delhi</option>
|
83 |
<td><input name="stateIdVal" type="text" class="required"
|
| 83 |
<option value = "7678" $action.getDisabled(7678)>UP-NSSPL/Noida</option>
|
84 |
value="$action.getStateName($supplier.getStateId())" size="70" readonly/></td>
|
| 84 |
<option value = "9349" $action.getDisabled(9349)>UP-NSSPL/Saharanpur</option>
|
85 |
</tr>
|
| 85 |
<option value = "7681" $action.getDisabled(7681)>HR-NSSPL/Gurgaon</option>
|
86 |
<tr>
|
| 86 |
<option value = "8468" $action.getDisabled(8468)>UP-NSSPL/LCK</option>
|
87 |
<td>Physical(Billing) Warehouse Location</td>
|
| 87 |
<option value = "7720" $action.getDisabled(7720)>DL-NSSPL/Delhi-HR</option>
|
88 |
<td>
|
| 88 |
<option value = "8889" $action.getDisabled(8889)>PB-NSSPL/Ludhiana</option>
|
89 |
<select name="billingWarehouseIds" multiple="multiple"
|
| 89 |
<option value = "8947" $action.getDisabled(8947)>RJ-NSSPL/Jaipur</option>
|
90 |
style="min-height:200px;width:250px;max-height:400px" class="required">
|
| 90 |
<option value = "9203" $action.getDisabled(9203)>UK-NSSPL/Dehradun</option>
|
91 |
<option value="7573" $action.getDisabled(7573)>DL-NSSPL/Delhi</option>
|
| 91 |
<option value = "9470" $action.getDisabled(9470)>UK-NSSPL/Rudrapur</option>
|
92 |
<option value="9514">$action.getDisabled(9514)DL-NSSPL/Delhi-Noida</option>
|
| 92 |
</select>
|
93 |
<option value="7678" $action.getDisabled(7678)>UP-NSSPL/Noida</option>
|
| 93 |
</td>
|
94 |
<option value="9349" $action.getDisabled(9349)>UP-NSSPL/Saharanpur</option>
|
| 94 |
</tr>
|
95 |
<option value="9513" $action.getDisabled(9513)>UP-NSSPL/Bareilly</option>
|
| 95 |
<tr>
|
96 |
<option value="7681" $action.getDisabled(7681)>HR-NSSPL/Gurgaon</option>
|
| 96 |
<td>PO Validity Days Limit</td>
|
97 |
<option value="8468" $action.getDisabled(8468)>UP-NSSPL/LCK</option>
|
| 97 |
<td ><input name="poValidityLimit" type="text" class="required digits" value="$supplier.getPoValidityLimit()" /></td>
|
98 |
<option value="7720" $action.getDisabled(7720)>DL-NSSPL/Delhi-HR</option>
|
| 98 |
</tr>
|
99 |
<option value="8889" $action.getDisabled(8889)>PB-NSSPL/Ludhiana</option>
|
| 99 |
<tr>
|
100 |
<option value="8947" $action.getDisabled(8947)>RJ-NSSPL/Jaipur</option>
|
| 100 |
<td>Terms & Conditions</td>
|
101 |
<option value="9203" $action.getDisabled(9203)>UK-NSSPL/Dehradun</option>
|
| 101 |
<td ><input name="tnc" type="textarea" value="$supplier.getTnc()" /></td>
|
102 |
<option value="9470" $action.getDisabled(9470)>UK-NSSPL/Rudrapur</option>
|
| 102 |
</tr>
|
103 |
</select>
|
| 103 |
<tr>
|
104 |
</td>
|
| 104 |
<td colspan="2"><input type="submit" value="Update" />
|
105 |
</tr>
|
| 105 |
<input type="hidden" name="id" value="$supplier.getId()"/>
|
106 |
<tr>
|
| 106 |
</td>
|
107 |
<td>PO Validity Days Limit</td>
|
| 107 |
</tr>
|
108 |
<td><input name="poValidityLimit" type="text" class="required digits"
|
| 108 |
</table>
|
109 |
value="$supplier.getPoValidityLimit()"/></td>
|
| 109 |
</form>
|
110 |
</tr>
|
| 110 |
</body>
|
111 |
<tr>
|
| - |
|
112 |
<td>Terms & Conditions</td>
|
| - |
|
113 |
<td><input name="tnc" type="textarea" value="$supplier.getTnc()"/></td>
|
| - |
|
114 |
</tr>
|
| - |
|
115 |
<tr>
|
| - |
|
116 |
<td colspan="2"><input type="submit" value="Update"/>
|
| - |
|
117 |
<input type="hidden" name="id" value="$supplier.getId()"/>
|
| - |
|
118 |
</td>
|
| - |
|
119 |
</tr>
|
| - |
|
120 |
</table>
|
| - |
|
121 |
</form>
|
| - |
|
122 |
</body>
|
| 111 |
</html>
|
123 |
</html>
|
| 112 |
|
124 |
|