| Line 29... |
Line 29... |
| 29 |
<th >Item Id</th>
|
29 |
<th >Item Id</th>
|
| 30 |
<th >Product Name</th>
|
30 |
<th >Product Name</th>
|
| 31 |
<th >Quantity</th>
|
31 |
<th >Quantity</th>
|
| 32 |
<th >COD/Prepaid</th>
|
32 |
<th >COD/Prepaid</th>
|
| 33 |
<th >Transfer price</th>
|
33 |
<th >Transfer price</th>
|
| - |
|
34 |
<th style="display:none;">Nlc</th>
|
| 34 |
<th >Total amount</th>
|
35 |
<th >Total amount</th>
|
| 35 |
<th ></th>
|
36 |
<th ></th>
|
| 36 |
</tr>
|
37 |
</tr>
|
| 37 |
</thead>
|
38 |
</thead>
|
| 38 |
<tbody>
|
39 |
<tbody>
|
| Line 40... |
Line 41... |
| 40 |
<td><input type="text" class="required digits" name="itemId" supplierId="$supplierId" disabled /></td>
|
41 |
<td><input type="text" class="required digits" name="itemId" supplierId="$supplierId" disabled /></td>
|
| 41 |
<td><div id="modelName"></div></td>
|
42 |
<td><div id="modelName"></div></td>
|
| 42 |
<td ><input type="text" class="required digits" name="quantity" disabled /> </td>
|
43 |
<td ><input type="text" class="required digits" name="quantity" disabled /> </td>
|
| 43 |
<td >0/0</td>
|
44 |
<td >0/0</td>
|
| 44 |
<td id="transferPrice"><input type="text" class="required number" name="unitPrice" disabled readonly /> </td>
|
45 |
<td id="transferPrice"><input type="text" class="required number" name="unitPrice" disabled readonly /> </td>
|
| - |
|
46 |
<td id="nlc"><input type="hidden" class="required number" name="nlc" disabled readonly /> </td>
|
| 45 |
<td ><div id="amount">0</div></td>
|
47 |
<td ><div id="amount">0</div></td>
|
| 46 |
<td ><a id="remove-lineitem" href="#">remove</a></td>
|
48 |
<td ><a id="remove-lineitem" href="#">remove</a></td>
|
| 47 |
</tr>
|
49 |
</tr>
|
| 48 |
#foreach($lineItem in $action.getLineItemsBySupplier().get($supplierId))
|
50 |
#foreach($lineItem in $action.getLineItemsBySupplier().get($supplierId))
|
| 49 |
<tr >
|
51 |
<tr >
|
| Line 51... |
Line 53... |
| 51 |
<td><div id="modelName">$action.getName($lineItem)</div></td>
|
53 |
<td><div id="modelName">$action.getName($lineItem)</div></td>
|
| 52 |
#set($prepaidCount = $lineItem.getQuantity() - $lineItem.getCodCount())
|
54 |
#set($prepaidCount = $lineItem.getQuantity() - $lineItem.getCodCount())
|
| 53 |
<td ><input type="text" class="required digits" name="quantity" value="$lineItem.getQuantity()" /> </td>
|
55 |
<td ><input type="text" class="required digits" name="quantity" value="$lineItem.getQuantity()" /> </td>
|
| 54 |
<td >$lineItem.getCodCount()/$prepaidCount</td>
|
56 |
<td >$lineItem.getCodCount()/$prepaidCount</td>
|
| 55 |
<td id="transferPrice"><input type="text" class="required number" name="unitPrice" value="$lineItem.getUnitPrice()" readonly /> </td>
|
57 |
<td id="transferPrice"><input type="text" class="required number" name="unitPrice" value="$lineItem.getUnitPrice()" readonly /> </td>
|
| - |
|
58 |
<td id="nlc"><input type="hidden" class="required number" name="nlc" value="$lineItem.getNlc()" readonly /> </td>
|
| 56 |
#set($amount = $lineItem.getQuantity() * $lineItem.getUnitPrice())
|
59 |
#set($amount = $lineItem.getQuantity() * $lineItem.getUnitPrice())
|
| 57 |
<td ><div id="amount">$amount</div></td>
|
60 |
<td ><div id="amount">$amount</div></td>
|
| 58 |
<td ><a id="remove-lineitem" href="#">remove</a></td>
|
61 |
<td ><a id="remove-lineitem" href="#">remove</a></td>
|
| 59 |
</tr>
|
62 |
</tr>
|
| 60 |
#end
|
63 |
#end
|