diff --git a/force-app/main/default/classes/AlertBannerController.cls b/force-app/main/default/classes/AlertBannerController.cls index f906f9f5..e8426c07 100644 --- a/force-app/main/default/classes/AlertBannerController.cls +++ b/force-app/main/default/classes/AlertBannerController.cls @@ -28,7 +28,7 @@ public with sharing class AlertBannerController { if(Schema.SObjectType.animalshelters__Animal_Alert__c.isAccessible() && Schema.SObjectType.animalshelters__Animal_Alert__c.fields.animalshelters__Alert_Message__c.isAccessible() && Schema.SObjectType.animalshelters__Animal_Alert__c.fields.animalshelters__Start_Date_Time__c.isAccessible() && Schema.SObjectType.animalshelters__Animal_Alert__c.fields.animalshelters__End_Date_Time__c.isAccessible()){ - List AlertList = [SELECT Id, animalshelters__Alert_Message__c,animalshelters__Start_Date_Time__c FROM animalshelters__Animal_Alert__c WHERE animalshelters__Animal__c = :parentId AND animalshelters__Start_Date_Time__c <= TODAY AND (animalshelters__End_Date_Time__c >= TODAY OR animalshelters__End_Date_Time__c = NULL) WITH SECURITY_ENFORCED LIMIT 20]; + List AlertList = [SELECT Id, animalshelters__Alert_Message__c,animalshelters__Start_Date_Time__c,animalshelters__End_Date_Time__c,animalshelters__Severity_Level__c,animalshelters__Type__c FROM animalshelters__Animal_Alert__c WHERE animalshelters__Animal__c = :parentId AND animalshelters__Start_Date_Time__c <= TODAY AND (animalshelters__End_Date_Time__c >= TODAY OR animalshelters__End_Date_Time__c = NULL) WITH SECURITY_ENFORCED LIMIT 20]; return AlertList; } diff --git a/force-app/main/default/classes/AnimalBadgeController.cls b/force-app/main/default/classes/AnimalBadgeController.cls index e2b687a0..107a4895 100644 --- a/force-app/main/default/classes/AnimalBadgeController.cls +++ b/force-app/main/default/classes/AnimalBadgeController.cls @@ -10,7 +10,7 @@ **/ public with sharing class AnimalBadgeController { - @AuraEnabled(cacheable=true) + @AuraEnabled(Cacheable=true) public static Map getRelatedBadges(Id animalId) { Map badges = new Map{ 'Alert' => false, @@ -22,11 +22,11 @@ public with sharing class AnimalBadgeController { }; // Check for Alerts with no end date - if(Schema.sObjectType.animalshelters__Animal_Alert__c.isAccessible() && Schema.sObjectType.animalshelters__Animal_Alert__c.fields.Animalshelters__End_Date_Time__c.isAccessible()) { + if(Schema.SObjectType.animalshelters__Animal_Alert__c.isAccessible() && Schema.SObjectType.animalshelters__Animal_Alert__c.fields.Animalshelters__End_Date_Time__c.isAccessible()) { List alerts = [SELECT Id FROM animalshelters__Animal_Alert__c WHERE animalshelters__Animal__c = :animalId - AND animalshelters__End_Date_Time__c = null + AND animalshelters__End_Date_Time__c = NULL WITH SECURITY_ENFORCED]; // System.debug(alerts); if(!alerts.isEmpty()) { @@ -34,12 +34,12 @@ public with sharing class AnimalBadgeController { } } - // Check for Condiitons that have no end date - if(Schema.sObjectType.animalshelters__Condition__c.isAccessible() && Schema.sObjectType.animalshelters__Condition__c.fields.Animalshelters__End_Date_Time__c.isAccessible()) { + // Check for Conditions that have no end date + if(Schema.SObjectType.animalshelters__Condition__c.isAccessible() && Schema.SObjectType.animalshelters__Condition__c.fields.Animalshelters__End_Date_Time__c.isAccessible()) { List conditions = [SELECT Id FROM animalshelters__Condition__c WHERE animalshelters__Animal__c = :animalId - AND animalshelters__End_Date_Time__c = null + AND animalshelters__End_Date_Time__c = NULL WITH SECURITY_ENFORCED]; // System.debug(conditions); if(!conditions.isEmpty()) { @@ -48,11 +48,11 @@ public with sharing class AnimalBadgeController { } // Check for Action Records and RecordTypes - if(Schema.sObjectType.animalshelters__Animal_Action__c.isAccessible() && Schema.sObjectType.animalshelters__Animal_Action__c.fields.animalshelters__Treatment_Type__c.isAccessible() && Schema.sObjectType.animalshelters__Animal_Action__c.fields.animalshelters__Action_Completed__c.isAccessible()) { + if(Schema.SObjectType.animalshelters__Animal_Action__c.isAccessible() && Schema.SObjectType.animalshelters__Animal_Action__c.fields.animalshelters__Treatment_Type__c.isAccessible() && Schema.SObjectType.animalshelters__Animal_Action__c.fields.animalshelters__Action_Completed__c.isAccessible()) { List actions = [SELECT Id, RecordType.Name, animalshelters__Treatment_Type__c FROM animalshelters__Animal_Action__c WHERE animalshelters__Animal__c = :animalId - AND animalshelters__Action_Completed__c = false + AND animalshelters__Action_Completed__c = FALSE WITH SECURITY_ENFORCED]; // System.debug(actions); for(animalshelters__Animal_Action__c action : actions) { diff --git a/force-app/main/default/classes/AnimalShelterGetCustomSettings.cls b/force-app/main/default/classes/AnimalShelterGetCustomSettings.cls index aceb72bf..da9c130c 100644 --- a/force-app/main/default/classes/AnimalShelterGetCustomSettings.cls +++ b/force-app/main/default/classes/AnimalShelterGetCustomSettings.cls @@ -49,4 +49,4 @@ public with sharing class AnimalShelterGetCustomSettings { throw new AuraHandledException('Error creating default settings: ' + errMsg); } } -} +} \ No newline at end of file diff --git a/force-app/main/default/classes/LocationController.cls b/force-app/main/default/classes/LocationController.cls index a893b20d..ffd78fcb 100644 --- a/force-app/main/default/classes/LocationController.cls +++ b/force-app/main/default/classes/LocationController.cls @@ -77,4 +77,4 @@ public with sharing class LocationController { @AuraEnabled public String Longitude{get;set;} } -} +} \ No newline at end of file diff --git a/force-app/main/default/cspTrustedSites/chipndoodle.cspTrustedSite-meta.xml b/force-app/main/default/cspTrustedSites/chipndoodle.cspTrustedSite-meta.xml index 8da0c106..43d82a83 100644 --- a/force-app/main/default/cspTrustedSites/chipndoodle.cspTrustedSite-meta.xml +++ b/force-app/main/default/cspTrustedSites/chipndoodle.cspTrustedSite-meta.xml @@ -1,7 +1,5 @@ - false - false All https://api.chipndoodle.com true diff --git a/force-app/main/default/flexipages/Shelter_UtilityBar.flexipage-meta.xml b/force-app/main/default/flexipages/Shelter_UtilityBar.flexipage-meta.xml index 59c40b40..7de9fc3a 100644 --- a/force-app/main/default/flexipages/Shelter_UtilityBar.flexipage-meta.xml +++ b/force-app/main/default/flexipages/Shelter_UtilityBar.flexipage-meta.xml @@ -20,7 +20,7 @@ entityName - animalshelters__Animal__c + Animal__c filterName diff --git a/force-app/main/default/flows/Adopter_Profile.flow-meta.xml b/force-app/main/default/flows/Adopter_Profile.flow-meta.xml index 58cc3556..f0510396 100644 --- a/force-app/main/default/flows/Adopter_Profile.flow-meta.xml +++ b/force-app/main/default/flows/Adopter_Profile.flow-meta.xml @@ -31,7 +31,7 @@ Call_Auto_match_Subflow - AND( {!$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Enable_Auto_Match__c}=TRUE, {!$Record.Active__c}=TRUE, ISPICKVAL({!$Record.Profile_Approval_Status__c},'Approved')) + AND( {!$Setup.Animal_Shelter_Settings__c.Enable_Auto_Match__c}=TRUE, {!$Record.Active__c}=TRUE, ISPICKVAL({!$Record.Profile_Approval_Status__c},'Approved')) Adopter_Profile__c Update RecordAfterSave diff --git a/force-app/main/default/flows/Adopter_Profile_Create_new_Adopter_Profile.flow-meta.xml b/force-app/main/default/flows/Adopter_Profile_Create_new_Adopter_Profile.flow-meta.xml index a228f397..07185b27 100644 --- a/force-app/main/default/flows/Adopter_Profile_Create_new_Adopter_Profile.flow-meta.xml +++ b/force-app/main/default/flows/Adopter_Profile_Create_new_Adopter_Profile.flow-meta.xml @@ -821,7 +821,6 @@ String Local Vet Details DropdownBox - UseStoredValues false and diff --git a/force-app/main/default/flows/Adoption_Create_Adoption_Record_SubFlow.flow-meta.xml b/force-app/main/default/flows/Adoption_Create_Adoption_Record_SubFlow.flow-meta.xml index 4eaaa989..536940e7 100644 --- a/force-app/main/default/flows/Adoption_Create_Adoption_Record_SubFlow.flow-meta.xml +++ b/force-app/main/default/flows/Adoption_Create_Adoption_Record_SubFlow.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 [Animal Shelter] Create adoption record Sub flow Default Adoption - Create Adoption Record SubFlow {!$Flow.CurrentDateTime} diff --git a/force-app/main/default/flows/Adoption_Start_Adoption_Process.flow-meta.xml b/force-app/main/default/flows/Adoption_Start_Adoption_Process.flow-meta.xml index e981d701..15459f4a 100644 --- a/force-app/main/default/flows/Adoption_Start_Adoption_Process.flow-meta.xml +++ b/force-app/main/default/flows/Adoption_Start_Adoption_Process.flow-meta.xml @@ -443,7 +443,7 @@ Automatch_On or - $Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Enable_Auto_Match__c + $Setup.Animal_Shelter_Settings__c.Enable_Auto_Match__c EqualTo true @@ -932,7 +932,6 @@ String Local Vet Details DropdownBox - UseStoredValues false and @@ -1091,7 +1090,6 @@ String Select a Contact DropdownBox - UseStoredValues false true diff --git a/force-app/main/default/flows/Animal_Action_Close_Associated_Task.flow-meta.xml b/force-app/main/default/flows/Animal_Action_Close_Associated_Task.flow-meta.xml index 7c5e7750..c4deb087 100644 --- a/force-app/main/default/flows/Animal_Action_Close_Associated_Task.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Action_Close_Associated_Task.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 Assign_Task_Status @@ -43,6 +43,7 @@ [Animal Shelter] - On completion of Animal Action the associated Task is marked as complete, and Animal Action fields are updated Default Animal Action - Close Associated Task {!$Flow.CurrentDateTime} + true BuilderType diff --git a/force-app/main/default/flows/Animal_Action_Create_Platform_Event.flow-meta.xml b/force-app/main/default/flows/Animal_Action_Create_Platform_Event.flow-meta.xml index 96c1244e..f74ca2f4 100644 --- a/force-app/main/default/flows/Animal_Action_Create_Platform_Event.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Action_Create_Platform_Event.flow-meta.xml @@ -4,6 +4,7 @@ [Animal Shelter Starter] - Creates a Platform Event for Badge Update on record create or update Default Animal Action - Create Platform Event {!$Flow.CurrentDateTime} + true BuilderType @@ -41,7 +42,7 @@ Action - Badge_Update_Event__e + Animal_Update_Event__e true diff --git a/force-app/main/default/flows/Animal_Action_Create_Task_for_new_Actions.flow-meta.xml b/force-app/main/default/flows/Animal_Action_Create_Task_for_new_Actions.flow-meta.xml index 6a0f992a..c88b6a93 100644 --- a/force-app/main/default/flows/Animal_Action_Create_Task_for_new_Actions.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Action_Create_Task_for_new_Actions.flow-meta.xml @@ -110,7 +110,7 @@ Create_Action_Task - {!$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Enable_Animal_Action_Tasks__c}=TRUE + {!$Setup.Animal_Shelter_Settings__c.Enable_Animal_Action_Tasks__c}=TRUE Animal_Action__c Create RecordAfterSave diff --git a/force-app/main/default/flows/Animal_Action_Scheduler.flow-meta.xml b/force-app/main/default/flows/Animal_Action_Scheduler.flow-meta.xml index 89f81c99..b784ba35 100644 --- a/force-app/main/default/flows/Animal_Action_Scheduler.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Action_Scheduler.flow-meta.xml @@ -497,7 +497,6 @@ When is the first date and time of the action? InputField <p>Date of first treatment</p> - UseStoredValues true @@ -521,7 +520,6 @@ Day_Choice How often will this action need to be completed? DropdownBox - UseStoredValues true @@ -533,7 +531,6 @@ For how long? InputField <p>Once you have set the recurrence (e.g. to Daily), how many days will the schedule run for (e.g. 6 would be 6 days)? </p> - UseStoredValues true 0 @@ -561,7 +558,6 @@ String Select the type of action for the animal: RadioButtons - UseStoredValues true @@ -569,7 +565,6 @@ Provide a description for this action: LargeTextArea <p>Provide specifics for this action, so that other people know what to do in order to complete this action for the animal.</p> - UseStoredValues true true @@ -602,7 +597,6 @@ String Treatment Type DropdownBox - UseStoredValues true diff --git a/force-app/main/default/flows/Animal_Adoption_Manual_matching_Process.flow-meta.xml b/force-app/main/default/flows/Animal_Adoption_Manual_matching_Process.flow-meta.xml index 141c47bc..1269fd2f 100644 --- a/force-app/main/default/flows/Animal_Adoption_Manual_matching_Process.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Adoption_Manual_matching_Process.flow-meta.xml @@ -224,7 +224,6 @@ Type InputField - UseStoredValues false @@ -235,7 +234,6 @@ Species InputField - UseStoredValues false @@ -257,7 +255,6 @@ Age Category InputField - UseStoredValues false @@ -291,7 +288,6 @@ Safe Garden InputField - UseStoredValues true @@ -302,7 +298,6 @@ No Children InputField - UseStoredValues true @@ -313,7 +308,6 @@ Special Care Required InputField - UseStoredValues true @@ -324,7 +318,6 @@ No animal of same species InputField - UseStoredValues true @@ -335,7 +328,6 @@ No animal of different species InputField - UseStoredValues true diff --git a/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml b/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml index 42b8b2ff..f402db8c 100644 --- a/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Adoption_Update_Automation.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 On Adoption Status = Adopted, Update Contact Flag, Clear current and create new Movement record, update Animal status Default Animal - Adoption Update Automation diff --git a/force-app/main/default/flows/Animal_Alert_Create_Platform_Event.flow-meta.xml b/force-app/main/default/flows/Animal_Alert_Create_Platform_Event.flow-meta.xml index 1ca67f14..0d3cd0ee 100644 --- a/force-app/main/default/flows/Animal_Alert_Create_Platform_Event.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Alert_Create_Platform_Event.flow-meta.xml @@ -4,6 +4,7 @@ [Animal Shelters Starter] - Creates a Platform Event for Badge Update when Alert records are Created or Updated Default Animal Alert - Create Platform Event {!$Flow.CurrentDateTime} + true BuilderType @@ -41,7 +42,7 @@ Alert - Badge_Update_Event__e + Animal_Update_Event__e true diff --git a/force-app/main/default/flows/Animal_Animal_Create_Update_Trigger.flow-meta.xml b/force-app/main/default/flows/Animal_Animal_Create_Update_Trigger.flow-meta.xml index d3676429..af0db86a 100644 --- a/force-app/main/default/flows/Animal_Animal_Create_Update_Trigger.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Animal_Create_Update_Trigger.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 [Animal Shelter] Trigger on Animal record to replace Process Builder Default Animal - Animal Create/Update Trigger {!$Flow.CurrentDateTime} diff --git a/force-app/main/default/flows/Animal_Animal_Location_Flow.flow-meta.xml b/force-app/main/default/flows/Animal_Animal_Location_Flow.flow-meta.xml index 16152202..e2b82c27 100644 --- a/force-app/main/default/flows/Animal_Animal_Location_Flow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Animal_Location_Flow.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 Update_w3w_field_for_current_record diff --git a/force-app/main/default/flows/Animal_Animal_Release_Flow.flow-meta.xml b/force-app/main/default/flows/Animal_Animal_Release_Flow.flow-meta.xml index a846b64a..134ce935 100644 --- a/force-app/main/default/flows/Animal_Animal_Release_Flow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Animal_Release_Flow.flow-meta.xml @@ -237,7 +237,6 @@ String Choose an Animal to Release DropdownBox - UseStoredValues true diff --git a/force-app/main/default/flows/Animal_Block_Capacity_Calculations.flow-meta.xml b/force-app/main/default/flows/Animal_Block_Capacity_Calculations.flow-meta.xml index 155c356a..085f0ab5 100644 --- a/force-app/main/default/flows/Animal_Block_Capacity_Calculations.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Block_Capacity_Calculations.flow-meta.xml @@ -1,11 +1,11 @@ - 59.0 + 60.0 Available_Child_Record_Count - 1373 - 482 + 490 + 974 varAvailableCount AssignCount @@ -20,8 +20,8 @@ Total_Child_Record_Count - 807 - 58 + 314 + 350 varTotalCount AssignCount @@ -44,8 +44,8 @@ No_Records_Found - 821 - 484 + 226 + 758 Loop_Through_Child_Records_that_have_Available_Status @@ -74,8 +74,8 @@ Loop_Through_Child_Records - 528 - 50 + 226 + 242 varLocation varLocationChildRecords Asc @@ -89,8 +89,8 @@ Loop_Through_Child_Records_that_have_Available_Status - 1101 - 479 + 402 + 866 varLocation varLocationChildRecords Asc @@ -110,7 +110,7 @@ CanvasMode - FREE_FORM_CANVAS + AUTO_LAYOUT_CANVAS @@ -123,8 +123,8 @@ Get_Location_Child_Records_with_Available_Status - 531 - 483 + 226 + 650 true No_Records_Found @@ -152,8 +152,8 @@ Get all the Child records for the current Location Get_Locations_Child_Records - 269 - 50 + 226 + 134 false Loop_Through_Child_Records @@ -173,8 +173,8 @@ Set_Available_Capacity_to_Zero - 652 - 669 + 50 + 866 and Id @@ -195,8 +195,8 @@ Update the Available Capacity value on the current Location Update_Available_Capacity_Value - 1104 - 703 + 402 + 1166 and Id @@ -217,8 +217,8 @@ Update the Total Capacity value on the current Location Update_Total_Capacity_Value - 531 - 295 + 226 + 542 Get_Location_Child_Records_with_Available_Status @@ -239,8 +239,8 @@ Locations__c - 50 - 50 + 100 + 0 Get_Locations_Child_Records diff --git a/force-app/main/default/flows/Animal_Block_Status_Change.flow-meta.xml b/force-app/main/default/flows/Animal_Block_Status_Change.flow-meta.xml index 48271aaa..363aa897 100644 --- a/force-app/main/default/flows/Animal_Block_Status_Change.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Block_Status_Change.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 Does the Collection Filter have any values Filtered_Record_Count @@ -430,7 +430,7 @@ Start_Screen - Draft + Active Get_Unit_RecordType_Id diff --git a/force-app/main/default/flows/Animal_Breeds_Migration_Flow.flow-meta.xml b/force-app/main/default/flows/Animal_Breeds_Migration_Flow.flow-meta.xml index c56c3915..ba58e92f 100644 --- a/force-app/main/default/flows/Animal_Breeds_Migration_Flow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Breeds_Migration_Flow.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 Build_List_of_Records_to_Update diff --git a/force-app/main/default/flows/Animal_Clone_Animal_Record.flow-meta.xml b/force-app/main/default/flows/Animal_Clone_Animal_Record.flow-meta.xml index 9367e965..94866317 100644 --- a/force-app/main/default/flows/Animal_Clone_Animal_Record.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Clone_Animal_Record.flow-meta.xml @@ -428,7 +428,6 @@ No. of Clones InputField - UseStoredValues true 0 diff --git a/force-app/main/default/flows/Animal_Create_Reciprocal_Animal_Relationship.flow-meta.xml b/force-app/main/default/flows/Animal_Create_Reciprocal_Animal_Relationship.flow-meta.xml index 681d70c0..d80e6f2b 100644 --- a/force-app/main/default/flows/Animal_Create_Reciprocal_Animal_Relationship.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Create_Reciprocal_Animal_Relationship.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 [Animal Shelter] Creates a Reciprocal Relationship for an Animal Relationship when a new record is created. Default Animal - Create Reciprocal Animal Relationship diff --git a/force-app/main/default/flows/Animal_Deceased_Animal_Flow.flow-meta.xml b/force-app/main/default/flows/Animal_Deceased_Animal_Flow.flow-meta.xml index 1e60e85c..43d019ad 100644 --- a/force-app/main/default/flows/Animal_Deceased_Animal_Flow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Deceased_Animal_Flow.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 Create_Animal_record_for_Update diff --git a/force-app/main/default/flows/Animal_Exercise_Action_Completion.flow-meta.xml b/force-app/main/default/flows/Animal_Exercise_Action_Completion.flow-meta.xml index 5a08c0ad..57c5bf14 100644 --- a/force-app/main/default/flows/Animal_Exercise_Action_Completion.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Exercise_Action_Completion.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 AnimalActionExerciseRecordChoice String diff --git a/force-app/main/default/flows/Animal_Find_Adoption_Match.flow-meta.xml b/force-app/main/default/flows/Animal_Find_Adoption_Match.flow-meta.xml index 3569f10f..9b55b646 100644 --- a/force-app/main/default/flows/Animal_Find_Adoption_Match.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Find_Adoption_Match.flow-meta.xml @@ -138,7 +138,7 @@ Call_Auto_Match_Subflow true - AND( {!$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Enable_Auto_Match__c}=TRUE, ISPICKVAL({!$Record.Animal_Status__c},'Available for Adoption')) + AND( {!$Setup.Animal_Shelter_Settings__c.Enable_Auto_Match__c}=TRUE, ISPICKVAL({!$Record.Animal_Status__c},'Available for Adoption')) Animal__c Update RecordAfterSave diff --git a/force-app/main/default/flows/Animal_Generate_Animal_Name_on_Record_Create.flow-meta.xml b/force-app/main/default/flows/Animal_Generate_Animal_Name_on_Record_Create.flow-meta.xml index 8e9046f9..74b8b981 100644 --- a/force-app/main/default/flows/Animal_Generate_Animal_Name_on_Record_Create.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Generate_Animal_Name_on_Record_Create.flow-meta.xml @@ -51,7 +51,7 @@ Set_Animal_Name - AND({!$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Default_Animal_Name__c},ISNULL({!$Record.Animal_Name__c})) + AND({!$Setup.Animal_Shelter_Settings__c.Default_Animal_Name__c},ISNULL({!$Record.Animal_Name__c})) Animal__c Create RecordAfterSave diff --git a/force-app/main/default/flows/Animal_Generate_Tasks_Subflow.flow-meta.xml b/force-app/main/default/flows/Animal_Generate_Tasks_Subflow.flow-meta.xml index 0e1c8632..0d384b49 100644 --- a/force-app/main/default/flows/Animal_Generate_Tasks_Subflow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Generate_Tasks_Subflow.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 Assign_Queue_as_Owner @@ -294,8 +294,8 @@ taskSubjectFormula String - IF( - {!Movement}, {!Get_Animal_Details.Animal_Name__c} + " needs to be moved to " + {!Get_Current_Movement_Record.Location_Name__c}, {!Get_Animal_Action_Record.Action_Type__c} + " action for " + {!Get_Animal_Details.Animal_Name__c}) + IF({!Movement}, +{!Get_Animal_Details.Animal_Name__c} + " needs to be moved to " +{!Get_Current_Movement_Record.Location_Name__c}, {!Get_Animal_Action_Record.Action_Type__c} + " action for " + {!Get_Animal_Details.Animal_Name__c}) Animal - Generate Tasks Subflow true @@ -441,6 +441,7 @@ Group true + SystemModeWithoutSharing 320 0 diff --git a/force-app/main/default/flows/Animal_Get_What3Words_Coordinates.flow-meta.xml b/force-app/main/default/flows/Animal_Get_What3Words_Coordinates.flow-meta.xml index 7b3691c2..f558bb85 100644 --- a/force-app/main/default/flows/Animal_Get_What3Words_Coordinates.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Get_What3Words_Coordinates.flow-meta.xml @@ -49,7 +49,7 @@ Get_What3Words_Coordinates - AND(NOT(ISBLANK({!$Record.what3words__c})),ISCHANGED({!$Record.what3words__c}),NOT(ISBLANK({!$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__What3Words_API_Key__c}))) + AND(NOT(ISBLANK({!$Record.what3words__c})),ISCHANGED({!$Record.what3words__c}),NOT(ISBLANK({!$Setup.Animal_Shelter_Settings__c.What3Words_API_Key__c}))) Animal__c CreateAndUpdate RecordAfterSave diff --git a/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml b/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml index eee77254..ad4a64b6 100644 --- a/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Movement_Process.flow-meta.xml @@ -751,7 +751,6 @@ String Do you wish to continue? RadioButtons - UseStoredValues false @@ -790,7 +789,6 @@ String Boarder Selection DropdownBox - UseStoredValues true true @@ -850,7 +848,6 @@ String Foster Selection DropdownBox - UseStoredValues true true @@ -888,7 +885,6 @@ String Choose a Movement DropdownBox - UseStoredValues true @@ -915,7 +911,6 @@ Movement Date InputField - UseStoredValues false @@ -975,7 +970,6 @@ String Organisation Selection DropdownBox - UseStoredValues true true @@ -1003,7 +997,6 @@ String Unit Selection DropdownBox - UseStoredValues true true diff --git a/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml b/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml index 1b6aa0b7..e367cb3a 100644 --- a/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_Movement_SubFlow.flow-meta.xml @@ -153,7 +153,7 @@ Yes and - $Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Enable_Movement_Tasks__c + $Setup.Animal_Shelter_Settings__c.Enable_Movement_Tasks__c EqualTo true diff --git a/force-app/main/default/flows/Animal_RecordType_Subflow.flow-meta.xml b/force-app/main/default/flows/Animal_RecordType_Subflow.flow-meta.xml index 643f09d8..9bf42b87 100644 --- a/force-app/main/default/flows/Animal_RecordType_Subflow.flow-meta.xml +++ b/force-app/main/default/flows/Animal_RecordType_Subflow.flow-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 Return_RecordTypeId @@ -48,6 +48,7 @@ [Animal Shelter] Generic Subflow to return the Record Type Id for a given sObject and DeveloperName Default Animal - RecordType Subflow {!$Flow.CurrentDateTime} + true Loop_through_Matching_RecordTypes diff --git a/force-app/main/default/flows/Assessment_Create_new_assessment.flow-meta.xml b/force-app/main/default/flows/Assessment_Create_new_assessment.flow-meta.xml index bd5fecb3..4684f71c 100644 --- a/force-app/main/default/flows/Assessment_Create_new_assessment.flow-meta.xml +++ b/force-app/main/default/flows/Assessment_Create_new_assessment.flow-meta.xml @@ -730,7 +730,6 @@ Number of Conditions to create? InputField - UseStoredValues false 0 @@ -791,7 +790,6 @@ String Assessment Category DropdownBox - UseStoredValues false @@ -816,7 +814,6 @@ String Assessment Type DropdownBox - UseStoredValues false @@ -827,7 +824,6 @@ Assessment Date/Time InputField - UseStoredValues false diff --git a/force-app/main/default/flows/Assessment_Update_Behaviours_on_Animal.flow-meta.xml b/force-app/main/default/flows/Assessment_Update_Behaviours_on_Animal.flow-meta.xml index ac62bc08..d61506fe 100644 --- a/force-app/main/default/flows/Assessment_Update_Behaviours_on_Animal.flow-meta.xml +++ b/force-app/main/default/flows/Assessment_Update_Behaviours_on_Animal.flow-meta.xml @@ -74,7 +74,7 @@ Get_Animal_Record - {!$Setup.animalshelters__Animal_Shelter_Settings__c.animalshelters__Disable_Behaviour_Update__c}= FALSE + {!$Setup.Animal_Shelter_Settings__c.Disable_Behaviour_Update__c}= FALSE Assessment__c Create RecordAfterSave diff --git a/force-app/main/default/flows/Condition_Create_Platform_Event.flow-meta.xml b/force-app/main/default/flows/Condition_Create_Platform_Event.flow-meta.xml index bbf515c3..8a4094e6 100644 --- a/force-app/main/default/flows/Condition_Create_Platform_Event.flow-meta.xml +++ b/force-app/main/default/flows/Condition_Create_Platform_Event.flow-meta.xml @@ -4,6 +4,7 @@ [Animal Shelter Starter] - Creates a Platform Event for Badge Update on record create or update Default Condition - Create Platform Event {!$Flow.CurrentDateTime} + true BuilderType @@ -41,7 +42,7 @@ Condition - Badge_Update_Event__e + Animal_Update_Event__e true diff --git a/force-app/main/default/flows/Condition_Generate_Alert_from_Condition.flow-meta.xml b/force-app/main/default/flows/Condition_Generate_Alert_from_Condition.flow-meta.xml index e0e5a492..6cf3c9e9 100644 --- a/force-app/main/default/flows/Condition_Generate_Alert_from_Condition.flow-meta.xml +++ b/force-app/main/default/flows/Condition_Generate_Alert_from_Condition.flow-meta.xml @@ -85,7 +85,6 @@ Alert Description InputField <p>Update this description (if needed) to define the alert message which other users will see.</p> - UseStoredValues true @@ -103,7 +102,6 @@ Start Date/Time InputField <p>When should this alert be shown from?</p> - UseStoredValues true @@ -126,7 +124,6 @@ End Date/Time InputField <p>When should we stop showing the alert? Note that you can leave this blank and it will show the alert on the animal record until an end date is added on the record.</p> - UseStoredValues false diff --git a/force-app/main/default/globalValueSets/Animal_Type.globalValueSet-meta.xml b/force-app/main/default/globalValueSets/Animal_Type.globalValueSet-meta.xml index 9689050e..a64c0d63 100644 --- a/force-app/main/default/globalValueSets/Animal_Type.globalValueSet-meta.xml +++ b/force-app/main/default/globalValueSets/Animal_Type.globalValueSet-meta.xml @@ -81,16 +81,16 @@ - Reptile + Fish false false - + - Fish + Reptile false false - + [Animal Shelter] Types of Animals Animal Type diff --git a/force-app/main/default/layouts/Contact-Animal Shelter Contact Page Layout.layout-meta.xml b/force-app/main/default/layouts/Contact-Animal Shelter Contact Page Layout.layout-meta.xml index 6f692e40..bb31dc53 100644 --- a/force-app/main/default/layouts/Contact-Animal Shelter Contact Page Layout.layout-meta.xml +++ b/force-app/main/default/layouts/Contact-Animal Shelter Contact Page Layout.layout-meta.xml @@ -171,6 +171,41 @@ Record + + NewCase + QuickAction + 3 + + + NewEvent + QuickAction + 4 + + + SendEmail + QuickAction + 5 + + + PrintableView + StandardButton + 6 + + + ChangeOwnerOne + StandardButton + 7 + + + Edit + StandardButton + 8 + + + CreateSurveyInvitation + StandardButton + 9 + Clone StandardButton @@ -246,41 +281,6 @@ QuickAction 2 - - NewCase - QuickAction - 3 - - - NewEvent - QuickAction - 4 - - - SendEmail - QuickAction - 5 - - - PrintableView - StandardButton - 6 - - - ChangeOwnerOne - StandardButton - 7 - - - Edit - StandardButton - 8 - - - CreateSurveyInvitation - StandardButton - 9 - diff --git a/force-app/main/default/lwc/animalBadge/animalBadge.css b/force-app/main/default/lwc/animalBadge/animalBadge.css index 534fd2d9..0f7d8964 100644 --- a/force-app/main/default/lwc/animalBadge/animalBadge.css +++ b/force-app/main/default/lwc/animalBadge/animalBadge.css @@ -1,13 +1,20 @@ -.badge { - display: inline-block; - padding: 2px; - border-radius: 5px; - color: white; - margin-right: 10px; +/** + * Created by stewart.anderson on 05/04/2024. + */ +.exercise{ + --slds-c-badge-text-color: white; + --slds-c-badge-color-background: #9050e9; } -.alert { background-color: red; } -.condition { background-color: grey; } -.nutrition { background-color: green; } -.exercise { background-color: orange; } -.treatment { background-color: blue; } -.vaccination { background-color: pink; } \ No newline at end of file + +.treatment{ + --slds-c-badge-color-background: #fb538a; +} + +.vaccination{ + --slds-c-badge-text-color: white; + --slds-c-badge-color-background: #2796ff; +} + +.condition { + --slds-c-badge-color-background: #fb5d2e; +} \ No newline at end of file diff --git a/force-app/main/default/lwc/animalBadge/animalBadge.html b/force-app/main/default/lwc/animalBadge/animalBadge.html index 7d1eaebc..1b918f5c 100644 --- a/force-app/main/default/lwc/animalBadge/animalBadge.html +++ b/force-app/main/default/lwc/animalBadge/animalBadge.html @@ -2,22 +2,22 @@
diff --git a/force-app/main/default/lwc/animalBadge/animalBadge.js b/force-app/main/default/lwc/animalBadge/animalBadge.js index fd8de6cf..2f4246c8 100644 --- a/force-app/main/default/lwc/animalBadge/animalBadge.js +++ b/force-app/main/default/lwc/animalBadge/animalBadge.js @@ -6,14 +6,14 @@ * @last modified by : Chris Rolfe **/ import { LightningElement, api, wire } from 'lwc'; -import { subscribe, unsubscribe, onError, setDebugFlag, isEmpEnabled } from 'lightning/empApi'; +import { subscribe, unsubscribe, onError } from 'lightning/empApi'; import { refreshApex } from '@salesforce/apex'; import getRelatedBadges from '@salesforce/apex/AnimalBadgeController.getRelatedBadges'; export default class AnimalBadge extends LightningElement { @api recordId; badges = {}; - channelName = '/event/Badge_Update_Event__e'; + channelName = '/event/animalshelters__Animal_Update_Event__e'; subscription = {}; wiredBadgesResult; diff --git a/force-app/main/default/lwc/animalBadge/animalBadge.js-meta.xml b/force-app/main/default/lwc/animalBadge/animalBadge.js-meta.xml index 100b8c12..1ebc3cce 100644 --- a/force-app/main/default/lwc/animalBadge/animalBadge.js-meta.xml +++ b/force-app/main/default/lwc/animalBadge/animalBadge.js-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 true Animal Badges Displays badges for various Animal Statuses diff --git a/force-app/main/default/lwc/animalShelterSettingsEditor/animalShelterSettingsEditor.html b/force-app/main/default/lwc/animalShelterSettingsEditor/animalShelterSettingsEditor.html index bd31cc4f..947127ae 100644 --- a/force-app/main/default/lwc/animalShelterSettingsEditor/animalShelterSettingsEditor.html +++ b/force-app/main/default/lwc/animalShelterSettingsEditor/animalShelterSettingsEditor.html @@ -185,4 +185,4 @@ - + \ No newline at end of file diff --git a/force-app/main/default/lwc/animalShelterSettingsEditor/animalShelterSettingsEditor.js-meta.xml b/force-app/main/default/lwc/animalShelterSettingsEditor/animalShelterSettingsEditor.js-meta.xml index 9eb3efcf..06fd883d 100644 --- a/force-app/main/default/lwc/animalShelterSettingsEditor/animalShelterSettingsEditor.js-meta.xml +++ b/force-app/main/default/lwc/animalShelterSettingsEditor/animalShelterSettingsEditor.js-meta.xml @@ -7,4 +7,4 @@ lightning__AppPage - + \ No newline at end of file diff --git a/force-app/main/default/lwc/flowHLine/flowHLine.js-meta.xml b/force-app/main/default/lwc/flowHLine/flowHLine.js-meta.xml index 833eab7b..ae483e02 100644 --- a/force-app/main/default/lwc/flowHLine/flowHLine.js-meta.xml +++ b/force-app/main/default/lwc/flowHLine/flowHLine.js-meta.xml @@ -1,9 +1,8 @@ Horizontal Line for Flow Screen - 59.0 + 60.0 true - lightning__FlowScreen diff --git a/force-app/main/default/lwc/lightningPrintView/lightningPrintView.js b/force-app/main/default/lwc/lightningPrintView/lightningPrintView.js index 5ed6de6c..7f860852 100644 --- a/force-app/main/default/lwc/lightningPrintView/lightningPrintView.js +++ b/force-app/main/default/lwc/lightningPrintView/lightningPrintView.js @@ -32,7 +32,7 @@ export default class LightningPrintPreview extends LightningElement { get qrCodeUrl() { const baseUrl = 'https://' + window.location.hostname; - const qrCodeBaseUrl = 'https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl='; + const qrCodeBaseUrl = 'https://bwipjs-api.metafloor.com/?bcid=qrcode&scale=3&text='; const recordUrl = baseUrl + '/' + this.recordId; return qrCodeBaseUrl + encodeURIComponent(recordUrl); diff --git a/force-app/main/default/lwc/lightningVisualPicker/lightningVisualPicker.js-meta.xml b/force-app/main/default/lwc/lightningVisualPicker/lightningVisualPicker.js-meta.xml index a20603bf..4f2f40ea 100644 --- a/force-app/main/default/lwc/lightningVisualPicker/lightningVisualPicker.js-meta.xml +++ b/force-app/main/default/lwc/lightningVisualPicker/lightningVisualPicker.js-meta.xml @@ -1,6 +1,6 @@ - 59.0 + 60.0 true Visual Picker Visual Picker for Salesforce diff --git a/force-app/main/default/lwc/microchipLookup/microchipLookup.html b/force-app/main/default/lwc/microchipLookup/microchipLookup.html index a2993ead..7ed78343 100644 --- a/force-app/main/default/lwc/microchipLookup/microchipLookup.html +++ b/force-app/main/default/lwc/microchipLookup/microchipLookup.html @@ -1,14 +1,13 @@ + \ No newline at end of file diff --git a/force-app/main/default/lwc/microchipLookup/microchipLookup.js b/force-app/main/default/lwc/microchipLookup/microchipLookup.js index 0ccc5f82..1f7e2fa4 100644 --- a/force-app/main/default/lwc/microchipLookup/microchipLookup.js +++ b/force-app/main/default/lwc/microchipLookup/microchipLookup.js @@ -202,4 +202,4 @@ export default class MicrochipLookup extends LightningElement { } -} +} \ No newline at end of file diff --git a/force-app/main/default/lwc/microchipLookup/microchipLookup.js-meta.xml b/force-app/main/default/lwc/microchipLookup/microchipLookup.js-meta.xml index 82c81c59..aa1eb118 100644 --- a/force-app/main/default/lwc/microchipLookup/microchipLookup.js-meta.xml +++ b/force-app/main/default/lwc/microchipLookup/microchipLookup.js-meta.xml @@ -18,4 +18,4 @@ - + \ No newline at end of file diff --git a/force-app/main/default/lwc/recordAlerts/recordAlerts.html b/force-app/main/default/lwc/recordAlerts/recordAlerts.html index 8c8a1ae9..6d6062f1 100644 --- a/force-app/main/default/lwc/recordAlerts/recordAlerts.html +++ b/force-app/main/default/lwc/recordAlerts/recordAlerts.html @@ -1,38 +1,29 @@ -