Subversion Repositories SmartDukaan

Rev

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

Rev 10413 Rev 10424
Line 20... Line 20...
20
        <ul>
20
        <ul>
21
            <li><span>Purchase no. $purchase.getId()</span></li>
21
            <li><span>Purchase no. $purchase.getId()</span></li>
22
		</ul>
22
		</ul>
23
			#end
23
			#end
24
		#end
24
		#end
25
		#if($action.getPurchaseOrder().getStatus().getValue()==1 || $action.getPurchaseOrder().getStatus().getValue()==2)
25
		#if($action.isPermitted("po:closedAmend") || $action.getPurchaseOrder().getStatus().getValue()==1 || $action.getPurchaseOrder().getStatus().getValue()==2)
26
			<a href="/inventory/purchase/new/?poId=$action.getPurchaseOrder().getId()">Start a new Purchase</a>
26
			<a href="/inventory/purchase/new/?poId=$action.getPurchaseOrder().getId()">Start a new Purchase</a>
27
		#end
27
		#end
28
        <div >
28
        <div >
29
            <br />
29
            <br />
30
            <div class="error">#set($messages = $action.getActionErrors())
30
            <div class="error">#set($messages = $action.getActionErrors())