Difference between revisions of "AdminDoc2.0"
(→Formula) |
|||
Line 17: | Line 17: | ||
|%COUNTER_ARRIVAL||counter arrival input the form | |%COUNTER_ARRIVAL||counter arrival input the form | ||
|} | |} | ||
+ | |||
+ | {| {{prettytable}} | ||
+ | !Function!!description!! | ||
+ | |- | ||
+ | |max(a,b)||return the maximum between a and b | ||
+ | |- | ||
+ | |abs(a)||return the absolute value of a | ||
+ | |- | ||
+ | |roundDuration(a,b)||return the a value round top to b||roundDuration(106,5) return 110 | ||
+ | |} | ||
+ | |||
=Pricing management= | =Pricing management= | ||
==Formula== | ==Formula== |
Revision as of 13:54, 16 January 2007
Cette page sera destinée à contenir la doc admin de la version 2.0, pour le moment elle a surtout pour but de lister un certain nombre de changements ou de nouveautés pour permettre aux beta-testeurs (et aux futurs rédacteurs de la doc) de s'y retrouver dans la version 2.0
- Lors de l'import d'utilisateurs, contrairement à la version 1.2 où il y avait une série de check-box permettant de définir les paramètres par défaut, c'est les paramètres par défaut du club qui sont appliqués.
Flight hours computation
Formula
Variable name | description |
---|---|
%TIME_DEPARTURE | departure time input the form |
%TIME_ARRIVAL | arrival time input the form |
%COUNTER_DEPARTURE | counter departure input the form |
%COUNTER_ARRIVAL | counter arrival input the form |
Function | description | |
---|---|---|
max(a,b) | return the maximum between a and b | |
abs(a) | return the absolute value of a | |
roundDuration(a,b) | return the a value round top to b | roundDuration(106,5) return 110 |
Pricing management
Formula
The formula knows following variables:
Variable name | description |
---|---|
%DURATION | Calculated duration recorded for the flight |
%COUNTER_DEPARTURE | counter departure recorded for the flight |
%COUNTER_ARRIVAL | counter arrival recorded for the flight |