|
|
@ -37,7 +37,7 @@ function reserve_reserve_reservation_insert($entity) { |
|
|
|
$rid = $entity->reservable_id->getString(); |
|
|
|
$rid = $entity->reservable_id->getString(); |
|
|
|
$rtype = $entity->reservable_content_type->getString(); |
|
|
|
$rtype = $entity->reservable_content_type->getString(); |
|
|
|
$ebundle = $rtype . '.' . \Drupal::entityTypeManager() |
|
|
|
$ebundle = $rtype . '.' . \Drupal::entityTypeManager() |
|
|
|
->getStorage($rtype)->load($id)->bundle(); |
|
|
|
->getStorage($rtype)->load($rid)->bundle(); |
|
|
|
$day = date('l', strtotime($start)); |
|
|
|
$day = date('l', strtotime($start)); |
|
|
|
|
|
|
|
|
|
|
|
$msg = ''; |
|
|
|
$msg = ''; |
|
|
|