Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Oct 13, 2023
1 parent 6805d36 commit eadb9d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ You can configure:
Creating the hidden booking types
---------------------------------

Yo can have the hidden booking types for internal usage simply selecting the **Hidden type** checkbox in a bookign type field definition. So
this type will not be visible for the simple or anonymous users. But only the users with a **Bookin Manager** permission will see those types.
You can hide your booking types from simple and anonymous users by using the 'Hidden Booking' flag
in your booking types definition. This way, it will only be available to users with the 'Bookings Manager'
permission. This feature may be useful if you want to restrict booking types for internal corporate use.

Creating a new booking content
------------------------------
Expand Down
4 changes: 3 additions & 1 deletion src/redturtle/prenotazioni/content/prenotazioni_folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,9 @@ def get_options():
"booking_types_help",
default="Put booking types there (one per line).\n"
"If you do not provide this field, "
"not type selection will be available",
"not type selection will be available. "
"If the 'Hidden Type' flag is selected the type will only "
"be visible for the users with the 'Bookings Manager' permission",
),
value_type=DictRow(schema=IBookingTypeRow),
)
Expand Down

0 comments on commit eadb9d1

Please sign in to comment.