Subversion Repositories SmartDukaan

Rev

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

Rev 7410 Rev 9416
Line 22... Line 22...
22
                    <th >Warehouse</th>
22
                    <th >Warehouse</th>
23
                    <th >Creation Date</th>
23
                    <th >Creation Date</th>
24
                    #if($action.isPermitted("po:amend"))
24
                    #if($action.isPermitted("po:amend"))
25
                        <th ></th>
25
                        <th ></th>
26
						<th ></th>
26
						<th ></th>
-
 
27
						#if($action.isPermitted("po:changeWarehouse"))
-
 
28
                            <th></th>
-
 
29
						#end
27
                    #end
30
                    #end
28
                </tr>
31
                </tr>
29
            </thead>
32
            </thead>
30
            <tbody >
33
            <tbody >
31
                #foreach($purchaseOrder in $purchaseOrders)
34
                #foreach($purchaseOrder in $purchaseOrders)
Line 40... Line 43...
40
                        <td >$action.getOurGOODWarehouses().get($purchaseOrder.getSupplierId()).getDisplayName()</td>
43
                        <td >$action.getOurGOODWarehouses().get($purchaseOrder.getSupplierId()).getDisplayName()</td>
41
                        <td >$action.convertDate($purchaseOrder.getCreatedAt())</td>
44
                        <td >$action.convertDate($purchaseOrder.getCreatedAt())</td>
42
                        #if($action.isPermitted("po:amend"))
45
                        #if($action.isPermitted("po:amend"))
43
                            <td ><a href="/inventory/purchase-order/$purchaseOrder.getId()/edit">Edit</a></td>
46
                            <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>
47
							<td ><input type = "button" id="close-po" poId = "$purchaseOrder.getId()" value = "Close PO"/></td>
-
 
48
							#if($action.isPermitted("po:changeWarehouse"))
-
 
49
								<td ><input type = "button" id="change-po-warehouse" poId = "$purchaseOrder.getId()" value = "Change Warehouse"/></td>
-
 
50
							#end
45
						#end
51
						#end
46
                    </tr>
52
                    </tr>
47
                #end
53
                #end
48
            </tbody>
54
            </tbody>
49
        </table>
55
        </table>