select slot didn't show in any version

Created on 30 September 2024, 12 months ago
Updated 12 October 2024, 11 months ago

configuration

drupal core 10.3.5, webform 6.2.7, webform booking 1.0.0 (1.0.13)

context


Bonjour à vous tous, je crée un projet qui nécessite de mettre en place un système de réservation avec un emplacement précis, après plusieurs lectures le module le plus adapté à la demande est celui-ci (webform booking). suite à cela un problème est survenu (je ne sais pas si le problème vient de ma configuration ou d'un oubli de ma part), après avoir créé un formulaire comme celui-ci


page_calendrier:
  '#type': wizard_page
  '#title': 'page calendrier'
  '#attributes':
    class:
      - form-card
  '#prev_button_label': précédent
  '#next_button_label': suivant
  lieux_du_rdv:
    '#type': term_select
    '#title': 'lieux du rdv'
    '#vocabulary': Magasins
  date_du_rdv:
    '#type': booking
    '#title': 'Sélectionnez une date pour le RDV'
    '#required': true
    '#states_clear': false
    '#start_time': '10:00'
    '#end_time': '19:00'
    '#slot_duration': '30'
    '#exclusion_dates': ''
    '#excluded_weekdays':
      Sun: Sun
      Mon: 0
      Tue: 0
      Wed: 0
      Thu: 0
      Fri: 0
      Sat: 0
    '#start_date': '2024-09-30'
    '#end_date': '2024-10-31'
    '#days_advance': 1
    '#time_interval': '08:00|12:00'
    '#booking_entity_type': node
    '#booking_entity_bundle': store_location
    '#booking_time_range': '1 hour'
    '#booking_granularity': '15 minutes'
    '#booking_start_time': '08:00'
    '#booking_end_time': '18:00'


the webform offers me the reservation parameters, I can configure it but when displaying I do not see the "select slot" and I therefore cannot choose a slot and make a reservation



alternative


  • I tried to use the BAT module (Booking and Availability Management Tools)
    but this does not correspond to the request I want
  • use another version of webfom booking
  • check if anyone else has had the problem



more


I hope I gave enough information to understand the problem.

I am often available and I respond as quickly as possible

Thank you for paying attention.


🐛 Bug report
Status

Active

Version

1.0

Component

User interface

Created by

🇫🇷France goldenpeps Lyon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • 🇵🇹Portugal rfmarcelino

    Hi @goldenpeps,
    There are several proprieties in your config that are not part of this version element.
    I tried with the ones that exist, on a blank installation, and worked as designed:

    date_du_rdv:
    '#type': webform_booking
    '#title': 'Sélectionnez une date pour le RDV'
    '#required': true
    '#start_date': '2024-09-30'
    '#end_date': '2024-10-31'
    '#days_advance': 1
    '#excluded_weekdays':
    Sun: Sun
    Mon: 0
    Tue: 0
    Wed: 0
    Thu: 0
    Fri: 0
    Sat: 0
    '#time_interval': '08:00|12:00'
    '#slot_duration': '30'
    If you have any patches or changes to your code, try removing them.
    For now, I'm unable to replicate your issue.

Production build 0.71.5 2024