Subversion Repositories SmartDukaan

Rev

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

Rev 5110 Rev 7410
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
        <link rel="stylesheet" href="/inventory/css/common.css" type="text/css" />
-
 
5
        <script type="text/javascript" src="/inventory/js/jquery-1.4.2.js"></script>
-
 
6
		<script type = "text/javascript" src = "/inventory/js/purchase-order-common.js"></script>
-
 
7
		<script type = "text/javascript" src = "/inventory/js/purchase-order-events.js"></script>
5
		<title>
8
		<title>
6
			Warehouse Management::Purchase Orders
9
			Warehouse Management::Purchase Orders
7
		</title>
10
		</title>
8
	</head>
11
	</head>
9
	<body>
12
	<body>
Line 18... Line 21...
18
                    <th >PO Number</th>
21
                    <th >PO Number</th>
19
                    <th >Warehouse</th>
22
                    <th >Warehouse</th>
20
                    <th >Creation Date</th>
23
                    <th >Creation Date</th>
21
                    #if($action.isPermitted("po:amend"))
24
                    #if($action.isPermitted("po:amend"))
22
                        <th ></th>
25
                        <th ></th>
-
 
26
						<th ></th>
23
                    #end
27
                    #end
24
                </tr>
28
                </tr>
25
            </thead>
29
            </thead>
26
            <tbody >
30
            <tbody >
27
                #foreach($purchaseOrder in $purchaseOrders)
31
                #foreach($purchaseOrder in $purchaseOrders)
Line 35... Line 39...
35
                        </td>
39
                        </td>
36
                        <td >$action.getOurGOODWarehouses().get($purchaseOrder.getSupplierId()).getDisplayName()</td>
40
                        <td >$action.getOurGOODWarehouses().get($purchaseOrder.getSupplierId()).getDisplayName()</td>
37
                        <td >$action.convertDate($purchaseOrder.getCreatedAt())</td>
41
                        <td >$action.convertDate($purchaseOrder.getCreatedAt())</td>
38
                        #if($action.isPermitted("po:amend"))
42
                        #if($action.isPermitted("po:amend"))
39
                            <td ><a href="/inventory/purchase-order/$purchaseOrder.getId()/edit">Edit</a></td>
43
                            <td ><a href="/inventory/purchase-order/$purchaseOrder.getId()/edit">Edit</a></td>
-
 
44
							<td ><input type = "button" id="close-po" poId = "$purchaseOrder.getId()" value = "Close PO"/></td>
40
                        #end
45
						#end
41
                    </tr>
46
                    </tr>
42
                #end
47
                #end
43
            </tbody>
48
            </tbody>
44
        </table>
49
        </table>
45
    </body>
50
    </body>