Subversion Repositories SmartDukaan

Rev

Rev 4754 | Rev 7410 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4687 mandeep.dh 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
	<head>
4754 mandeep.dh 4
        <link rel="stylesheet" href="/inventory/css/common.css" type="text/css" />
4687 mandeep.dh 5
		<title>
6
			Warehouse Management::Purchase Orders
7
		</title>
8
	</head>
9
	<body>
10
        <a href="/inventory">Go to Home page</a>
4754 mandeep.dh 11
        <br />
4687 mandeep.dh 12
		<h2>Start or Continue a Purchase</h2>
13
		<p>Open Purchase Orders</p>
14
		#set($purchaseOrders = $action.getPurchaseOrders())
4754 mandeep.dh 15
        <table class="bordered">
16
            <thead >
17
                <tr >
18
                    <th >PO Number</th>
5110 mandeep.dh 19
                    <th >Warehouse</th>
4754 mandeep.dh 20
                    <th >Creation Date</th>
21
                    #if($action.isPermitted("po:amend"))
22
                        <th ></th>
23
                    #end
24
                </tr>
25
            </thead>
26
            <tbody >
27
                #foreach($purchaseOrder in $purchaseOrders)
28
                    <tr >                       
29
                        <td >
30
                            #if($action.isPermitted("po:receive"))
31
                            <a href="/inventory/purchase-order/$purchaseOrder.getId()">$purchaseOrder.getPoNumber()</a>
32
                            #else
33
                                $purchaseOrder.getPoNumber()
34
                            #end
35
                        </td>
5110 mandeep.dh 36
                        <td >$action.getOurGOODWarehouses().get($purchaseOrder.getSupplierId()).getDisplayName()</td>
4754 mandeep.dh 37
                        <td >$action.convertDate($purchaseOrder.getCreatedAt())</td>
38
                        #if($action.isPermitted("po:amend"))
39
                            <td ><a href="/inventory/purchase-order/$purchaseOrder.getId()/edit">Edit</a></td>
40
                        #end
41
                    </tr>
42
                #end
43
            </tbody>
44
        </table>
4687 mandeep.dh 45
    </body>
4754 mandeep.dh 46
</html>