Subversion Repositories SmartDukaan

Rev

Rev 32349 | Rev 32779 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32349 Rev 32567
Line 13... Line 13...
13
    </div>
13
    </div>
14
    <form id="new-supplier-create-form">
14
    <form id="new-supplier-create-form">
15
        <div class="form-row">
15
        <div class="form-row">
16
            <div class="form-group col-md-6">
16
            <div class="form-group col-md-6">
17
                <label for="name">Name</label>
17
                <label for="name">Name</label>
18
                <input type="text" class="form-control" id="name" name="inputName" placeholder="Name">
18
                <input type="text" class="form-control" id="name" name="inputName" placeholder="Name" value="$supplier.getName()">
19
            </div>
19
            </div>
20
 
20
 
21
            <div class="form-group col-md-6">
21
            <div class="form-group col-md-6">
22
                <label for="phone">Phone</label>
22
                <label for="phone">Phone</label>
23
                <input type="number" class="form-control" id="phone" name="inputPhone" placeholder="Phone">
23
                <input type="number" class="form-control" id="phone" name="inputPhone" placeholder="Phone" value="$supplier.getPhone()">
24
            </div>
24
            </div>
25
 
25
 
26
            <div class="form-group col-md-6">
26
            <div class="form-group col-md-6">
27
                <label for="gst">GSTIN</label>
27
                <label for="gst">GSTIN</label>
28
                <input type="text" class="form-control" id="gst" name="inputGst" placeholder="GST">
28
                <input type="text" class="form-control" id="gst" name="inputGst" placeholder="GST" value="$supplier.getGst()">
29
            </div>
29
            </div>
30
            <div class="form-group col-md-6">
30
            <div class="form-group col-md-6">
31
                <label for="panNumber">PAN</label>
31
                <label for="panNumber">PAN</label>
32
                <input type="text" class="form-control" id="panNumber" name="inputPan" placeholder="pan">
32
                <input type="text" class="form-control" id="panNumber" name="inputPan" placeholder="pan" value="$supplier.getPan()">
33
            </div>
33
            </div>
34
            <div class="form-group col-md-6">
34
            <div class="form-group col-md-6">
35
                <label for="Fax">Fax</label>
35
                <label for="Fax">Fax</label>
36
                <input type="text" class="form-control" id="Fax" name="inputFax" placeholder="Fax">
36
                <input type="text" class="form-control" id="Fax" name="inputFax" placeholder="Fax" value="$supplier.getFax()">
37
            </div>
37
            </div>
38
            <div class="form-group col-md-6">
38
            <div class="form-group col-md-6">
39
                <label for="headName">Head Name</label>
39
                <label for="headName">Head Name</label>
40
                <input type="text" class="form-control" id="headName" name="inputHeadName" placeholder="Head Name">
40
                <input type="text" class="form-control" id="headName" name="inputHeadName" placeholder="Head Name" value="$supplier.getHeadName()">
41
            </div>
41
            </div>
42
 
42
 
43
            <div class="form-group col-md-6">
43
            <div class="form-group col-md-6">
44
                <label for="headDesig">Head Designation</label>
44
                <label for="headDesign">Head Designation</label>
45
                <input type="text" class="form-control" id="headDesig" name="inputHeadDesig"
45
                <input type="text" class="form-control" id="headDesign" name="inputHeadDesign"
46
                       placeholder="Head Designation">
46
                       placeholder="Head Designation" value="$supplier.getHeadDesign()">
47
            </div>
47
            </div>
48
            <div class="form-group col-md-6">
48
            <div class="form-group col-md-6">
49
                <label for="headEmail">Head Email</label>
49
                <label for="headEmail">Head Email</label>
50
                <input type="email" class="form-control" id="headEmail" name="inputHeadEmail" placeholder="Head Email">
50
                <input type="email" class="form-control" id="headEmail" name="inputHeadEmail" placeholder="Head Email" value="$supplier.getEmail()">
