Skip to content

PloneGov-IT/rg.prenotazioni

Repository files navigation

A booking product for Plone which allows to reserve time slots throughout the week.

Add rg.prenotazioni to the egg section of your instance:

[instance]
eggs=
    ...
    rg.prenotazioni

This product introduces two new content types to your Plone site:

  • Booking
  • Booking Folder

Booking is a content type used to store information about reservation.

The product interface provides a way to add new booking elements, by clicking on one of the plus signs available in the slots calendar as shown below:

The view of Booking Folder

Each booking element once created is storerd into its own Booking Folder.

Booking Folder is a folderish content type which store your Booking objects.

If the product is correctly installed the Booking Folder entry is available on the add new action menu. Click on it to add a new booking folder content.

The view of Booking Folder

Saving the form a new booking folder will be created.

Here below the edit page:

The edit form for a Booking Folder

Since version 2.1 new functionalities has been added to the folder configuration:

  • more then one gate can be handled
  • booking vacations supports also bookings with no gate assigned

Since version 3.0 the agenda has: - a new user interface - allows custom duration for booking types

Anonymous and authenticated users are allowed to add new booking content by clicking on the plus signs on the default booking folder view.

Link to create new entry

After its creation the slot will be displayed as "busy" for anonymous user and the slot won't be available anymore.

Back-end users can see and manage the reservation according to the assigned Plone roles.

Here below a screenshot of the edit page:

The view of Booking Folder

Since version 2.1: - captcha has been added for anonymous users. - booking content can be added only from the view folder links. - booking can't be added in the past anymore.

The backend view is quite different from the anonimous user view.

The view of Booking Folder

The product comes with its own workflow "prenotazioni_workflow".

Since versione 2.1 a new states has been added. Here below a list of all the states available:

Private: booking object initial state:

  • submit (Automatic transition to pending)

Pending

Transaction available:

  • publish (to published)
  • refuse (to refused)

Published

Transaction available:

  • refuse (to refused)

Refused

Transaction available:

  • restore (to pending)

Managers can confirm a Booking using workflow transitions. The workflow transition triggers an email to be sent to the booker (see below).

There are additional content rules that can be used to notify booking owner when his booking has been accepted or re-scheduled.

Rules are not automatically as of version 3.x. They are imported by a separate generic setup profile.

There's also a rule that can warn the Booking Folder responsible when new booking are created, but you need to manually enable it on folders.

You can specify days when the Booking Folder will not accept bookings. Those days are called "Vacation days". Vacation days can be specified compiling the "Vacation days" field in the Booking Folder edit form. Values are allowed in the format DD/MM/YYYY. Instead of the year you can put an asterisk, in this case every here the day DD of month MM will be considered a vacation day.

It is also possible to specify a vacation period for a single gate using the vacation booking form.

The view of Booking Folder

Using the prenotazioni_search view it is possible to search bookings within a given time interval. You can also filter the results specifying a searchable text, a gate or a review state.

The view of Booking Folder

rg.prenotazioni 4.x is a very deep rewrite of previous version; it's tested only on Plone 5 and was rewrited taking old parts of code when needed. We don't provide migration!

rg.prenotazioni 3.x has been tested with Plone 4.2 and Plone 4.3 and works with Python 2.7.

rg.prenotazioni 2.x has been tested with Plone 4.2 and works with Python 2.6 and 2.7.

rg.prenotazioni 1.x has been tested with Plone 3 and works with Python 2.4.

Note

Version 2.x of rg.prenotazioni is a deep rewrite of version 1.x and we are not providing any migration... sorry!

  • i18n support is uncomplete
  • Switch use of session to cookies (done)
  • Tests!

Developed with the support of:

All of them supports the PloneGov initiative.

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site