feat: better way to do WhatsApp Notification with Notification Type "… #107
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change aims to improve the way of creating events to trigger WhatsApp notifications.
Created a way to set a field on relative doctype on send a whatsapp message, for this was created a section called "Set Property After Alert"
Allow created more then one WhatsApp Notification with Notification Type "Event Schedule" for the same "Event Frequency" but with diferente propouse
Event method was ajusted to look for a list of events...
method "send_scheduled_message" was refactored to allow send template using for a Event Schedule
Every message sended try to add doc references "reference_doctype" and "reference_name" and create a whatsapp message
Refactored the creationg of "Scheduled Job Type" on insert or delete a "WhatsApp Notification"
Better text formating for fields parameters using "doc.get_formatted(field.field_name)"