51
            </div>
51
            </div>
52
            <div class="form-group col-md-6">
52
            <div class="form-group col-md-6">
53
                <label for="contactPerson">Contact Person</label>
53
                <label for="contactPerson">Contact Person</label>
54
                <input type="text" class="form-control" id="contactPerson" name="inputContactPerson"
54
                <input type="text" class="form-control" id="contactPerson" name="inputContactPerson"
55
                       placeholder="Contact Person">
55
                       placeholder="Contact Person" value="$supplier.getContactPerson()">
56
            </div>
56
            </div>
57
            <div class="form-group col-md-6">
57
            <div class="form-group col-md-6">
-
 
58
                            <label for="contactPhone">Contact Phone</label>
-
 
59
                            <input type="number" class="form-control" id="contactPhone" name="inputContactPhone"
-
 
60
                                   placeholder="Contact Phone" value="$supplier.getContactPhone()">
-
 
61
                        </div>
-
 
62
            <div class="form-group col-md-6">
58
                <label for="contactEmail">Contact Email</label>
63
                <label for="contactEmail">Contact Email</label>
59
                <input type="email" class="form-control" id="contactEmail" name="inputContactEmail"
64
                <input type="email" class="form-control" id="contactEmail" name="inputContactEmail"
60
                       placeholder="Contact Email">
65
                       placeholder="Contact Email" value="$supplier.getContactEmail()">
61
            </div>
66
            </div>
62
            <div class="form-group col-md-6">
67
            <div class="form-group col-md-6">
-
 
68
                                        <label for="document">Document</label>
-
 
69
                                        <input type="file" id="document" name="inputDocument">
-
 
70
 
-
 
71
                         </div>
-
 
72
            <div class="form-group col-md-6">
63
                <label for="contactFax">Contact Fax</label>
73
                <label for="contactFax">Contact Fax</label>
64
                <input type="text" class="form-control" id="contactFax" name="inputContactFax"
74
                <input type="text" class="form-control" id="contactFax" name="inputContactFax"
65
                       placeholder="Contact Fax">
75
                       placeholder="Contact Fax" value="$supplier.getContactFax()">
66
            </div>
76
            </div>
67
 
77
 
68
            <div class="form-group col-md-6">
78
            <div class="form-group col-md-6">
69
                <label for="registeredAddress">Registered Address</label>
79
                <label for="registeredAddress">Registered Address</label>
70
                <input type="text" class="form-control" id="registeredAddress" name="inputRegisteredAddress"
80
                <input type="text" class="form-control" id="registeredAddress" name="inputRegisteredAddress"
71
                       placeholder="Registered Address">
81
                       placeholder="Registered Address" value="$supplier.getRegisteredAddress()">
72
            </div>
82
            </div>
73
            <div class="form-group col-md-6">
83
            <div class="form-group col-md-6">
74
                <label for="communicationAddress">Communication Address</label>
84
                <label for="communicationAddress">Communication Address</label>
75
                <input type="text" class="form-control" id="communicationAddress" name="inputCommunicationAddress"
85
                <input type="text" class="form-control" id="communicationAddress" name="inputCommunicationAddress"
76
                       placeholder="Communication Address">
86
                       placeholder="Communication Address" value="$supplier.getCommunicationAddress()">
77
            </div>
87
            </div>
78
            <div class="form-group col-md-6">
88
            <div class="form-group col-md-6">
79
                <label for="terms&Conditions">Terms & Conditions</label>
89
                <label for="terms&Conditions">Terms & Conditions</label>
80
                <input type="text" class="form-control" id="terms&Conditions" name="inputTermConditions"
90
                <input type="text" class="form-control" id="terms&Conditions" name="inputTermConditions"
81
                       placeholder="Terms & Conditions">
91
                       placeholder="Terms & Conditions" value="$supplier.getTermConditions()">
82
            </div>
92
            </div>
-
 
93
            <div class="form-group col-md-6">
