only show cancel button when not completed or cancelled
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@699974 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -195,6 +195,12 @@ under the License.
|
||||
</menu>
|
||||
<menu name="RequestSubTabBar" type="simple" menu-container-style="button-bar button-style-2">
|
||||
<menu-item name="cancelledRequest" title="Cancel request" >
|
||||
<condition>
|
||||
<and>
|
||||
<if-compare field-name="custRequest.statusId" operator="not-equals" value="CRQ_CANCELLED"/>
|
||||
<if-compare field-name="custRequest.statusId" operator="not-equals" value="CRQ_COMPLETED"/>
|
||||
</and>
|
||||
</condition>
|
||||
<link target="setCustRequestStatus?custRequestId=${custRequestId}&statusId=CRQ_CANCELLED"/>
|
||||
</menu-item>
|
||||
</menu>
|
||||
|
||||
Reference in New Issue
Block a user