Blame view
applications/humanres/widget/forms/EmployeeForms.xml
16.2 KB
c16038356
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 |
<?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="AddEmployee" type="single" target="createEmployee" header-row-style="header-row" default-table-style="basic-table"> <field name="salutation" title="${uiLabelMap.CommonTitle}"><text size="10" maxlength="30"/></field> <field name="firstName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> <field name="middleName" title="${uiLabelMap.PartyMiddleInitial}"><text size="4" maxlength="4"/></field> <field name="lastName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text/></field> <field name="partyIdFrom" title="${uiLabelMap.OrderOrderEntryInternalOrganization}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> <drop-down allow-empty="true"> <entity-options entity-name="PartyRoleNameDetail" key-field-name="partyId" description="${groupName}"> <entity-constraint name="roleTypeId" operator="equals" value="INTERNAL_ORGANIZATIO"/> </entity-options> <option key="null" description="${uiLabelMap.HumanResEmplPartyIdFromNotSpecified}"/> </drop-down> </field> <field name="fromDate" title="${uiLabelMap.WorkEffortEstimatedStartDate}"><date-time/></field> <field name="permanentAddress" title="${uiLabelMap.OrderAddress}" title-area-style="group-label"><display description=" " also-hidden="false"/></field> <field name="postalAddContactMechPurpTypeId"><hidden value="PRIMARY_LOCATION"/></field> <field name="address1" title="${uiLabelMap.CommonAddress1}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> <field name="address2" title="${uiLabelMap.CommonAddress2}"><text size="30" maxlength="60"/></field> <field name="city" title="${uiLabelMap.CommonCity}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field> <field name="stateProvinceGeoId" title="${uiLabelMap.CommonState}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> <drop-down allow-empty="true"> <entity-options entity-name="Geo" key-field-name="geoId" description="${geoName} - ${geoId}"> <entity-constraint name="geoTypeId" operator="in" value="STATE,PROVINCE"/> <entity-order-by field-name="geoName"/> </entity-options> </drop-down> </field> <field name="postalCode" title="${uiLabelMap.CommonZipPostalCode}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="10" maxlength="30"/></field> <field name="countryGeoId" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> <drop-down allow-empty="false" no-current-selected-key="${defaultCountryGeoId}"> <entity-options entity-name="Geo" key-field-name="geoId" description="${geoName} - ${geoId}"> <entity-constraint name="geoTypeId" value="COUNTRY"/> <entity-order-by field-name="geoName"/> </entity-options> </drop-down> </field> <field name="phoneTitle" title="${uiLabelMap.PartyPrimaryPhone}" title-area-style="group-label"><display/></field> <field name="countryCode" title="${uiLabelMap.CommonCountryCode}"><text size="4" maxlength="10"/></field> <field name="areaCode" title="${uiLabelMap.PartyAreaCode}"><text size="4" maxlength="10"/></field> <field name="contactNumber" title="${uiLabelMap.PartyPhoneNumber}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="15" maxlength="15"/></field> <field name="extension" title="${uiLabelMap.PartyContactExt}"><text size="6" maxlength="10"/></field> <field name="emailAddressTitle" title="${uiLabelMap.PartyEmailAddress}" title-area-style="group-label"><display/></field> <field name="emailAddress" title="${uiLabelMap.CommonEmail}"><text size="50" maxlength="60"/></field> <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="AddEmployeeSkills" type="single" target="createEmployeeSkill" default-map-name="partySkill"> <field name="partyId"><hidden/></field> <field name="skillTypeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> <drop-down> <entity-options description="${description}" entity-name="SkillType"> <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> <field name="yearsExperience"><text/></field> <field name="rating"><text/></field> <field name="skillLevel"><text/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListEmployeeSkills" type="list" list-name="listIt" use-row-submit="true" separate-columns="true" target="updateEmployeeSkill" paginate-target="findPartySkills" odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="PartySkill"> <condition-expr field-name="partyId" from-field="partyId"/> <order-by field-name="skillTypeId"/> </entity-condition> </actions> <auto-fields-service default-field-type="hidden" service-name="updatePartySkill"/> <field name="skillTypeId"> <display-entity entity-name="SkillType" description="${description}"/> </field> <field name="yearsExperience"><text/></field> <field name="rating"><text/></field> <field name="skillLevel"><text/></field> <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext"> <hyperlink target="deleteEmployeeSkill" description="${uiLabelMap.CommonDelete}" also-hidden="false"> <parameter param-name="skillTypeId"/> <parameter param-name="partyId"/> </hyperlink> </field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> </form> <form name="AddEmployeeQualification" type="single" target="createEmployeeQualification"> <auto-fields-service service-name="createPartyQual"/> <field name="partyId"><hidden/></field> <field name="partyQualTypeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> <drop-down allow-empty="true"> <entity-options description="${description}" key-field-name="partyQualTypeId" entity-name="PartyQualType"> <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> <field name="statusId"> <drop-down allow-empty="true"> <entity-options description="${description}" key-field-name="statusId" entity-name="StatusItem"> <entity-constraint name="statusTypeId" operator="equals" value="PARTY_INV_STATUS"/> <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> <field name="verifStatusId"> <drop-down allow-empty="true"> <entity-options description="${description}" key-field-name="statusId" entity-name="StatusItem"> <entity-constraint name="statusTypeId" operator="equals" value="PARTYQUAL_VERIFY"/> <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListEmployeeQualification" type="list" list-name="listIt" use-row-submit="true" separate-columns="true" target="updateEmployeeQualification" paginate-target="FindPartyQuals" odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="PartyQual"> <condition-expr field-name="partyId" from-field="partyId"/> <order-by field-name="fromDate"/> </entity-condition> </actions> <auto-fields-service service-name="updatePartyQual"/> <field name="partyId"><hidden/></field> <field name="partyQualTypeId"><display-entity entity-name="PartyQualType" description="${description}"/></field> <field name="fromDate"><display/></field> <field name="qualificationDesc"><text/></field> <field name="title"><text/></field> <field name="statusId"> <drop-down allow-empty="true"> <entity-options description="${description}" key-field-name="statusId" entity-name="StatusItem"> <entity-constraint name="statusTypeId" operator="equals" value="PARTY_INV_STATUS"/> <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> <field name="verifStatusId"> <drop-down allow-empty="true"> <entity-options description="${description}" key-field-name="statusId" entity-name="StatusItem"> <entity-constraint name="statusTypeId" operator="equals" value="PARTYQUAL_VERIFY"/> <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> <field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><hidden value="Y"/></field> <field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext"> <hyperlink target="deleteEmployeeQualification" also-hidden="false" description="${uiLabelMap.CommonDelete}"> <parameter param-name="partyId"/> <parameter param-name="partyQualTypeId"/> <parameter param-name="fromDate"/> </hyperlink> </field> <field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit/></field> </form> <form name="AddEmployeeTraining" type="single" target="createEmployeeTraining"> <field name="partyId"><hidden/></field> <field name="trainingClassTypeId" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"> <drop-down allow-empty="false"> <entity-options description="${description}" entity-name="TrainingClassType"> <entity-order-by field-name="description"/> </entity-options> </drop-down> </field> <field name="fromDate"><date-time type="timestamp"/></field> <field name="thruDate"><date-time type="timestamp"/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="AddEmplLeave" type="single" target="createEmplLeave"> <auto-fields-service service-name="updateEmplLeave" map-name="leaveApp"/> <field name="partyId"><hidden/></field> <field name="leaveTypeId" tooltip="${uiLabelMap.CommonRequired}"> <drop-down allow-empty="true"> <entity-options description="${description}" key-field-name="leaveTypeId" entity-name="EmplLeaveType"/> </drop-down> </field> <field name="emplLeaveReasonTypeId"> <drop-down allow-empty="true"> <entity-options description="${description}" key-field-name="emplLeaveReasonTypeId" entity-name="EmplLeaveReasonType"/> </drop-down> </field> <field name="fromDate" tooltip="${uiLabelMap.CommonRequired}"><date-time type="timestamp"></date-time></field> <field name="thruDate" tooltip="${uiLabelMap.CommonRequired}"><date-time type="timestamp"></date-time></field> <field name="leaveStatus"><hidden value="LEAVE_CREATED"/></field> <field name="approverPartyId" tooltip="${uiLabelMap.CommonRequired}"><lookup target-form-name="LookupPartyName"/></field> <field name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListEmplLeaves" type="list" list-name="listIt" separate-columns="true" target="updateEmplLeave" paginate-target="FindEmplLeaves" odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="EmplLeave"> <condition-expr field-name="partyId" from-field="partyId"/> <order-by field-name="fromDate"/> </entity-condition> </actions> <auto-fields-service service-name="updateEmplLeave"/> <field name="partyId"><hidden/></field> <field name="approverPartyId"><lookup target-form-name="LookupPartyName"/></field> <field name="leaveStatus"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field> <field name="emplLeaveReasonTypeId"><display/></field> <field name="leaveTypeId"><display-entity description="${description}" entity-name="EmplLeaveType"/></field> <field name="fromDate"></field> <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> </form> <form name="CurrentEmploymentData" default-map-name="employmentData" type="single"> <field name="company" entry-name="employment.partyIdFrom"> <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName} "> <sub-hyperlink target="/partymgr/control/viewprofile" description="[${employmentData.employment.partyIdFrom}]" target-type="inter-app"> <parameter param-name="partyId" from-field="employmentData.employment.partyIdFrom"/> </sub-hyperlink> </display-entity> </field> <field name="position" entry-name="emplPositionType.emplPositionTypeId"> <hyperlink target="emplPositionView" description="${employmentData.emplPositionType.description} [${employmentData.emplPosition.emplPositionId}]"> <parameter param-name="emplPositionId" from-field="employmentData.emplPosition.emplPositionId"/> </hyperlink> </field> <field name="salary" entry-name="emplPositionRateAmount.rateAmount"> <display type="currency" currency="${employmentData.emplPositionRateAmount.rateCurrencyUomId}"/> </field> </form> <form name="PayrollHistoryList" type="list" list-name="payroll" extends="ListInvoices" extends-resource="component://accounting/widget/InvoiceForms.xml" paginate-target="PayrollHistory"> <field name="invoiceId" widget-style="buttontext" sort-field="true"> <hyperlink description="${invoiceId}" target="/accounting/control/invoiceOverview" target-type="inter-app"> <parameter param-name="invoiceId"/> </hyperlink> </field> </form> </forms> |