-
 
94
                                 #if($warehouseCheckboxMap.get($wh.getId()).isWarehouse())
-
 
95
 
-
 
96
                                     <input type="checkbox" id="warehouseCheckbox" name="warehouseCheckbox" value="" checked>
-
 
97
                                        <label for="warehouseCheckbox">Internal Warehouse</label><br>
-
 
98
 
-
 
99
                                   #else
-
 
100
                                   <input type="checkbox" id="warehouseCheckbox" name="warehouseCheckbox" value="">
-
 
101
                                        <label for="warehouseCheckbox">Internal Warehouse</label><br>
83
 
102
 
-
 
103
                                 #end
-
 
104
 
-
 
105
 
-
 
106
 
-
 
107
                        </div>
-
 
108
                        <div class="form-group col-md-6">
-
 
109
                            <label for="warehouse">Warehouse Name</label>
-
 
110
                            <select disabled class="form-control input-sm" id="warehouseId" name="warehouseId" placeholder="Warehouse Name">
-
 
111
 
-
 
112
                                <option value="" disabled selected>Warehouse Name</option>
-
 
113
                                #foreach($warehouseEntry in $warehouseMap.entrySet())
-
 
114
                                <option value="$warehouseEntry.getKey()">$warehouseEntry.getValue()</option>
-
 
115
                                #end
-
 
116
                            </select>
-
 
117
                        </div>
84
 
118
 
85
            <div class="form-group col-md-6">
119
            <div class="form-group col-md-6">
86
                <label for="warehouseLocation">Warehouse Location</label>
120
                <label for="warehouseLocation">Warehouse Location</label>
87
                <select class="chosen-select" id="warehouseLocation" name="inputWarehouseLocation"
121
                <select class="chosen-select" id="warehouseLocation" name="inputWarehouseLocation"
88
                        data-placeholder="Warehouse Location" multiple style="width:500px;" tabindex="4">
122
                        data-placeholder="Warehouse Location" multiple style="width:500px;" tabindex="4">
Line 92... Line 126...
92
                        </option>
126
                        </option>
93
                    #end
127
                    #end
94
                </select>
128
                </select>
95
            </div>
129
            </div>
96
 
130
 
-
 
131
 
97
            <div class="form-group col-md-6">
132
            <div class="form-group col-md-6">
98
                <label for="state">State</label>
133
                <label for="state">State</label>
99
                <select class="form-control input-sm" id="stateId" name="stateId" placeholder="State"
134
                <select class="form-control input-sm" id="stateId" name="stateId" placeholder="State"
100
                        style="height: 60px;">
135
                        style="height: 60px;">
101
                    <option value="" disabled selected>State</option>
136
                    <option value="" disabled selected>State</option>
Line 106... Line 141...
106
            </div>
141
            </div>
107
 
142
 
108
            <div class="form-group col-md-6">
143
            <div class="form-group col-md-6">
109
                <label for="pOValidityLimit">PO Validity Days Limit</label>
144
                <label for="pOValidityLimit">PO Validity Days Limit</label>
110
                <input type="number" class="form-control" id="pOValidityLimit" name="inputPOValidityLimit"
145
                <input type="number" class="form-control" id="pOValidityLimit" name="inputPOValidityLimit"
111
                       placeholder="PO Validity Days Limit">
146
                       placeholder="PO Validity Days Limit" value="$supplier.getPOValidityLimit()">
112
            </div>
147
            </div>
113
 
148
 
114
            <div class="form-group col-md-6">
149
            <div class="form-group col-md-6">
115
                <button type="button" class="btn btn-primary create-supplier-submit" style="margin: 20px;">Submit
150
                <button type="button" class="btn btn-primary edit-supplier-submit" style="margin: 20px;">Update
116
                </button>
151
                </button>
117
 
152
 
118
            </div>
153
            </div>
119
        </div>
154
        </div>
120
    </form>
155
    </form>