Disabled the ability to edit fixed asset assigned to a production run after the production run has been approved.
OFBIZ-343 git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484955 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
-4
@@ -264,10 +264,6 @@ under the License.
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxtop">
|
||||
<tr>
|
||||
<td><div class="boxhead">${uiLabelMap.ManufacturingListOfProductionRunFixedAssets}</div></td>
|
||||
<td align="right"><div class="tabletext">
|
||||
<a href="<@ofbizUrl>ProductionRunDeclaration?productionRunId=${productionRunId}&actionForm=AddFixedAsset</@ofbizUrl>" class="submenutextright">
|
||||
${uiLabelMap.ManufacturingAddProductionRunFixedAssetAssign}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
${ListProductionRunFixedAssetsWrapper.renderFormString(context)}
|
||||
|
||||
@@ -439,12 +439,8 @@ under the License.
|
||||
<hyperlink description="${uiLabelMap.CommonEdit}" also-hidden="false"
|
||||
target="EditProductionRun?actionForm=UpdateFixedAsset&workEffortId=${workEffortId}&fixedAssetId=${fixedAssetId}&fromDate=${fromDate}&productionRunId=${productionRunId}" />
|
||||
</field>
|
||||
<field name="editLink" title="" widget-style="smallSubmit"
|
||||
use-when=""${declarationScreen}".equals("Y")">
|
||||
<hyperlink description="${uiLabelMap.CommonEdit}" also-hidden="false"
|
||||
target="ProductionRunDeclaration?actionForm=UpdateFixedAsset&workEffortId=${workEffortId}&fixedAssetId=${fixedAssetId}&fromDate=${fromDate}&productionRunId=${productionRunId}" />
|
||||
</field>
|
||||
<field name="deleteLink" title="" widget-style="smallSubmit">
|
||||
<field name="deleteLink" title="" widget-style="smallSubmit"
|
||||
use-when="!"${declarationScreen}".equals("Y")">
|
||||
<hyperlink description="${uiLabelMap.CommonDelete}" also-hidden="false"
|
||||
target="removeProductionRunFixedAsset?workEffortId=${workEffortId}&fixedAssetId=${fixedAssetId}&fromDate=${fromDate}&productionRunId=${productionRunId}" />
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user