Skip to content

Commit

Permalink
[email protected]'s change on OpenFn.org
Browse files Browse the repository at this point in the history
  • Loading branch information
ritazagoni committed Nov 28, 2024
1 parent 1cb6188 commit 7e6e49b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fetchContacts.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn(state => {
`SELECT Name, Patient_Name__c, Account.Status__c, Account.Country__c, Account.Name, Guardian_1_First_Name__c, Pronoun_he_she__c, Pronoun_him_her__c, Pronoun_his_her__c, Clinic_Country__c, Guardian_1_Phone_Number_1__c, Guardian_1_Phone_Landline__c, CommCare_Case_ID__c,
SMS_Treatment_Start_Date__c, Next_Visit_Date_New__c, Registration_Date__c, Date_of_First_Visit__c, Last_Visit_Date__c, Original_Next_Visit_Date__c, Last_Modified_Date_CommCare__c,
SMS_Opt_In_II__c, SMS_Opt_In__c, Send_SMS__c, SMS_Error__c,
SMS_Treatment__c, SMS_Original_Treatment__c, Treatment_Completed__c, Reason_Stopped_Treatment__c, Brace_Problems_Type__c, SMS_Language__c, SMS_Timezone__c, Date_of_SMS_Registration__c, Date_Completed_Treatment__c
SMS_Treatment__c, SMS_Original_Treatment__c, Treatment_Completed__c, Reason_Stopped_Treatment__c, Brace_Problems_Type__c, SMS_Language__c, SMS_Timezone__c, Date_of_SMS_Registration__c, Date_Completed_Treatment__c, Cancel_SMS_Sending__c
FROM Contact
WHERE Last_Modified_Date_CommCare__c =
${setDays(new Date(), -1)}
Expand Down Expand Up @@ -67,6 +67,7 @@ fn(state => {
smsOptIn: record.SMS_Opt_In__c,
smsOptInII: record.SMS_Opt_In_II__c,
sms_error: record.SMS_Error__c,
cancel_sms: record.Cancel_SMS_Sending__c,

treatment: record.SMS_Treatment__c,
originalTreatment: record.SMS_Original_Treatment__c,
Expand Down

0 comments on commit 7e6e49b

Please sign in to comment.