Hello,
Is it possible to add a dropdown menu that allows users to choose the type of client, and then display a color code on the calendar to differentiate between the different client types?
I've already done a rough draft, but I don't have the rest of the structure.
clienti.php:
closedir($lang_dir);
$opt_lingue = "<option value=\"\">------</option>".$opt_lingue;
echo "$opt_lingue</select></span>";
// Ajout menu deroulant
$sel_Polo = (isset($categoria) && $categoria == 'Staff POLO') ? ' selected' : '';
$sel_CSI = (isset($categoria) && $categoria == 'Staff CSI') ? ' selected' : '';
$sel_AF = (isset($categoria) && $categoria == 'Staff AF') ? ' selected' : '';
$sel_Membre = (isset($categoria) && $categoria == 'Membre') ? ' selected' : '';
$sel_VIP = (isset($categoria) && $categoria == 'VIP') ? ' selected' : '';
$sel_Autre = (isset($categoria) && $categoria == 'Autre') ? ' selected' : '';
echo " <span class=\"wsnw\">".mex("Categorie",$pag).": ";
echo "<select name=\"categoria\">";
echo "<option value=\"\">-- ".mex("Selectionnez",$pag)." --</option>";
echo "<option value=\"Staff POLO\"$sel_Polo>Staff POLO</option>";
echo "<option value=\"Staff CSI\"$sel_CSI>Staff CSI</option>";
echo "<option value=\"Staff AF\"$sel_AF>Staff AF</option>";
echo "<option value=\"Membre\"$sel_Membre>Membre</option>";
echo "<option value=\"VIP\"$sel_VIP>VIP</option>";
echo "<option value=\"Autre\"$sel_Autre>Autre</option>";
echo "</select></span>";
if (!empty($datiprenota)) {
echo ". <span class=\"wsnw\"><label><input name=\"cliente_ospite\" value=\"SI\" type=\"checkbox\" checked>
".mex("Ospite della prenotazione",$pag)."</label>";
customer type
Moderator: marco
Re: customer type
Hello,
currently you can add custom fields to clients from "configure and customize", but only in text or boolean format, no drop-down list (you could create a list with boolean values). It's not possible to assign colors based on clients in month table, what is planned for a future release is the possibility to have different colors based on rates associated to rooms (assignment rule 2).
Regards,
Marco
currently you can add custom fields to clients from "configure and customize", but only in text or boolean format, no drop-down list (you could create a list with boolean values). It's not possible to assign colors based on clients in month table, what is planned for a future release is the possibility to have different colors based on rates associated to rooms (assignment rule 2).
Regards,
Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php