Skip to content

Commit

Permalink
Adding more notes
Browse files Browse the repository at this point in the history
  • Loading branch information
swirtSJW committed Jan 19, 2024
1 parent c05d637 commit 2af44b0
Showing 1 changed file with 20 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function va_gov_db_post_update_move_service_location_to_paragraphs(&$sandbox) {
_migrate_appointment_into_text();
_migrate_appointment_phone_number();
_migrate_contact_info();
_migrate_hours();
_migrate_schedule_online();
_migrate_walkins_accepted();

Expand Down Expand Up @@ -91,22 +92,38 @@ function va_gov_db_post_update_move_service_location_to_paragraphs(&$sandbox) {
}

function _migrate_address(){
// Moving from:
// Moving to: service_location -> field_service_location_address

}

function _migrate_appointment_into_text(){
// Moving from:
// Moving to:

// Needs a bifurcation for VAMC vs VBA.
}

function _migrate_appointment_phone_number() {

// Moving from:
// Moving to: field_phone (paragraphs)
// and: field_use_main_facility_phone (boolean)
}

function _migrate_contact_info() {
// Moving from:
// Moving to: service_location ->field_email_contacts.
}

function _migrate_hours() {
// Moving from:
// Moving to: service_location ->field_office_hours (Office hours field).
// and: service_location ->field_hours (list).
}

function _migrate_schedule_online($option) {
// Moving from:
// Moving to:
$schedule_online_map = [
// schedule online => service location schedule online
'yes' => 'yes',
Expand All @@ -119,6 +136,8 @@ function _migrate_schedule_online($option) {
}

function _migrate_walkins_accepted($option) {
// Moving from:
// Moving to:
$walkins_accepted_map = [
// walkins accepted => office visits
'yes' => 'yes with or without an appointment',
Expand Down

0 comments on commit 2af44b0

Please sign in to comment.