Last active
December 21, 2015 19:20
-
-
Save jamescook/6353930 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/assets/apps/web/appointment_booking/controllers/appointment_chooser.js b/app/assets/apps/web/appointment_booking/controllers/appointment_chooser.js | |
index 15027c9..32db08c 100644 | |
--- a/app/assets/apps/web/appointment_booking/controllers/appointment_chooser.js | |
+++ b/app/assets/apps/web/appointment_booking/controllers/appointment_chooser.js | |
@@ -335,6 +335,7 @@ | |
apptTime.setSeconds(secondsOffset); | |
this.appointments.push({ | |
+ remoteAppointmentSlotId: 42, | |
dateTime: formatDate(apptTime, "yyyy-mm-dd hh:MM tt"), | |
time: formatDate(apptTime, "hh:MM tt"), | |
discounts: discounts, | |
diff --git a/app/assets/apps/web/appointment_booking/controllers/booking.js b/app/assets/apps/web/appointment_booking/controllers/booking.js | |
index cd6a6cf..fae460c 100644 | |
--- a/app/assets/apps/web/appointment_booking/controllers/booking.js | |
+++ b/app/assets/apps/web/appointment_booking/controllers/booking.js | |
@@ -1750,7 +1750,8 @@ | |
"appointment[appointment_reason_id]": data.appointment_reason_id, | |
"appointment[insurance_carrier_id]": data.insurance_carrier_id, | |
"appointment[scheduled_at]": data.scheduled_at, | |
- "appointment[date]": data.date | |
+ "appointment[date]": data.date, | |
+ "appointment[remote_appointment_slot_id]": 43 | |
}; | |
var eligibility_status_check_key = this.Models.get("Schedule").toJSON(0).options.eligibility_status_check_key; | |
var appointment_id; | |
@@ -1843,7 +1844,8 @@ | |
"appointment[appointment_reason_id]": data.appointment_reason_id, | |
"appointment[insurance_carrier_id]": data.insurance_carrier_id, | |
"appointment[scheduled_at]": data.scheduled_at === "" ? data.date : data.scheduled_at, | |
- "appointment[date]": data.date | |
+ "appointment[date]": data.date, | |
+ "appointment[remote_appointment_slot_id]": 42 | |
// "appointment[office_location_id]": editAppointmentJSON.office_location_id, //MAY NOT BE NEEDED. CONFIRM WITH DAVID KOVSKY. | |
// "appointment[source]": "upcoming" | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment