HR-52 Add checkbox, "Is Visa Required", to "Immigration" tab

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: HR-1.0
    • Fix Version/s: HR-1.0
    • Component/s: None
    • Labels:
      None

      Description

      Add another reserved custom-data group, "Immigration (Summary)", with field "Is Visa Required." Use AJAX API to provide in-place editing of the checkbox within the profile.

        Attachments

          Activity

          [HR-52] Add checkbox, "Is Visa Required", to "Immigration" tab
          Tim Otten added a comment -

          I don't know if you figured out how to do this yet, but to put the checkbox in the "Immigration" tab, one could use CRM-12865 ( https://github.com/civicrm/civicrm-core/pull/1144/ ):

          function mymodule_civicrm_buildProfile($name) {
          if ($name == 'hrvisa_tab')

          { // see http://wiki.civicrm.org/confluence/display/CRMDOC43/Region+Reference CRM_Core_Region::instance('profile-edit-hrvisa_tab')->add(array( 'markup' => '<p>Is Visa Required <input type=checkbox .../></p>' )); }

          }

          Ravish Nair added a comment -

            People

            • Assignee:
              Ravish Nair
              Reporter:
              Tim Otten

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours, 30 minutes
                7h 30m