Subversion Repositories SmartDukaan

Rev

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

Rev 32192 Rev 32256
Line 1... Line 1...
1
 
1
 
-
 
2
 
-
 
3
 
-
 
4
#if($purchaseGrnRequest)
-
 
5
 
-
 
6
	 <div class="row"> 
-
 
7
      
-
 
8
	       	<div  style="background:white;background-color:white;padding:10px;">
-
 
9
			<h4 class="modelHeaderCustom" style="font-size:22px;">Grn Pending Request</h4>
-
 
10
		    </div>
-
 
11
			
-
 
12
    </div>	
-
 
13
   <div class="row">
-
 
14
	    	<div class="col-lg-12">
-
 
15
	    	    <table class="table table-border table-condensed table-bordered" id="grn-request-table" style="width:100%">
-
 
16
	    			<thead>
-
 
17
	    				<tr> 				
-
 
18
	    					<th>PoId</th>
-
 
19
	    					<th>Item</th>
-
 
20
	    					<th>Qty</th>
-
 
21
	    					<th>Excess Qty</th>
-
 
22
	    					<th>Price Mismatch</th>		
-
 
23
	    										
-
 
24
	    				</tr>
-
 
25
	    			</thead>
-
 
26
	    			<tbody>
-
 
27
	    			   #if(!$grnRequestItems.isEmpty())
-
 
28
	    			   #foreach($grnRequestItem in $grnRequestItems)
-
 
29
	    			   <tr>
-
 
30
	    			      <td>$grnRequestItem.getPoId() </td>
-
 
31
	    			      <td>$itemMap.get($grnRequestItem.getItemId()).getItemDescription()</td>
-
 
32
					      <td>$grnRequestItem.getQty() </td>
-
 
33
	    			      <td>$grnRequestItem.getExcessQty() </td>
-
 
34
	    			      <td>$grnRequestItem.getPriceMismatch() </td>
-
 
35
	    			     
-
 
36
	    			  </tr> 
-
 
37
				    			  
-
 
38
				    	#end		   
-
 
39
	    			   #end
-
 
40
	    			   
-
 
41
	    			</tbody>
-
 
42
	    		</table>
-
 
43
	    		
-
 
44
	    	</div>
-
 
45
	    </div>
-
 
46
      #else
2
     	 <div class="row"> 
47
     	 <div class="row"> 
3
      
48
      
4
	         <div class="col-lg-2 form-group">
49
	         <div class="col-lg-2 form-group">
5
	         	<input class="form-control btn btn-primary addRowForInvoiceItem" data-numitems = "$warehouseSupplierInvoice.getNumItems()"   data-invoiceid = "$warehouseSupplierInvoice.getId()" type="button" value="Add Item">	
50
	         	<input class="form-control btn btn-primary addRowForInvoiceItem" data-numitems = "$warehouseSupplierInvoice.getNumItems()"   data-invoiceid = "$warehouseSupplierInvoice.getId()" type="button" value="Add Item">	
6
			</div>
51
			</div>
Line 50... Line 95...
50
			
95
			
51
			<div class="col-lg-2 form-group">
96
			<div class="col-lg-2 form-group">
52
	         	<input class="form-control btn btn-primary validateInvoiceDetail"  data-numitems = "$warehouseSupplierInvoice.getNumItems()" data-supplierid = "$warehouseSupplierInvoice.getSupplierId()" data-warehouseid = "$warehouseSupplierInvoice.getWarehouseId()" data-invoiceid = "$warehouseSupplierInvoice.getId()" type="button" value="Validate">	
97
	         	<input class="form-control btn btn-primary validateInvoiceDetail"  data-numitems = "$warehouseSupplierInvoice.getNumItems()" data-supplierid = "$warehouseSupplierInvoice.getSupplierId()" data-warehouseid = "$warehouseSupplierInvoice.getWarehouseId()" data-invoiceid = "$warehouseSupplierInvoice.getId()" type="button" value="Validate">	
53
			</div>
98
			</div>
54
			
99
			
55
    </div>	
-
 
56
100
    </div>	
-
 
101
    #end
-
 
102
57
103