Subversion Repositories SmartDukaan

Rev

Rev 32145 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32145 Rev 37088
Line 17... Line 17...
17
            <table id="warehouse-purchase-order" class="table table-striped table-advance table-hover" >
17
            <table id="warehouse-purchase-order" class="table table-striped table-advance table-hover" >
18
              <thead>
18
              <thead>
19
                <tr>
19
                <tr>
20
                 <th> Id</th>
20
                 <th> Id</th>
21
                 <th> Po Number </th>
21
                 <th> Po Number </th>
22
                 <th> Supplier</th>  
22
                 <th> Supplier</th>
-
 
23
                 <th> Warehouse</th>
23
                 <th> Buyer</th>  
24
                 <th> Buyer</th>
24
                 <th> Total Cost </th>  
25
                 <th> Total Cost </th>
25
                 <th> Created On</th>
26
                 <th> Created On</th>
26
			     <th> Status </th>
27
			     <th> Status </th>
27
			     <th> View</th>
28
			     <th> View</th>
28
			    
29
			    
29
                </tr>
30
                </tr>
Line 36... Line 37...
36
                <tr>
37
                <tr>
37
                <td>$purchaseOrder.getId()</td>
38
                <td>$purchaseOrder.getId()</td>
38
                <td>$purchaseOrder.getPoNumber()</td>
39
                <td>$purchaseOrder.getPoNumber()</td>
39
                <td>$supplierMap.get($purchaseOrder.getSupplierId()).getName()</td>
40
                <td>$supplierMap.get($purchaseOrder.getSupplierId()).getName()</td>
40
               
41
               
-
 
42
                <td>#if($warehouseMap.get($purchaseOrder.getWarehouseId()))$warehouseMap.get($purchaseOrder.getWarehouseId())#{else}$purchaseOrder.getWarehouseId()#end</td>
41
                <td>$sellerMap.get($purchaseOrder.getBuyerId()).getLabel()</td>
43
                <td>$sellerMap.get($purchaseOrder.getBuyerId()).getLabel()</td>
42
                <td>$purchaseOrder.getTotalCost()</td>
44
                <td>$purchaseOrder.getTotalCost()</td>
43
                <td>$purchaseOrder.getCreatedAt().format($dateFormatter)</td>
45
                <td>$purchaseOrder.getCreatedAt().format($dateFormatter)</td>
44
                <td>$purchaseOrder.getStatus() </td> 
46
                <td>$purchaseOrder.getStatus() </td> 
45
                <td> <input class="form-control btn btn-primary viewPurchaseOrderlineItem" type="button" value="View"  data-poid="$purchaseOrder.getId()"
47
                <td> <input class="form-control btn btn-primary viewPurchaseOrderlineItem" type="button" value="View"  data-poid="$purchaseOrder.getId()"