Author: jleroux
Date: Fri Sep 11 07:54:45 2009 New Revision: 813702 URL: http://svn.apache.org/viewvc?rev=813702&view=rev Log: A patch from Pradeep Ruhil "This patch is for Improvent in HR module in Global Hr Setting tabs in Paygrade section." (https://issues.apache.org/jira/browse/OFBIZ-2739) - OFBIZ-2739 This issue is that when you select any payGradeId that is already created and then you check the Salary Steps for that payGradeId, it was showing the Salary Steps of all the payGradeId present. So I resolved that issue and now it will display the Salary Step for the selected payGradeId only. Modified: ofbiz/trunk/applications/humanres/widget/PayGradeScreens.xml ofbiz/trunk/applications/humanres/widget/forms/PayGradeForms.xml Modified: ofbiz/trunk/applications/humanres/widget/PayGradeScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/PayGradeScreens.xml?rev=813702&r1=813701&r2=813702&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/PayGradeScreens.xml (original) +++ ofbiz/trunk/applications/humanres/widget/PayGradeScreens.xml Fri Sep 11 07:54:45 2009 @@ -74,7 +74,7 @@ <include-menu name="SalaryBar" location="component://humanres/widget/Menus.xml"/> </widgets> </section> - <screenlet title="${uiLabelMap.HumanResEditPayGrade}"> + <screenlet title="${uiLabelMap.HumanResEditPayGrade} [${payGradeId}]"> <section> <widgets> <include-form name="EditPayGrade" location="component://humanres/widget/forms/PayGradeForms.xml"/> @@ -106,7 +106,7 @@ <include-menu name="SalaryBar" location="component://humanres/widget/Menus.xml"/> </widgets> </section> - <screenlet id="AddSalaryStepPanel" title="${uiLabelMap.HumanResAddSalaryStep}" collapsible="true"> + <screenlet id="AddSalaryStepPanel" title="${uiLabelMap.HumanResAddSalaryStep} [${payGradeId}]" collapsible="true"> <include-form name="AddSalaryStep" location="component://humanres/widget/forms/PayGradeForms.xml"/> </screenlet> <include-form name="ListSalarySteps" location="component://humanres/widget/forms/PayGradeForms.xml"/> Modified: ofbiz/trunk/applications/humanres/widget/forms/PayGradeForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/PayGradeForms.xml?rev=813702&r1=813701&r2=813702&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/PayGradeForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/PayGradeForms.xml Fri Sep 11 07:54:45 2009 @@ -63,7 +63,7 @@ odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <entity-one entity-name="SalaryStep" auto-field-map="true"/> - <entity-condition entity-name="SalaryStep"><order-by field-name="salaryStepSeqId"/></entity-condition> + <entity-condition entity-name="SalaryStep"> <condition-expr field-name="payGradeId" operator="equals" from-field="payGradeId"/><order-by field-name="salaryStepSeqId"/></entity-condition> </actions> <auto-fields-service service-name="updateSalaryStep"/> <field name="salaryStepSeqId" title="${uiLabelMap.HumanResSalaryStepSeqId}"><display also-hidden="true"/></field> |
Free forum by Nabble | Edit this page |