Subversion Repositories SmartDukaan

Rev

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

Rev 4754 Rev 5110
Line 14... Line 14...
14
		#set($purchaseOrders = $action.getPurchaseOrders())
14
		#set($purchaseOrders = $action.getPurchaseOrders())
15
        <table class="bordered">
15
        <table class="bordered">
16
            <thead >
16
            <thead >
17
                <tr >
17
                <tr >
18
                    <th >PO Number</th>
18
                    <th >PO Number</th>
19
                    <th >Supplier</th>
19
                    <th >Warehouse</th>
20
                    <th >Creation Date</th>
20
                    <th >Creation Date</th>
21
                    #if($action.isPermitted("po:amend"))
21
                    #if($action.isPermitted("po:amend"))
22
                        <th ></th>
22
                        <th ></th>
23
                    #end
23
                    #end
24
                </tr>
24
                </tr>
Line 31... Line 31...
31
                            <a href="/inventory/purchase-order/$purchaseOrder.getId()">$purchaseOrder.getPoNumber()</a>
31
                            <a href="/inventory/purchase-order/$purchaseOrder.getId()">$purchaseOrder.getPoNumber()</a>
32
                            #else
32
                            #else
33
                                $purchaseOrder.getPoNumber()
33
                                $purchaseOrder.getPoNumber()
34
                            #end
34
                            #end
35
                        </td>
35
                        </td>
36
                        <td >$action.getSuppliers().get($purchaseOrder.getSupplierId()).getName()</td>
36
                        <td >$action.getOurGOODWarehouses().get($purchaseOrder.getSupplierId()).getDisplayName()</td>
37
                        <td >$action.convertDate($purchaseOrder.getCreatedAt())</td>
37
                        <td >$action.convertDate($purchaseOrder.getCreatedAt())</td>
38
                        #if($action.isPermitted("po:amend"))
38
                        #if($action.isPermitted("po:amend"))
39
                            <td ><a href="/inventory/purchase-order/$purchaseOrder.getId()/edit">Edit</a></td>
39
                            <td ><a href="/inventory/purchase-order/$purchaseOrder.getId()/edit">Edit</a></td>
40
                        #end
40
                        #end
41
                    </tr>
41
                    </tr>