| Line 39... |
Line 39... |
| 39 |
<td >$supplier.getName()</td>
|
39 |
<td >$supplier.getName()</td>
|
| 40 |
<td id="net-totals-quantity-$supplier.getId()">$action.getNetQuantityString($supplier.getId())</td>
|
40 |
<td id="net-totals-quantity-$supplier.getId()">$action.getNetQuantityString($supplier.getId())</td>
|
| 41 |
<td id="total-quantity-$supplier.getId()">$action.getQuantityString($supplier.getId())</td>
|
41 |
<td id="total-quantity-$supplier.getId()">$action.getQuantityString($supplier.getId())</td>
|
| 42 |
<td >$action.getCODPrepaidString($supplier.getId())</td>
|
42 |
<td >$action.getCODPrepaidString($supplier.getId())</td>
|
| 43 |
<td id="total-amount-$supplier.getId()" supplierId="$supplier.getId()">$action.getAmount($supplier.getId())</td>
|
43 |
<td id="total-amount-$supplier.getId()" supplierId="$supplier.getId()">$action.getAmount($supplier.getId())</td>
|
| 44 |
<td ><a class="show-details" supplierId="$supplier.getId()" href="#">Show details</a></td>
|
44 |
<td ><a class="show-details" supplierId="$supplier.getId()" href="javascript:void(0)">Show details</a></td>
|
| 45 |
</tr>
|
45 |
</tr>
|
| 46 |
#end
|
46 |
#end
|
| 47 |
</tbody>
|
47 |
</tbody>
|
| 48 |
</table>
|
48 |
</table>
|
| 49 |
#foreach($supplierId in $action.getSuppliers().keySet())
|
49 |
#foreach($supplierId in $action.getSuppliers().keySet())
|
| Line 89... |
Line 89... |
| 89 |
<th style="display:none;">Mrp</th>
|
89 |
<th style="display:none;">Mrp</th>
|
| 90 |
<th style="display:none;">Nlc</th>
|
90 |
<th style="display:none;">Nlc</th>
|
| 91 |
<th >Total amount</th>
|
91 |
<th >Total amount</th>
|
| 92 |
<th style="display:none;">Available</th>
|
92 |
<th style="display:none;">Available</th>
|
| 93 |
<th style="display:none;">Reserved</th>
|
93 |
<th style="display:none;">Reserved</th>
|
| 94 |
<th >NetPendingOrderQty</th>
|
94 |
<th >Net Pending Order Qty</th>
|
| 95 |
<th >previouslyOrderedQty</th>
|
95 |
<th >previously Ordered Qty</th>
|
| 96 |
<th style="display:none;">LastXDaysSale</th>
|
96 |
<th style="display:none;">Last XDays Sale</th>
|
| 97 |
<th >AverageSale </th>
|
97 |
<th >AverageSale </th>
|
| 98 |
<th style="display:none;">AverageSales </th>
|
98 |
<th style="display:none;">Average Sales </th>
|
| 99 |
<th style="display:none;">InStockDays</th>
|
99 |
<th style="display:none;">InStock Days</th>
|
| 100 |
<th >Pending RTOs</th>
|
100 |
<th >Pending RTOs</th>
|
| 101 |
<th >NumDaysStock</th>
|
101 |
<th >NumDays Stock</th>
|
| 102 |
<th >MinStockReq</th>
|
102 |
<th >MinStock Req</th>
|
| 103 |
<th >AdditionalQty</th>
|
103 |
<th >Additional Qty</th>
|
| 104 |
<th style="display:none;">SuggestedQty</th>
|
104 |
<th style="display:none;">Suggested Qty</th>
|
| 105 |
<th ></th>
|
105 |
<th ></th>
|
| 106 |
</tr>
|
106 |
</tr>
|
| 107 |
</thead>
|
107 |
</thead>
|
| 108 |
<tbody>
|
108 |
<tbody>
|
| 109 |
<tr id="sample-lineitem" class="hidden">
|
109 |
<tr id="sample-lineitem" class="hidden">
|
| Line 126... |
Line 126... |
| 126 |
<td id="pendingRTOs"></td>
|
126 |
<td id="pendingRTOs"></td>
|
| 127 |
<td id="numberOfDaysStock"><div name="numberOfDaysStock" readonly /> </td>
|
127 |
<td id="numberOfDaysStock"><div name="numberOfDaysStock" readonly /> </td>
|
| 128 |
<td id="minStockLevel"><div name="minStockLevel" readonly /> </td>
|
128 |
<td id="minStockLevel"><div name="minStockLevel" readonly /> </td>
|
| 129 |
<td id="additionalQuantity"><div name="additionalQuantity" readonly /> </td>
|
129 |
<td id="additionalQuantity"><div name="additionalQuantity" readonly /> </td>
|
| 130 |
<td id="suggestedQuantity" style="display:none;"><div name="suggestedQuantity" readonly /> </td>
|
130 |
<td id="suggestedQuantity" style="display:none;"><div name="suggestedQuantity" readonly /> </td>
|
| 131 |
<td ><a id="remove-lineitem" href="#">remove</a></td>
|
131 |
<td ><a id="remove-lineitem" href="javascript:void(0)">remove</a></td>
|
| 132 |
</tr>
|
132 |
</tr>
|
| 133 |
#foreach($lineItem in $action.getLineItemsBySupplier().get($supplierId))
|
133 |
#foreach($lineItem in $action.getLineItemsBySupplier().get($supplierId))
|
| 134 |
<tr >
|
134 |
<tr >
|
| 135 |
<td><input type="text" class="required digits" name="itemId" value="$lineItem.getItemId()" style="width:100px" /></td>
|
135 |
<td><input type="text" class="required digits" name="itemId" value="$lineItem.getItemId()" style="width:100px" /></td>
|
| 136 |
<td><div id="modelName">$action.getName($lineItem)</div></td>
|
136 |
<td><div id="modelName">$action.getName($lineItem)</div></td>
|
| Line 166... |
Line 166... |
| 166 |
#if($additionalQty<0)
|
166 |
#if($additionalQty<0)
|
| 167 |
#set($additionalQty = 0)
|
167 |
#set($additionalQty = 0)
|
| 168 |
#end
|
168 |
#end
|
| 169 |
<td ><input type="text" name="additionalQuantity" value = "$additionalQty" style="width:100px" readonly /></td>
|
169 |
<td ><input type="text" name="additionalQuantity" value = "$additionalQty" style="width:100px" readonly /></td>
|
| 170 |
<td style="display:none;"><input type="hidden" name="suggestedQuantity" value = "$lineItem.getSuggestedQuantity()" readonly /></td>
|
170 |
<td style="display:none;"><input type="hidden" name="suggestedQuantity" value = "$lineItem.getSuggestedQuantity()" readonly /></td>
|
| 171 |
<td ><a id="remove-lineitem" href="#">remove</a></td>
|
171 |
<td ><a id="remove-lineitem" href="javascript:void(0)">remove</a></td>
|
| 172 |
</tr>
|
172 |
</tr>
|
| 173 |
#end
|
173 |
#end
|
| 174 |
</tbody>
|
174 |
</tbody>
|
| 175 |
</table>
|
175 |
</table>
|
| 176 |
<div >
|
176 |
<div >
|