Subversion Repositories SmartDukaan

Rev

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

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