Files
ofbiz-framework/applications/humanres/widget/forms/EmploymentForms.xml
T

360 lines
26 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
<form name="ListEmployments" type="list" target="updateEmployment" paginate-target="findEmployment"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<entity-condition entity-name="Employment"/>
</actions>
<auto-fields-service service-name="updateEmployment"/>
<field name="roleTypeIdFrom"><display/></field>
<field name="roleTypeIdTo"><display/></field>
<field name="partyIdFrom"><display/></field>
<field name="partyIdTo"><display/></field>
<field name="fromDate"><display/></field>
<field name="terminationReasonId" title="${uiLabelMap.HumanResTerminationReasonId}"><lookup target-form-name="LookupTerminationReasonId"/></field>
<field name="terminationTypeId" title="${uiLabelMap.HumanResTerminationTypeId}">
<drop-down allow-empty="false">
<entity-options description="${description}" key-field-name="terminationTypeId" entity-name="TerminationType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
<field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
<hyperlink target="deleteEmployment?roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;partyIdFrom=${partyIdFrom}&amp;partyIdTo=${partyIdTo}&amp;fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
</field>
</form>
<form name="EditEmployment" type="single" target="createEmployment"
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="createEmployment"/>
<field name="roleTypeIdFrom" tooltip="${uiLabelMap.CommonRequired}">
<drop-down allow-empty="false">
<entity-options description="${description}" key-field-name="roleTypeId" entity-name="RoleType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="roleTypeIdTo" tooltip="${uiLabelMap.CommonRequired}">
<drop-down allow-empty="false">
<entity-options description="${description}" key-field-name="roleTypeId" entity-name="RoleType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="partyIdFrom" title="${uiLabelMap.HumanResPartyIdFrom}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupPartyName"/></field>
<field name="partyIdTo" title="${uiLabelMap.HumanResPartyIdTo}" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupPartyName"/></field>
<field name="fromDate" title="${uiLabelMap.CommonDate}" tooltip="${uiLabelMap.CommonRequired}"/>
<field name="terminationReasonId" title="${uiLabelMap.HumanResTerminationReasonId}"><lookup target-form-name="LookupTerminationReason"/></field>
<field name="terminationTypeId" title="${uiLabelMap.HumanResTerminationTypeId}">
<drop-down allow-empty="false">
<entity-options description="${description}" key-field-name="terminationTypeId" entity-name="TerminationType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
</form>
<form name="ListEmploymentApps" type="list" title="" paginate-target="findEmploymentApps"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<entity-condition entity-name="EmploymentApp"><order-by field-name="applicationId"/></entity-condition>
</actions>
<auto-fields-service default-field-type="display" service-name="updateEmploymentApp"/>
<field name="applicationId" title="${uiLabelMap.HumanResApplicationId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${applicationId}" target="EditEmploymentApp?applicationId=${applicationId}"/>
</field>
<field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
<hyperlink target="deleteEmploymentApp?applicationId=${applicationId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
</field>
</form>
<form name="EditEmploymentApp" type="single" target="updateEmploymentApp" title="" default-map-name="employmentApp"
header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="employmentApp==null" target="createEmploymentApp"/>
<auto-fields-service service-name="createEmploymentApp"/>
<field use-when="employmentApp!=null" name="applicationId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="applicationId" use-when="employmentApp==null"><ignored/></field>
<field use-when="employmentApp==null&amp;&amp;applicationId!=null" name="applicationId" tooltip="${uiLabelMap.CommonCannotBeFound}:[${applicationId}]"><text size="20" maxlength="20"/></field>
<field name="emplPositionId" use-when="employmentApp!=null"><display/></field>
<field name="emplPositionId" use-when="employmentApp==null"><lookup target-form-name="LookupEmplPosition"/></field>
<field name="applyingPartyId" use-when="employmentApp!=null"><display/></field>
<field name="applyingPartyId" use-when="employmentApp==null"><lookup target-form-name="LookupPartyName"/></field>
<field name="referredByPartyId" use-when="employmentApp!=null"><display/></field>
<field name="referredByPartyId" use-when="employmentApp==null"><lookup target-form-name="LookupPartyName"/></field>
<field name="employmentAppSourceTypeId">
<drop-down allow-empty="false">
<entity-options description="${employmentAppSourceTypeId}" key-field-name="employmentAppSourceTypeId" entity-name="EmploymentAppSourceType">
<entity-order-by field-name="employmentAppSourceTypeId"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" use-when="employmentApp==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="submitButton" use-when="employmentApp!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="ListPayHistories" type="list" target="updatePayHistory" title="" paginate-target="findPayHistories"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<entity-condition entity-name="PayHistory">
<condition-list combine="and">
<condition-expr field-name="roleTypeIdFrom" operator="equals" env-name="parameters.roleTypeIdFrom"/>
<condition-expr field-name="roleTypeIdTo" operator="equals" env-name="parameters.roleTypeIdTo"/>
<condition-expr field-name="partyIdFrom" operator="equals" env-name="parameters.partyIdFrom"/>
<condition-expr field-name="partyIdTo" operator="equals" env-name="parameters.partyIdTo"/>
<condition-expr field-name="fromDate" operator="equals" env-name="parameters.fromDate"/>
</condition-list>
</entity-condition>
</actions>
<auto-fields-service service-name="updatePayHistory"/>
<field name="roleTypeIdFrom"><display/></field>
<field name="roleTypeIdTo"><display/></field>
<field name="partyIdFrom"><display/></field>
<field name="partyIdTo"><display/></field>
<field name="fromDate"><display/></field>
<field name="salaryStepSeqId" title="${uiLableMap.HumanResSalaryStepSeqId}"><lookup target-form-name="LookupSalaryStepSeq"/></field>
<field name="payGradeId" title="${uiLableMap.HumanResPayGradeID}"><lookup target-form-name="LookupPayGrade"/></field>
<field name="periodTypeId">
<drop-down allow-empty="false">
<entity-options description="${description}" key-field-name="periodTypeId" entity-name="PeriodType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="deletePayHistory?roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;partyIdFrom=${partyIdFrom}&amp;partyIdTo=${partyIdTo}&amp;fromDate=${fromDate}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
</field>
</form>
<form name="ListPartyBenefits" type="list" target="updatePartyBenefit" title="" paginate-target="findPartyBenefits"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<entity-condition entity-name="PartyBenefit"/>
</actions>
<auto-fields-service service-name="updatePartyBenefit"/>
<field name="roleTypeIdFrom"><display/></field>
<field name="roleTypeIdTo"><display/></field>
<field name="partyIdFrom"><display/></field>
<field name="partyIdTo"><display/></field>
<field name="benefitTypeId"><display/></field>
<field name="fromDate"><display/></field>
<field name="periodTypeId">
<drop-down allow-empty="false">
<entity-options description="${description}" key-field-name="periodTypeId" entity-name="PeriodType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="deletePartyBenefit?roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;roleTypeIdFrom=${roleTypeIdFrom}&amp;roleTypeIdTo=${roleTypeIdTo}&amp;fromDate=${fromDate}&amp;benefitTypeId=${benefitTypeId}" description="${uiLabelMap.CommonDelete}"/>
</field>
</form>
<form name="EditPartyBenefit" type="single" target="createPartyBenefit" title=""
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="createPartyBenefit"/>
<field name="roleTypeIdFrom"><hidden/></field>
<field name="roleTypeIdTo"><hidden/></field>
<field name="partyIdFrom"><hidden/></field>
<field name="partyIdTo"><hidden/></field>
<field name="fromDate"><hidden/></field>
<field name="benefitTypeId" tooltip="${uiLabelMap.CommonRequired}">
<drop-down allow-empty="false">
<entity-options description="${description}" key-field-name="benefitTypeId" entity-name="BenefitType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="fromDate" tooltip="${uiLabelMap.CommonRequired}"/>
<field name="periodTypeId">
<drop-down allow-empty="false">
<entity-options description="${description}" key-field-name="periodTypeId" entity-name="PeriodType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
</form>
<form name="ListPayrollPreferences" type="list" title="findPayrollPreferences"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<entity-condition entity-name="PayrollPreference"><order-by field-name="payrollPreferenceSeqId"/></entity-condition>
</actions>
<auto-fields-service default-field-type="display" service-name="updatePayrollPreference"/>
<field name="payrollPreferenceSeqId" title="${uiLabelMap.HumanResPayrollPreferenceSeqId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${payrollPreferenceSeqId}" target="EditPayrollPreferences?payrollPreferenceSeqId=${payrollPreferenceSeqId}&amp;partyId=${partyId}&amp;roleTypeId=${roleTypeId}"/>
</field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="deletePayrollPreference?payrollPreferenceSeqId=${payrollPreferenceSeqId}&amp;partyId=${partyId}&amp;roleTypeId=${roleTypeId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
</field>
</form>
<form name="EditPayrollPreference" type="single" target="updatePayrollPreference" title="" default-map-name="payrollPreference"
header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="payrollPreference==null" target="createPayrollPreference"/>
<auto-fields-service service-name="createPayrollPreference" />
<field use-when="payrollPreference!=null" name="payrollPreferenceSeqId" title="${uiLabelMap.HumanResPayrollPreferenceSeqId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field use-when="payrollPreference==null&amp;&amp;payrollPreferenceSeqId==null" name="payrollPreferenceSeqId" title="${uiLabelMap.HumanResPayrollPreferenceSeqId}"><ignored/></field>
<field use-when="payrollPreference==null&amp;&amp;payrollPreferenceSeqId!=null" name="payrollPreferenceSeqId" tooltip="${uiLabelMap.CommonCannotBeFound}: [${payrollPreferenceSeqId}]"><display/></field>
<field name="partyId"><hidden/></field>
<field name="roleTypeId"><hidden/></field>
<field name="fromDate"><hidden/></field>
<field name="deductionTypeId">
<drop-down allow-empty="false">
<entity-options description="${deductionTypeId}" key-field-name="deductionTypeId" entity-name="DeductionType">
<entity-order-by field-name="deductionTypeId"/>
</entity-options>
</drop-down>
</field>
<field name="paymentMethodTypeId">
<drop-down allow-empty="false">
<entity-options description="${paymentMethodTypeId}" key-field-name="paymentMethodTypeId" entity-name="PaymentMethodType">
<entity-order-by field-name="paymentMethodTypeId"/>
</entity-options>
</drop-down>
</field>
<field name="periodTypeId">
<drop-down allow-empty="false">
<entity-options description="${periodTypeId}" key-field-name="periodTypeId" entity-name="PeriodType">
<entity-order-by field-name="periodTypeId"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" use-when="payrollPreference==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="submitButton" use-when="payrollPreference!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="ListPayGrades" type="list" title="" paginate-target="findPayGrades"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<entity-condition entity-name="PayGrade"><order-by field-name="payGradeId"/></entity-condition>
</actions>
<auto-fields-service default-field-type="display" service-name="updatePayGrade"/>
<field name="payGradeId" widget-style="buttontext">
<hyperlink also-hidden="false" description="${payGradeId}" target="EditPayGrade?payGradeId=${payGradeId}"/>
</field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="deletePayGrade?payGradeId=${payGradeId}" description="${uiLabelMap.CommonDelete}"/>
</field>
</form>
<form name="EditPayGrade" type="single" target="updatePayGrade" title=""
header-row-style="header-row" default-table-style="basic-table">
<actions>
<entity-one entity-name="PayGrade" value-name="payGrade" />
</actions>
<alt-target use-when="payGrade==null" target="createPayGrade"/>
<auto-fields-service service-name="updatePayGrade" map-name="payGrade"/>
<field use-when="payGrade!=null" name="payGradeId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="payGradeId" use-when="payGrade==null"><ignored/></field>
<!-- field name="payGradeId" use-when="payGrade==null&amp;payGradeId!=null" tooltip="${uiLabelMap.CommonCannotBeFound}:[${payGradeId}]"><text size="20" maxlength="20"/></field>-->
<field name="submitButton" use-when="payGrade==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="submitButton" use-when="payGrade!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="ListSalarySteps" type="list" title="" target="updateSalaryStep" paginate-target="findSalarySteps"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<entity-condition entity-name="SalaryStep"><order-by field-name="salaryStepSeqId"/></entity-condition>
</actions>
<auto-fields-service service-name="updateSalaryStep"/>
<field name="salaryStepSeqId" title="${uiLabelMap.HumanResSalaryStepSeqId}"><display/></field>
<field name="payGradeId" title="${uiLabelMap.HumanResPayGradeID}"><display/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="deleteSalaryStep?salaryStepSeqId=${salaryStepSeqId}&amp;payGradeId=${payGradeId}" description="${uiLabelMap.CommonDelete}"/>
</field>
</form>
<form name="EditSalaryStep" type="single" target="createSalaryStep" title=""
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="createSalaryStep"/>
<field name="salaryStepSeqId"><ignored/></field>
<field name="payGradeId"><hidden/></field>
<field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="ListTerminationReasons" type="list" title="" paginate-target="findTerminationReasons"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<entity-condition entity-name="TerminationReason"><order-by field-name="terminationReasonId"/></entity-condition>
</actions>
<auto-fields-service default-field-type="display" service-name="updateTerminationReason"/>
<field name="terminationReasonId" title="${uiLabelMap.HumanResTerminationReasonId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${terminationReasonId}" target="EditTerminationReason?terminationReasonId=${terminationReasonId}"/>
</field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="deleteTerminationReason?terminationReasonId=${terminationReasonId}" description="${uiLabelMap.CommonDelete}"/>
</field>
</form>
<form name="EditTerminationReason" type="single" target="updateTerminationReason" title="" default-map-name = "terminationReason"
header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="terminationReason==null" target="createTerminationReason"/>
<auto-fields-service service-name="createTerminationReason"/>
<field use-when="terminationReason!=null" name="terminationReasonId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field use-when="terminationReason==null" name="terminationReasonId"><ignored/></field>
<field use-when="terminationReason==null&amp;&amp;terminationReasonId!=null" name="terminationReasonId" tooltip="${uiLabelMap.CommonCannotBeFound}:[${terminationReasonId}]"><text size="20" maxlength="20"/></field>
<field name="submitButton" use-when="terminationReason==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="submitButton" use-when="terminationReason!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="ListUnemploymentClaims" type="list" title="" paginate-target="findUnemploymentClaims"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<entity-condition entity-name="UnemploymentClaim"><order-by field-name="unemploymentClaimId"/></entity-condition>
</actions>
<auto-fields-service default-field-type="display" service-name="updateUnemploymentClaim"/>
<field name="unemploymentClaimId" widget-style="buttontext">
<hyperlink also-hidden="false" description="${unemploymentClaimId}" target="EditUnemploymentClaim?unemploymentClaimId=${unemploymentClaimId}"/>
</field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="deleteUnemploymentClaim?unemploymentClaimId=${unemploymentClaimId}" description="${uiLabelMap.CommonDelete}"/>
</field>
</form>
<form name="EditUnemploymentClaim" type="single" target="updateUnemploymentClaim" title="${uiLableMap.HumanResEditUnemploymentClaim}" default-map-name="unemploymentClaim"
header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="unemploymentClaim==null" target="createUnemploymentClaim"/>
<auto-fields-service service-name="createUnemploymentClaim"/>
<field use-when="unemploymentClaim!=null" name="unemploymentClaimId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field use-when="unemploymentClaim==null" name="unemploymentClaimId"><ignored/></field>
<field use-when="unemploymentClaim==null&amp;&amp;unemploymentClaimId!=null" name="unemploymentClaimId" tooltip="${uiLabelMap.CommonCannotBeFound}:[${unemploymentClaimId}]"><text size="20" maxlength="20"/></field>
<field name="statusId">
<drop-down allow-empty="false">
<entity-options description="${description}" key-field-name="statusId" entity-name="StatusItem">
<entity-constraint name="statusTypeId" operator="equals" value="POSITION_STATUS"/>
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="roleTypeIdFrom">
<drop-down allow-empty="false">
<entity-options description="${description}" key-field-name="roleTypeId" entity-name="RoleType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="roleTypeIdTo">
<drop-down allow-empty="false">
<entity-options description="${description}" key-field-name="roleTypeId" entity-name="RoleType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="partyIdFrom" title="${uiLabelMap.HumanResPartyIdFrom}" use-when="unemploymentClaim==null" ><lookup target-form-name="LookupPartyName"/></field>
<field name="partyIdTo" title="${uiLabelMap.HumanResPartyIdTo}" use-when="unemploymentClaim==null" ><lookup target-form-name="LookupPartyName"/></field>
<field name="submitButton" use-when="unemploymentClaim==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="submitButton" use-when="unemploymentClaim!=null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
</forms>