rdv: add main user in fullcalendar form

This commit is contained in:
nobohan
2021-08-18 16:51:16 +02:00
parent a70d5cc263
commit dbf72774c2
5 changed files with 45 additions and 14 deletions

View File

@@ -27,6 +27,7 @@
window.entity = {{ entity_json|json_encode|raw }};
window.startDate = {{ entity.startDate|date('Y-m-d H:i:s')|json_encode|raw }};
window.endDate = {{ entity.endDate|date('Y-m-d H:i:s')|json_encode|raw }};
window.mainUser = {{ entity.mainUser.id }};
</script>
{{ encore_entry_script_tags('vue_calendar') }}
{% endblock %}