|
|
@@ -148,6 +148,8 @@ async def create_sms_batch(
|
|
|
)
|
|
|
sending_time = slot.starting_time - timedelta(minutes=sms_batch.delta_t)
|
|
|
for volunteer in slot.volunteers:
|
|
|
+ if not volunteer.automatic_sms:
|
|
|
+ continue
|
|
|
# Create a new SMS customized for each user attache to the slot
|
|
|
personalized_content = slot_content.replace(
|
|
|
"{prenom}", volunteer.name
|