Difference between revisions of "Setting/roomsunitnames"

From Beds24 Wiki
Jump to navigation Jump to search
Line 32: Line 32:
 
101|4.00 pm|98
 
101|4.00 pm|98
  
 +
Template variables:
  
Template variable:
+
[UNITNAME] = Room name<br>
 
+
[UNITNAME:1] = Check-in from<br>
Your room is [UNITNAME]Check-in from: [UNITNAME:1] . The key code is: [UNITNAME:2]
+
[UNITNAME:2] = Key code

Revision as of 06:06, 13 April 2019

If there are more than one of this room type, each can be given a name for internal use.

Enter a name for each individual unit of this room type one per line.

Additional information about each unit can be added on the same line after the name and accessed via template variables.

Add a pipe symbol "|" after the name and then the additional information.

A second set of addition information can be added after another pipe symbol.

i.e.

The following line will display in template variables as follows:

Unit name | description for showing in template variable | second piece of information

[UNITNAME] = Unit name

[UNITNAME:1] = description for showing in template variable

[UNITNAME:2] = second piece of information

Example:

You have 2 units (100 and 101). Check-in for 100 is form 3.00 pm and check-in for 101 is from 4.00 pm

Additionally you want to add a specific key code for each unit.

In "Unitname" enter:

100|3.00 pm|12
101|4.00 pm|98

Template variables:

[UNITNAME] = Room name
[UNITNAME:1] = Check-in from
[UNITNAME:2] = Key code