version 2.0
-path to dati, includes, themes folders in hoteldruid/costanti.php
-possibility for rates to have both a fixed and per person price (add a column in prices insertion form)
-possibility to calculate % of extra costs also on only fixed base rate, only persons base rate, only 1 person base rate (for children discount)
-maximum number by which an extra cost can be multiplied if the number is asked (also total people)
-insert a reservation choosing dates (and apartment?) clicking on free cells in the month table (change month?)
-vertical (and horizontal?) drag and drop of reservations in assigned apartments in month table
-possibility to change arrival/departure date by dragging left/right edge in month table (?)
-pop-up with reservation data (from hidden iframe?) when passing over a reservation in month table
-possibility to group statistics weekly (and daily?) instead of monthly
-possibility to order the reservations table by surname (inner join query)
-button to delete cc numbers of past reservations
-link to "modify reservation" from paymets table
-in main menu possibility to select groups of checkin or checkout and modify as a group
-add the number by which an extra costs is multiplied in extra costs repetitions in document variables
-possibility to have a document number for each reservation repetition in a document (document saved as docname_YYYY_NNNN1-NNNN2_RES1-RES2.txt)
-new document fortmat: html to pdf (with php-fpdf?) (?)
-when in Italian document "alloggiatiweb" some data is missing send an error message with the missing data
-sqlite3 database support (SQLite3 object in php 5.3)
-possibility to use external smtp server instead of php mail() function in configure and customize
-password with salt (and repeat md5 with variable salt?) and disable plain text passwords
-rates batch update: add x ($ or %) to prices (also from other rates) daily or weekly, in selected periods from now and with x apartments available
-save a batch update with possibility to activate it with interconnection user
-guided insertion of a new rate: name - periods - prices - rule 2 - rule 4 - extra costs - users and rule 3
-amounts divided by payment methods in cashboxes
-last row in cashbox tables to insert a new income or expense
-possibility to subtract a cashbox income from another cashbox (as expense) when inserting it
-possibility to view documents (with extra costs data) from point of sale interface, or automatically create one when inserting in cashbox
-possibility to save the bill for later payment in point of sale
-possibility to view last X insertions in point of sale
-global privilege to don't allow to insert payments without payment method (when available, default on first inserted method)
-when inserting prices on daily basis, or in other series of dates, select next date in next row
-option for nearby apartments in internet templates
-possibility to indicate the number of nights for final date (javascript in simple theme?), also in internet templates
-possibility to insert the number of people to be divided casually in selected rates when adding new types while inserting a reservation
-show insertion date for items in inventory
-possibility to select only one group (also if user doesn't belog to it?) instead of all users' groups for each privilege in user privileges
-move documents selection from year privileges to global privileges


version 2.1
-possibility to import settings from another template (with or without phrases)
-total percentage deposit (not with total percentage extra costs?)
-possibility to modify costs associated to a rate from a single page
-customize fields to be asked for titular client, first guest and other guests
-possibility to define a default (selected or first in list) nation, region, city, document type, relatedness (or possibility to change their order)
-possibility to exclude an extra cost from the percentage of total price
-optimize reservations distribution when a reservation is deleted (?)
-say if there are unconfirmed reservations when checking and there is no availability
-possibility to show value of extra costs in all reservations table
-use also cookies for login and session besides ip address when possible (also templates)
-possibility to delete all reservations older than x days without confirmation
-apply extra costs based on total price
-multicurrency internet templates
-possibility to keep the messages when updating a subordinated installation (sending them to master?)
-possibility to delete the money of cancelled reservations
-possibility to compact clients' numbers
-modify prices inside a table with day numbers in first row and months in first column
-dates ranges instead of options to store menu periods in internet templates (?)
-if 2 apartments have same priority give precedence to the one that comes first in assignment rule 2
-possibility to show months separately in availability calendar when there is only 1 type
-show different colors when there are less than X apartments available in calendar template
-show a different color when there is an unconfirmed reservation in availability calendar
-as admin 2 options when no availability inserting a reservation: don't consider requested apartments or divide it between them (only 2nd for normal users)
-checkbox to select all days when inserting an extra cost with asked days
-YYYY-MM-DD date format
-possibility to modify the receiving email with a document variable in documents in eamil format
-possibility to close some apartments in some periods
-when inserting a new extra cost select to which users with "only selected costs" privilege the cost must be added
-possibility to consider an extra cost as taxes (calculated in "modify reservation", "reservations table", statistics)


future versions
-add a new color for not confirmed reservations after X days from their insertion
-privileges to forbid modifying checked-in or checked-out reservations
-possibility to automatically insert reservations paid money in cashbox
-possibility to show a reminder when doing the checkin or checkout of a reservation
-possibility to don't show year in dates in rates template
-single apartment and daily stitistics
-column with assigned apartments in all reservations table
-requested dates in subject of emails from internet templates
-store user id in internet templates instead of user name
-client data in all reservations table
-discount in all reservations table
-possibility to set an ip access list for login
-possibility to generate javascript dates menus in internet templates
-if apartment(s) requested and rate with rule 2, use rule 2 in second try when inserting reservations(?)
-test speed of changing switch/case with array in mex function
-possibility to change the beginning day of year
-other tables customization
-possibility to add a note to payments details
-pass settings stored in internet templates in the database
-rates priority
-help on line