Uploaded image for project: 'CiviHR'
  1. CiviHR
  2. HR-183

Dropdown list for "Department" field

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: HR-1.1
    • Fix Version/s: HR-1.1
    • Component/s: Jobs
    • Labels:
      None

      Description

      UI changes :
      =========

      1. Change "Department" field from textbox to drop -down list of Option Values :

      • Finance
      • HR
      • IT
      • Fundraising
      • Marketing

      that should be reflected in Jobs tab in General screen and Create New/Edit Roles screen.

      Implementation :
      =============
      1. Create a new option group for department with option values

      • Finance
      • HR
      • IT
      • Fundraising
      • Marketing

      Add the above option values to department group in hrjob/xml/option_group_install.xml

      Upgrade :
      =======

      We need to add the new option group during upgrade. The upgrade steps need to be independent of the installation steps e.g.

      Copy the XML code for the new OptionGroups/OptionGroup/OptionValues/OptionValue into a new XML file, "xml/4402_departments.xml"
      In CRM_HRJob_Upgrade, add a function "upgrade_4402" which calls $this->executeCustomDataFile('xml/4402_departments.xml');

      -WAS---
      Please change the "Department" field to a dropdown list, with the following initial values included: Finance, HR, IT, Fund Raising, Marketing

        Attachments

          Activity

            People

            • Assignee:
              vivek.arora Vivek Arora
              Reporter:
              andrew.tombs@zingit.org.uk Andrew Tombs
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h