| Line 100... |
Line 100... |
| 100 |
<label for="terms&Conditions">Terms & Conditions</label>
|
100 |
<label for="terms&Conditions">Terms & Conditions</label>
|
| 101 |
<input type="text" class="form-control" id="terms&Conditions" name="inputTermConditions"
|
101 |
<input type="text" class="form-control" id="terms&Conditions" name="inputTermConditions"
|
| 102 |
placeholder="Terms & Conditions" value="$supplier.getTnc()">
|
102 |
placeholder="Terms & Conditions" value="$supplier.getTnc()">
|
| 103 |
</div>
|
103 |
</div>
|
| 104 |
<div class="form-group col-md-6">
|
104 |
<div class="form-group col-md-6">
|
| - |
|
105 |
#set($isInternal = $supplier.getInternalWarehouseId() && $supplier.getInternalWarehouseId() > 0)
|
| 105 |
<input type="checkbox" id="warehouseCheckbox" name="warehouseCheckbox" value=""
|
106 |
<input type="checkbox" id="warehouseCheckbox" name="warehouseCheckbox" value=""
|
| 106 |
#if($supplier.getInternalWarehouseId()) checked #end>
|
107 |
#if($isInternal) checked #end>
|
| 107 |
<label for="warehouseCheckbox">Internal Warehouse</label><br>
|
108 |
<label for="warehouseCheckbox">Internal Warehouse</label><br>
|
| 108 |
</div>
|
109 |
</div>
|
| 109 |
<div class="form-group col-md-6">
|
110 |
<div class="form-group col-md-6">
|
| 110 |
<label for="warehouse">Warehouse Name</label>
|
111 |
<label for="warehouse">Warehouse Name</label>
|
| 111 |
<select class="form-control input-sm" id="internalWarehouseId" name="internalWarehouseId"
|
112 |
<select class="form-control input-sm" id="internalWarehouseId" name="internalWarehouseId"
|
| 112 |
placeholder="Warehouse Name"
|
113 |
placeholder="Warehouse Name"
|
| 113 |
#if(!$supplier.getInternalWarehouseId()) disabled #end>
|
114 |
#if(!$isInternal) disabled #end>
|
| 114 |
<option value="" disabled #if(!$supplier.getInternalWarehouseId()) selected #end>Warehouse Name
|
115 |
<option value="" disabled #if(!$isInternal) selected #end>Warehouse Name
|
| 115 |
</option>
|
116 |
</option>
|
| 116 |
#foreach($warehouseEntry in $warehouseMap.entrySet())
|
117 |
#foreach($warehouseEntry in $warehouseMap.entrySet())
|
| 117 |
<option value="$warehouseEntry.getKey()"
|
118 |
<option value="$warehouseEntry.getKey()"
|
| 118 |
#if($supplier.getInternalWarehouseId() && $supplier.getInternalWarehouseId() == $warehouseEntry.getKey())
|
119 |
#if($isInternal && $supplier.getInternalWarehouseId() == $warehouseEntry.getKey())
|
| 119 |
selected #end>
|
120 |
selected #end>
|
| 120 |
$warehouseEntry.getValue()
|
121 |
$warehouseEntry.getValue()
|
| 121 |
</option>
|
122 |
</option>
|
| 122 |
#end
|
123 |
#end
|
| 123 |
</select>
|
124 |
</select>
|