Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
32256 tejbeer 1
<table class="table  table-advance">
2
	<thead>
3
	  <tr>
4
        <th>Po Id</th>
5
        <th>Item</th>
6
        <th>Po Price</th>
7
        <th>Invoice Price</th>
8
        <th>System Price</th>
9
        <th>Quantity</th>
10
		<th>Excess qty</th>
11
		<th>Required qty</th> 
12
		<th>Price Mismatch</th>
13
	    <th>Qty Resolved</th>
14
	    <th>Price Resolved</th>
15
 
16
     </tr>	
17
     </thead>
18
	<tbody>	
19
	  #foreach($grnRequestItem in $grnRequestItems)	  
20
 
21
	   #set($catalogId = $itemMap.get($grnRequestItem.getItemId()).getCatalogItemId())  
22
       <tr>		
23
         <td>$grnRequestItem.getPoId()</td>
24
         <td>$itemMap.get($grnRequestItem.getItemId()).getItemDescription()</td>
25
         <td>$warehouseLineItemMap.get($grnRequestItem.getPoId()).get($grnRequestItem.getItemId()).getUnitPrice()</td>
26
         <td>$warehouseInvoiceItemMap.get($grnRequestItem.getItemId()).getRate()</td>
27
 
28
         <td>$vendorCatalogPricingLogMap.get($catalogId).getTransferPrice()</td>
29
 
30
         <td>$grnRequestItem.getQty()</td>     
31
         <td>$grnRequestItem.getExcessQty()</td>
32
         #if($grnRequestItem.getExcessQty() > 0)
33
         	<td>  <input type="number" class="form-control requiredQty"  name = "requiredQty"  value = "$grnRequestItem.getRequiredQty()" placeholder="Quantity"/> </td>
34
 
35
         #else
36
             <td> - </td>
37
         #end
38
         <td>$grnRequestItem.getPriceMismatch()</td>
39
         #if($grnRequestItem.getExcessQty() > 0)
40
         #if($grnRequestItem.isQtyResolved())
41
         <td>$grnRequestItem.isQtyResolved()</td>
42
         #else
43
         <td> <button class="form-control btn btn-primary resolvedQtyMismatchRequest"  data-pricemismatch = "$grnRequestItem.getPriceMismatch()" data-id = "$grnRequestItem.getId()" data-invoiceid = "$invoiceId" data-requestid = "$grnRequestItem.getRequestId()" type="button"> Resolve </button> </td>
44
         #end
45
         #else
46
         <td></td>
47
         #end
48
 
49
         #if($grnRequestItem.isPriceResolved())
50
         <td>$grnRequestItem.isPriceResolved()</td>
51
         #else
52
         <td> <button class="form-control btn btn-primary resolvedPriceMismatchRequest" data-pricemismatch = "$grnRequestItem.getPriceMismatch()" data-id = "$grnRequestItem.getId()" data-invoiceid = "$invoiceId" data-requestid = "$grnRequestItem.getRequestId()" type="button">Resolve</button> </td>
53
         #end
54
	   </tr>	
55
      #end
56
    </tbody>
57
 </table>
58
 
59