Subversion Repositories SmartDukaan

Rev

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

Rev 32567 Rev 32779
Line 41... Line 41...
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="headDesign">Head Designation</label>
44
                <label for="headDesign">Head Designation</label>
45
                <input type="text" class="form-control" id="headDesign" name="inputHeadDesign"
45
                <input type="text" class="form-control" id="headDesign" name="inputHeadDesign"
46
                       placeholder="Head Designation" value="$supplier.getHeadDesign()">
46
                       placeholder="Head Designation" value="$supplier.getHeadDesignation()">
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" value="$supplier.getEmail()">
50
                <input type="email" class="form-control" id="headEmail" name="inputHeadEmail" placeholder="Head Email" value="$supplier.getEmail()">
51
            </div>
51
            </div>
Line 118... Line 118...
118
 
118
 
119
            <div class="form-group col-md-6">
119
            <div class="form-group col-md-6">
120
                <label for="warehouseLocation">Warehouse Location</label>
120
                <label for="warehouseLocation">Warehouse Location</label>
121
                <select class="chosen-select" id="warehouseLocation" name="inputWarehouseLocation"
121
                <select class="chosen-select" id="warehouseLocation" name="inputWarehouseLocation"
122
                        data-placeholder="Warehouse Location" multiple style="width:500px;" tabindex="4">
122
                        data-placeholder="Warehouse Location" multiple style="width:500px;" tabindex="4">
123
                    #foreach($warehouseIdAndState in $warehouseIdAndState.entrySet())
123
                    #foreach($warehouseIdAndStateEntry in $warehouseIdAndState.entrySet())
-
 
124
                        <option value="$warehouseIdAndStateEntry.getKey()"
-
 
125
                        #if($warehouseIdAndStateEntry.getId() == $supplier.getwarehouseIds()) selected #end >
124
                        <option value="$warehouseIdAndState.getKey()">$warehouseIdAndState.getValue().getPrefix()
126
                        $warehouseIdAndStateEntry.getValue().getPrefix()
125
                            ($warehouseIdAndState.getValue().getStateName())
127
                            ($warehouseIdAndStateEntry.getValue().getStateName())
126
                        </option>
128
                        </option>
127
                    #end
129
                    #end
128
                </select>
130
                </select>
129
            </div>
131
            </div>
130
 
132
 
131
 
133
 
132
            <div class="form-group col-md-6">
134
            <div class="form-group col-md-6">
133
                <label for="state">State</label>
135
                <label for="state">State</label>
134
                <select class="form-control input-sm" id="stateId" name="stateId" placeholder="State"
136
                <select class="form-control input-sm" id="stateId" name="stateId" placeholder="State"
135
                        style="height: 60px;">
137
                        >
136
                    <option value="" disabled selected>State</option>
138
                    <option value="" disabled>State </option>
137
                    #foreach($stateName in $state)
139
                    #foreach($state in $states)
138
                        <option value="$stateName.getId()">$stateName.getName()</option>
140
                        <option value="$state.getId()"
-
 
141
                        #if($state.getId() == $supplier.getStateId()) selected #end
-
 
142
                        >$state.getName()</option>
139
                    #end
143
                    #end
140
                </select>
144
                </select>
141
            </div>
145
            </div>
142
 
146
 
143
            <div class="form-group col-md-6">
147
            <div class="form-group col-md-6">
Line 145... Line 149...
145
                <input type="number" class="form-control" id="pOValidityLimit" name="inputPOValidityLimit"
149
                <input type="number" class="form-control" id="pOValidityLimit" name="inputPOValidityLimit"
146
                       placeholder="PO Validity Days Limit" value="$supplier.getPOValidityLimit()">
150
                       placeholder="PO Validity Days Limit" value="$supplier.getPOValidityLimit()">
147
            </div>
151
            </div>
148
 
152
 
149
            <div class="form-group col-md-6">
153
            <div class="form-group col-md-6">
150
                <button type="button" class="btn btn-primary edit-supplier-submit" style="margin: 20px;">Update
154
                <button type="button" class="btn btn-primary submit-update" style="margin: 20px;" data-id="$supplier.getId()">Update
151
                </button>
155
                </button>
152
 
156
 
153
            </div>
157
            </div>
154
        </div>
158
        </div>
155
    </form>
159
    </form>