From deb953d7dd5edaf2f8b86e0b4bb8f4d2cc0508a9 Mon Sep 17 00:00:00 2001 From: Christian Burk Date: Fri, 26 Apr 2024 11:33:50 -0500 Subject: [PATCH] VACMS-17843: change visit options virtual support (#17905) * VACMS-17516 and 17518: Migrating certain Service location values to null (#17703) * Bump drupal/raven from 5.0.8 to 5.0.9 (#17615) Bumps drupal/raven from 5.0.8 to 5.0.9. --- updated-dependencies: - dependency-name: drupal/raven dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> * Bump knplabs/github-api from 3.14.0 to 3.14.1 (#17628) Bumps [knplabs/github-api](https://github.com/KnpLabs/php-github-api) from 3.14.0 to 3.14.1. - [Release notes](https://github.com/KnpLabs/php-github-api/releases) - [Changelog](https://github.com/KnpLabs/php-github-api/blob/master/CHANGELOG-3.X.md) - [Commits](https://github.com/KnpLabs/php-github-api/compare/v3.14.0...v3.14.1) --- updated-dependencies: - dependency-name: knplabs/github-api dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> * Bump va-gov/content-build from 0.0.3469 to 0.0.3470 (#17690) Bumps [va-gov/content-build](https://github.com/department-of-veterans-affairs/content-build) from 0.0.3469 to 0.0.3470. - [Release notes](https://github.com/department-of-veterans-affairs/content-build/releases) - [Commits](https://github.com/department-of-veterans-affairs/content-build/compare/v0.0.3469...v0.0.3470) --- updated-dependencies: - dependency-name: va-gov/content-build dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump drupal/entity_clone from 2.0.0-beta4 to 2.0.0-beta5 (#17670) Bumps drupal/entity_clone from 2.0.0-beta4 to 2.0.0-beta5. --- updated-dependencies: - dependency-name: drupal/entity_clone dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> * Bump phpstan/phpstan from 1.10.65 to 1.10.66 (#17678) Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.65 to 1.10.66. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md) - [Commits](https://github.com/phpstan/phpstan/compare/1.10.65...1.10.66) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Amanda Nantais-Austin * Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 (#17617) Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.6.0 to 2.0.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/c9c4182bf1b97f5224aee3906fd373f6b61b4526...0fb21704c18a42ce5aa8d720ea4b912f5e6babef) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Amanda Nantais-Austin Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> * Bump simplesamlphp/simplesamlphp from 2.1.3 to 2.2.1 (#17577) Bumps [simplesamlphp/simplesamlphp](https://github.com/simplesamlphp/simplesamlphp) from 2.1.3 to 2.2.1. - [Release notes](https://github.com/simplesamlphp/simplesamlphp/releases) - [Changelog](https://github.com/simplesamlphp/simplesamlphp/blob/v2.2.1/docs/simplesamlphp-changelog.md) - [Commits](https://github.com/simplesamlphp/simplesamlphp/compare/v2.1.3...v2.2.1) --- updated-dependencies: - dependency-name: simplesamlphp/simplesamlphp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> * VACMS-17559: Adds final steps to prevent Cypress failures (#17692) * Bump va-gov/content-build from 0.0.3470 to 0.0.3471 (#17698) Bumps [va-gov/content-build](https://github.com/department-of-veterans-affairs/content-build) from 0.0.3470 to 0.0.3471. - [Release notes](https://github.com/department-of-veterans-affairs/content-build/releases) - [Commits](https://github.com/department-of-veterans-affairs/content-build/compare/v0.0.3470...v0.0.3471) --- updated-dependencies: - dependency-name: va-gov/content-build dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * VACMS-14704: Adding service location fields (#15599) * VACMS:14704: Adding service modalities * VACMS-14704: Adds vocabulary * VACMS-14704: Adds free-text fields. * VACMS-14704: Update langage around service delivery * VACMS-14704: Updates taxonomy label and description * VACMS-15649: Removes free text fields from service location (#15676) * VACMS-16348: Add fields to service location (#17017) * VACMS-14704: Adding service location fields (#15599) * VACMS:14704: Adding service modalities * VACMS-14704: Adds vocabulary * VACMS-14704: Adds free-text fields. * VACMS-14704: Update langage around service delivery * VACMS-14704: Updates taxonomy label and description * VACMS-16348: Removes unnecessary and undesired fields * VACMS-16348: Adds service options, office hours and virtual support * VACMS-16348: Adds appointment fields * VACMS-16348: Adds online scheduling field * VACMS-16348: Adds a necessary question mark * VACMS-16348: Updates description for office visits * VACMS-16451: Audit view service location (#17054) * VACMS-16451: Adds service location audit * VACMS-16451: Fixes export and adds filters * VACMS-16451: Reapplied content moderation state filter, removed published * VACMS-16451: Adds online scheduling fields * VACMS-16451: Changes the weight of the view in the menu * VACMS-16451: Adds table caption and link in download * Update config/sync/views.view.service_locations_audit.yml Co-authored-by: Steve Wirt --------- Co-authored-by: Steve Wirt * VACMS-15559 Migration of service location data to paragraphs (#16911) * Add post_update hook to move facility service location data * Add placeholder methods and mapping * Adding more notes * VACMS-15559 FIXUP refactor into class. * VACMS-15559 Refactory functions to scipt library. * Add new map to value function to script-library. * VACMS-15559 Remove conflation of new revision and new node. * VACMS-15559 Add all migrated fields to migration. * VACMS-15559 Programatically shut off queue checks and processing. * VACMS-15559 Move deploy function to script. * VACMS-15559 Update audit, make sortable, add editor updated. * VACMS-15559 Cleaned up function names and some comments. * VACMS-15559 Fix incorrect office_visits parameter. * VACMS-15559 Make service location audit headers sticky. * VACMS-15559 Fix forward revision. * VACMS-15559 Fix the timing on grabing the lastes revision. * VACMS-15559 Fix recent changes View to sort by revision id, not time. * VACMS-15559 Carry forward draft revision log message. * VACMS-16348: Service location ux enhancements (#17048) * VACMS-14704: Adding service location fields (#15599) * VACMS:14704: Adding service modalities * VACMS-14704: Adds vocabulary * VACMS-14704: Adds free-text fields. * VACMS-14704: Update langage around service delivery * VACMS-14704: Updates taxonomy label and description * VACMS-16348: Removes unnecessary and undesired fields * VACMS-16348: Shows Custom text when Customize text is selected * VACMS-16348: Trying to get the default text * VACMS-16348: Adds default text to Service Locations for VAMC facility health and Service region * VACMS-16348: Removes VAMC Facility Health Service-level appointment code * VACMS-16348: Adds VBA Facility service appt lead-in default text * VACMS-16348: Adds VBA FAcility service appt default text UX * VACMS-16348: DRYing off this code for the different content types and fields * VACMS-16348: Adds nonclinical service default text field * VACMS-16348: Restores the errant revision_log and adds right field for vba_facility_service * VACMS-16348: Moves work out of backend and vamc and into facilities * VACMS-16348: Trying to get paragraph validation to work * VACMS-16348: Adds required state to custom text * VACMS-16348: Removes text validation, as not working, for now * VACMS-16348: Removing commented out code * VACMS-17142: Update service content types post-Service Location migration (#17225) * VACMS-17142: Update cypress test to use phone number in service locations * VACMS-17142: Hide VAMC Facility Health Service fields that are no longer in use. * VACMS-17142: Have the view_display mirror the form_display. * VACMS-17142: Add revision_log back. * VACMS-17142: Update service location paragraph view display to mirror form display. * VACMS-17241 Update service location migration script to keep state. (#17249) * VACMS-17114: Service location fields lighthouse push (#17213) * VACMS-17114: Adds appointment text * VACMS-17114: Adds walk-ins and online scheduling refactored * VACMS-17114: Unfinished work on phones * VACMS-17114: Adds online scheduling available (untested) * VACMS-17114: Tested one row successfully * VACMS-17144: Refactor to remove unnecessary methods, tested row 2 successfully * VACMS-17114: Updates how Office Visits are captued * VACMS-17114: Refactors office visits logic to be more ... logical * VACMS-17114: Accounts for false then true then false for online scheduling * VACMS-17114: Changes online scheduling to string * VACMS-17114: Changes online scheduling to check for empty * VACMS-17114: Getting logic of phone type to work * VACMS-17114: Fixes the logic of the appointment lead in text * VACMS-17114: Test of using method * VACMS-17114: Adds logic for getting ALL the phone numbers * VACMS-17114: Getting all numbers. Not passing main more than once. But empty array. * VACMS-17114: Main phones won't duplicate. Others are shwowing. * VACMS-17114: Moves service-level work to own function * VACMS-17114: Changes the way phones are added to stop queue processing from throwing WSOD * VACMS-17114: Refactors getting phones for service appointment * VACMS-17114: adding null coalesce and main rebase (#17496) * Bump va-gov/content-build from 0.0.3450 to 0.0.3451 (#17471) Bumps [va-gov/content-build](https://github.com/department-of-veterans-affairs/content-build) from 0.0.3450 to 0.0.3451. - [Release notes](https://github.com/department-of-veterans-affairs/content-build/releases) - [Commits](https://github.com/department-of-veterans-affairs/content-build/compare/v0.0.3450...v0.0.3451) --- updated-dependencies: - dependency-name: va-gov/content-build dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump drupal/hook_event_dispatcher from 4.0.0-rc1 to 4.0.0 (#17428) * Bump drupal/hook_event_dispatcher from 4.0.0-rc1 to 4.0.0 Bumps drupal/hook_event_dispatcher from 4.0.0-rc1 to 4.0.0. --- updated-dependencies: - dependency-name: drupal/hook_event_dispatcher dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * removed unnecessary patch * updated composer.lock * updated composer.lock * updated composer.lock --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> * Bump aws-actions/configure-aws-credentials from 4.0.1 to 4.0.2 (#17273) Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 4.0.1 to 4.0.2. - [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases) - [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/010d0da01d0b5a38af31e9c3470dbfdabdecca3a...e3dd6a429d7300a6a4c196c26e071d42e0343502) --- updated-dependencies: - dependency-name: aws-actions/configure-aws-credentials dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> * Bump phpstan/phpstan from 1.10.59 to 1.10.60 (#17472) Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.10.59 to 1.10.60. - [Release notes](https://github.com/phpstan/phpstan/releases) - [Changelog](https://github.com/phpstan/phpstan/blob/1.11.x/CHANGELOG.md) - [Commits](https://github.com/phpstan/phpstan/compare/1.10.59...1.10.60) --- updated-dependencies: - dependency-name: phpstan/phpstan dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/setup-node from 4.0.1 to 4.0.2 (#17205) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.1 to 4.0.2. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8...60edb5dd545a775178f52524783378180af0d1f8) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> * VACMS-17323: Updates module with fixes for button (#17451) * VACMS-17323: Updates module with fixes for button * VACMS-17325: Updates the default displays of content types and paragraphs * VACMS-17325: Adds other displays settings * Adding in VAMC Top Task pages (#17470) * Billing and Insurance * Update views.view.non_clinical_services.yml * Update core.entity_view_display.node.vamc_system_billing_insurance.search_index.yml * Update core.entity_view_display.node.vamc_system_billing_insurance.default.yml * VACMS-17325: Updates service location hours display --------- Co-authored-by: Dave Pickett <51967950+davidmpickett@users.noreply.github.com> * VACMS-14083: Upgrades address module to version 2.0 (#17393) * VACMS-14083: Upgrade address module with dependencies via composer (#17297) * VACMS-14083: Upgrade address module with dependencies via composer * VACMS-14083: Updates composer.lock * VACMS-17191: Back end changes for address module upgrade (#17392) * VACMS-17191: Hide address line 3 for all address fields. * VACMS-17191: Hide address line 3 for second NCA address field. * VACMS-14083: Update composer.lock * VACMS-14083: Update composer.lock --------- Co-authored-by: Christian Burk * Revert hook event dispatcher update (#17484) * Revert "Bump drupal/hook_event_dispatcher from 4.0.0-rc1 to 4.0.0 (#17428)" This reverts commit 4d1cb3a8965c064bc30d53282728ab6edec5e945. * updated composer.lock * updated composer files * Bump va-gov/content-build from 0.0.3451 to 0.0.3452 (#17492) Bumps [va-gov/content-build](https://github.com/department-of-veterans-affairs/content-build) from 0.0.3451 to 0.0.3452. - [Release notes](https://github.com/department-of-veterans-affairs/content-build/releases) - [Commits](https://github.com/department-of-veterans-affairs/content-build/compare/v0.0.3451...v0.0.3452) --- updated-dependencies: - dependency-name: va-gov/content-build dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * VACMS-16348: Service location ux enhancements (#17048) * VACMS-14704: Adding service location fields (#15599) * VACMS:14704: Adding service modalities * VACMS-14704: Adds vocabulary * VACMS-14704: Adds free-text fields. * VACMS-14704: Update langage around service delivery * VACMS-14704: Updates taxonomy label and description * VACMS-16348: Removes unnecessary and undesired fields * VACMS-16348: Shows Custom text when Customize text is selected * VACMS-16348: Trying to get the default text * VACMS-16348: Adds default text to Service Locations for VAMC facility health and Service region * VACMS-16348: Removes VAMC Facility Health Service-level appointment code * VACMS-16348: Adds VBA Facility service appt lead-in default text * VACMS-16348: Adds VBA FAcility service appt default text UX * VACMS-16348: DRYing off this code for the different content types and fields * VACMS-16348: Adds nonclinical service default text field * VACMS-16348: Restores the errant revision_log and adds right field for vba_facility_service * VACMS-16348: Moves work out of backend and vamc and into facilities * VACMS-16348: Trying to get paragraph validation to work * VACMS-16348: Adds required state to custom text * VACMS-16348: Removes text validation, as not working, for now * VACMS-16348: Removing commented out code * VACMS-17114: Adds empty string to prevent nulls --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> Co-authored-by: Dave Pickett <51967950+davidmpickett@users.noreply.github.com> Co-authored-by: Michael Kinnunen * Bump drupal/hook_event_dispatcher from 4.0.0-rc1 to 4.0.0 (#17428) * Bump drupal/hook_event_dispatcher from 4.0.0-rc1 to 4.0.0 Bumps drupal/hook_event_dispatcher from 4.0.0-rc1 to 4.0.0. --- updated-dependencies: - dependency-name: drupal/hook_event_dispatcher dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * removed unnecessary patch * updated composer.lock * updated composer.lock * updated composer.lock --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> * Revert hook event dispatcher update (#17484) * Revert "Bump drupal/hook_event_dispatcher from 4.0.0-rc1 to 4.0.0 (#17428)" This reverts commit 4d1cb3a8965c064bc30d53282728ab6edec5e945. * updated composer.lock * updated composer files * VACMS-17518: Adds mapping to NULL * VACMS-17518: Adds mapping to NULL for walk-ins * VACMS-17518: Updates to prevent a warning and to fix the '0' options --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> Co-authored-by: Amanda Nantais-Austin Co-authored-by: Steve Wirt Co-authored-by: Michael Kinnunen Co-authored-by: Dave Pickett <51967950+davidmpickett@users.noreply.github.com> * Bump symfony/console from 6.4.4 to 6.4.6 (#17728) Bumps [symfony/console](https://github.com/symfony/console) from 6.4.4 to 6.4.6. - [Release notes](https://github.com/symfony/console/releases) - [Changelog](https://github.com/symfony/console/blob/7.0/CHANGELOG.md) - [Commits](https://github.com/symfony/console/compare/v6.4.4...v6.4.6) --- updated-dependencies: - dependency-name: symfony/console dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> * Bump symfony/routing from 6.4.5 to 6.4.6 (#17726) Bumps [symfony/routing](https://github.com/symfony/routing) from 6.4.5 to 6.4.6. - [Release notes](https://github.com/symfony/routing/releases) - [Changelog](https://github.com/symfony/routing/blob/7.0/CHANGELOG.md) - [Commits](https://github.com/symfony/routing/compare/v6.4.5...v6.4.6) --- updated-dependencies: - dependency-name: symfony/routing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> * VACMS-17843: Updates visit and virtual support choices * Update composer.lock --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Edmund Dunn <109987005+edmund-dunn@users.noreply.github.com> Co-authored-by: Amanda Nantais-Austin Co-authored-by: Steve Wirt Co-authored-by: Michael Kinnunen Co-authored-by: Dave Pickett <51967950+davidmpickett@users.noreply.github.com> --- .../sync/field.storage.paragraph.field_office_visits.yml | 6 +++--- .../field.storage.paragraph.field_virtual_support.yml | 8 ++++---- .../src/Service/PostFacilityServiceVamc.php | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config/sync/field.storage.paragraph.field_office_visits.yml b/config/sync/field.storage.paragraph.field_office_visits.yml index 28c9646201..eef6c7f6a7 100644 --- a/config/sync/field.storage.paragraph.field_office_visits.yml +++ b/config/sync/field.storage.paragraph.field_office_visits.yml @@ -18,8 +18,8 @@ settings: value: yes_appointment_only label: 'Yes, by appointment only' - - value: yes_first_come_first_served_basis - label: 'Yes, on a first-come, first-served basis' + value: yes_walk_in_visits_only + label: 'Yes, walk-in visits only' - value: yes_with_or_without_appointment label: 'Yes, with or without an appointment' @@ -30,4 +30,4 @@ cardinality: 1 translatable: true indexes: { } persist_with_no_fields: false -custom_storage: false +custom_storage: false \ No newline at end of file diff --git a/config/sync/field.storage.paragraph.field_virtual_support.yml b/config/sync/field.storage.paragraph.field_virtual_support.yml index bc694e0ff3..6b4f24874b 100644 --- a/config/sync/field.storage.paragraph.field_virtual_support.yml +++ b/config/sync/field.storage.paragraph.field_virtual_support.yml @@ -18,11 +18,11 @@ settings: value: yes_appointment_only label: 'Yes, by appointment only' - - value: yes_first_come_first_served_basis - label: 'Yes, on a first-come, first-served basis' + value: yes_veterans_can_call + label: 'Yes, Veterans can call at their convenience' - - value: yes_with_or_without_appointment - label: 'Yes, with or without an appointment' + value: virtual_visits_may_be_available + label: 'Virtual visits may be available' allowed_values_function: '' module: options locked: false diff --git a/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityServiceVamc.php b/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityServiceVamc.php index 3034c72cdd..402deecbe6 100644 --- a/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityServiceVamc.php +++ b/docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityServiceVamc.php @@ -380,7 +380,7 @@ protected function chooseBestOfficeVisitOption(string $office_visits) { $text = $office_visits; break; - case 'yes_first_come_first_served_basis': + case 'yes_walk_in_visits_only': case 'yes_appointment_only': $text = ($this->officeVisits === 'yes_with_or_without_appointment') ? $this->officeVisits @@ -389,7 +389,7 @@ protected function chooseBestOfficeVisitOption(string $office_visits) { case 'no': $text = ($this->officeVisits === 'yes_with_or_without_appointment' - || $this->officeVisits === 'yes_first_come_first_served_basis' + || $this->officeVisits === 'yes_walk_in_visits_only' || $this->officeVisits === 'yes_appointment_only') ? $this->officeVisits : $office_visits;