| 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 |
Add new Supplier
|
|
|
8 |
</title>
|
|
|
9 |
</head>
|
|
|
10 |
<body>
|
|
|
11 |
<script>
|
|
|
12 |
$(document).ready(function() {
|
|
|
13 |
$("form#newSupplier").validate();
|
|
|
14 |
});
|
| 12361 |
manish.sha |
15 |
function validateState(){
|
|
|
16 |
var stateId= document.forms["newSupplier"]["stateId"].value
|
|
|
17 |
|
|
|
18 |
if(stateId==-1){
|
|
|
19 |
alert('Please select a state')
|
| 32862 |
amit.gupta |
20 |
return false;
|
| 12361 |
manish.sha |
21 |
}
|
|
|
22 |
return true;
|
|
|
23 |
}
|
|
|
24 |
|
| 5591 |
mandeep.dh |
25 |
</script>
|
|
|
26 |
<a href="/inventory">Go to Home page</a>
|
|
|
27 |
<br />
|
|
|
28 |
<h2>Add new Supplier</h2>
|
| 12361 |
manish.sha |
29 |
<form id = "newSupplier" name="newSupplier" action="/inventory/supplier" method="post" onsubmit="return validateState()">
|
| 5591 |
mandeep.dh |
30 |
<table >
|
|
|
31 |
<tr >
|
|
|
32 |
<td >Name</td>
|
|
|
33 |
<td ><input name="name" type="text" class="required" size="30"/></td>
|
|
|
34 |
</tr>
|
|
|
35 |
<tr >
|
|
|
36 |
<td >Phone (Max. 12 digits)</td>
|
|
|
37 |
<td ><input name="phone" type="text" class="required digits"/></td>
|
|
|
38 |
</tr>
|
|
|
39 |
<tr >
|
| 21844 |
amit.gupta |
40 |
<td >GSTIN (Max. 15 digits)</td>
|
|
|
41 |
<td ><input name="gstin" type="text" class="required digits"/></td>
|
| 5591 |
mandeep.dh |
42 |
</tr>
|
|
|
43 |
<tr >
|
|
|
44 |
<td >PAN</td>
|
|
|
45 |
<td ><input name="pan" type="text" class="required"/></td>
|
|
|
46 |
</tr>
|
|
|
47 |
<tr >
|
|
|
48 |
<td >Fax</td>
|
|
|
49 |
<td ><input name="fax" type="text" class="required"/></td>
|
|
|
50 |
</tr>
|
|
|
51 |
<tr >
|
|
|
52 |
<td >Head Name</td>
|
|
|
53 |
<td ><input name="headName" type="text" class="required" size="30"/></td>
|
|
|
54 |
</tr>
|
|
|
55 |
<tr >
|
|
|
56 |
<td >Head Designation</td>
|
|
|
57 |
<td ><input name="headDesignation" type="text"/></td>
|
|
|
58 |
</tr>
|
|
|
59 |
<tr >
|
|
|
60 |
<td >Head Email</td>
|
|
|
61 |
<td ><input name="headEmail" type="text" class="email required" size="30"/></td>
|
|
|
62 |
</tr>
|
|
|
63 |
<tr >
|
|
|
64 |
<td >Contact Person</td>
|
|
|
65 |
<td ><input name="contactName" type="text" class="required" size="30"/></td>
|
|
|
66 |
</tr>
|
|
|
67 |
<tr >
|
|
|
68 |
<td >Contact Email(; separated email ids)</td>
|
|
|
69 |
<td ><input name="contactEmail" type="text" class="required" size="70"/></td>
|
|
|
70 |
</tr>
|
|
|
71 |
<tr >
|
|
|
72 |
<td >Contact Phone (Max. 12 digits)</td>
|
|
|
73 |
<td ><input name="contactPhone" type="text" class="required digits"/></td>
|
|
|
74 |
</tr>
|
|
|
75 |
<tr >
|
|
|
76 |
<td >Contact Fax (Max. 12 digits)</td>
|
|
|
77 |
<td ><input name="contactFax" type="text" class="required digits"/></td>
|
|
|
78 |
</tr>
|
|
|
79 |
<tr >
|
|
|
80 |
<td >Registered Address</td>
|
|
|
81 |
<td ><input name="registeredAddress" type="text" class="required" size="70"/></td>
|
|
|
82 |
</tr>
|
|
|
83 |
<tr >
|
|
|
84 |
<td >Communication Address</td>
|
|
|
85 |
<td ><input name="communicationAddress" type="text" class="required" size="70"/></td>
|
|
|
86 |
</tr>
|
| 23081 |
amit.gupta |
87 |
<tr >
|
|
|
88 |
<td >Terms & Conditions</td>
|
| 24922 |
amit.gupta |
89 |
<td><input name="tnc" type="textarea" value="NA"/></td>
|
| 23081 |
amit.gupta |
90 |
</tr>
|
| 7410 |
amar.kumar |
91 |
<tr >
|
|
|
92 |
<td >Physical(Billing) Warehouse Location</td>
|
|
|
93 |
<td >
|
| 24922 |
amit.gupta |
94 |
<select name = "billingWarehouseIds" multiple = "multiple" style = "min-height:200px;width:250px;max-height:400px" class="required">
|
| 22725 |
amit.gupta |
95 |
<option value = "7573" >DL-NSSPL/Delhi</option>
|
| 32312 |
amit.gupta |
96 |
<option value = "7720">DL-NSSPL/Delhi-HR</option>
|
|
|
97 |
<option value = "9514">DL-NSSPL/Delhi-Noida</option>
|
| 32862 |
amit.gupta |
98 |
<option value = "9213">DL-NSSPL/Delhi-UK</option>
|
| 33389 |
amit.gupta |
99 |
<option value = "10010">DL-NSSPL/Delhi-PB</option>
|
| 32312 |
amit.gupta |
100 |
<option value = "8468">UP-NSSPL/LCK</option>
|
|
|
101 |
<option value = "9349">UP-NSSPL/Saharanpur</option>
|
|
|
102 |
<option value = "9513">UP-NSSPL/Bareilly</option>
|
| 25017 |
amit.gupta |
103 |
<option value = "7678">UP-NSSPL/Noida</option>
|
| 32312 |
amit.gupta |
104 |
<option value = "7681">HR-NSSPL/Gurgaon</option>
|
| 27465 |
amit.gupta |
105 |
<option value = "8889">PB-NSSPL/Ludhaina</option>
|
| 28608 |
amit.gupta |
106 |
<option value = "8947">RJ-NSSPL/Jaipur</option>
|
| 31106 |
amit.gupta |
107 |
<option value = "9203">UK-NSSPL/Dehradun</option>
|
| 32168 |
amit.gupta |
108 |
<option value = "9470">DL-NSSPL/Rudrapur</option>
|
| 7410 |
amar.kumar |
109 |
</select>
|
|
|
110 |
</td>
|
|
|
111 |
</tr>
|
| 10295 |
amar.kumar |
112 |
<tr>
|
|
|
113 |
<td >State</td>
|
|
|
114 |
<td >
|
| 24922 |
amit.gupta |
115 |
<select name="stateId" class="required">
|
| 12361 |
manish.sha |
116 |
<option value = "0">Delhi</option>
|
| 10295 |
amar.kumar |
117 |
<option value = "1">Maharashtra</option>
|
| 10350 |
manish.sha |
118 |
<option value = "2">Karnataka</option>
|
|
|
119 |
<option value = "3">Haryana</option>
|
|
|
120 |
<option value = "4">Rajasthan</option>
|
| 12769 |
manish.sha |
121 |
<option value = "5">Telengana</option>
|
| 12913 |
manish.sha |
122 |
<option value = "6">Gujrat</option>
|
| 27376 |
amit.gupta |
123 |
<option value = "9">Punjab</option>
|
| 22659 |
amit.gupta |
124 |
<option value = "12">Uttar Pradesh</option>
|
| 29754 |
amit.gupta |
125 |
<option value = "32">Tamil Nadu</option>
|
| 30992 |
amit.gupta |
126 |
<option value = "19">Uttarakhand</option>
|
| 10295 |
amar.kumar |
127 |
</select>
|
|
|
128 |
</td>
|
|
|
129 |
</tr>
|
| 14072 |
manish.sha |
130 |
<tr>
|
|
|
131 |
<td>PO Validity Days Limit</td>
|
|
|
132 |
<td ><input name="poValidityLimit" type="text" class="required digits" value="1" /></td>
|
|
|
133 |
</tr>
|
| 5591 |
mandeep.dh |
134 |
<tr>
|
|
|
135 |
<td colspan="2"><input type="submit" value="Create" /></td>
|
|
|
136 |
</tr>
|
|
|
137 |
</table>
|
|
|
138 |
</form>
|
|
|
139 |
</body>
|
|
|
140 |
</html>
|