|
|
@@ -181,6 +181,7 @@ async def create_sms_batch(
|
|
|
- {description} slot.description
|
|
|
- {debut} slot.starting_time
|
|
|
- {fin} slot.ending_ting
|
|
|
+ - {respo} slot.responsible_contact
|
|
|
- {prenom} volunteer.name
|
|
|
- {nom} volunteer.surname
|
|
|
|
|
|
@@ -198,6 +199,7 @@ async def create_sms_batch(
|
|
|
.replace("{description}", slot.description)
|
|
|
.replace("{debut}", slot.starting_time.strftime("%Hh%M"))
|
|
|
.replace("{fin}", slot.ending_time.strftime("%Hh%M"))
|
|
|
+ .replace("{respo}", slot.responsible_contact)
|
|
|
)
|
|
|
sending_time = slot.starting_time - timedelta(minutes=sms_batch.delta_t)
|
|
|
for volunteer in slot.volunteers:
|