Difference between revisions of "Siteconfig"
Jump to navigation
Jump to search
(11 intermediate revisions by the same user not shown) | |||
Line 79: | Line 79: | ||
|- |
|- |
||
|ENFORCE_PRIORITY |
|ENFORCE_PRIORITY |
||
|Force bookings onto higher priority aircraft (0=false/no; 1=true/yes) |
|Force bookings onto higher priority aircraft (0=false/no; 1=true/yes). For details on how this works, please see the "Booking Group" and "Booking Priority" sections of the [[Aircraft]] documentation. This capability requires some changes by Book A Flight. To activate this feature please get in touch with your Book A Flight support contact. |
||
|- |
|- |
||
|EXPORT_SALES_CODE |
|EXPORT_SALES_CODE |
||
|Include SALES CODES in Pastel export. Allowable values are NONE, FLIGHT_TYPE or INSTRUCTOR |
|Include SALES CODES in Pastel export. Allowable values are NONE, FLIGHT_TYPE or INSTRUCTOR. See the "Sales Codes" section of the [[Pastel_Integration]] documentation section for details. |
||
|- |
|- |
||
|EXPORTPASTELTO |
|EXPORTPASTELTO |
||
Line 109: | Line 109: | ||
|- |
|- |
||
|INVOICE_LINE_1 |
|INVOICE_LINE_1 |
||
|The Pastel accounting package allows three fields of up to 30 characters each to be included in an invoice export such that these fields print onto the invoice when it is rendered within Pastel. These fields are typically used to indicate the banking details that should be used for payment. Details for PASTEL invoice - line 1 (30 chars max) |
|||
|Details for PASTEL invoice - line 1 (30 chars max) |
|||
|- |
|- |
||
|INVOICE_LINE_2 |
|INVOICE_LINE_2 |
||
Line 130: | Line 130: | ||
|- |
|- |
||
|MAINT_EMAIL |
|MAINT_EMAIL |
||
|Email address to send maintenance notifications to. Use "NONE" to suppress maintenance email notifications |
|Email address to send maintenance notifications to. Use "NONE" to suppress maintenance email notifications. If set, an email will be sent to this address with details of all maintenance entries as these are loaded against an aircraft. |
||
|- |
|- |
||
|MASS_WARN_DAYS |
|MASS_WARN_DAYS |
||
Line 163: | Line 163: | ||
|- |
|- |
||
|RECENCY_DAYS |
|RECENCY_DAYS |
||
|Max number of days since last flight before the next flight HAS to be DUAL. Set to zero (0) to bypass recency logic. |
|Max number of days since last flight before the next flight HAS to be DUAL. Set to zero (0) to bypass recency logic. For details see the [[Recency]] documentation. |
||
|- |
|- |
||
|RSL_WARN_DAYS |
|RSL_WARN_DAYS |
||
Line 197: | Line 197: | ||
|- |
|- |
||
|SOLO_HRS_LIMIT |
|SOLO_HRS_LIMIT |
||
|Max hours of SOLO flight before DUAL flight warning during flight autho. Applies to AB and SPL licence types only. Set to zero (0) to bypass this rule. During flight authorisation the system will check (if the flight instruction type is “SOLO”) to see how many hours of solo flight this pilot has flown since they last flew a DUAL flight. If the solo hours flown (since last dual flight) are less than the configured value then the “hours flown” is shown in normal “notification” font style. If the hours are more, then a red boxed warning is shown. Note that this does NOT block the flight authorisation – the instructor still has discretion to allow the flight to proceed. We recommend that you set this value to an hour (or more) less than the upper limit you wish to allow, so that students (and instructors) get a warning while there is still an hour or two left, before a dual flight would be mandated. The SOLO flight rules are also applied during the green-tag process, but pilots who have exceeded the solo flight limit are still allowed to green-tag (but with a warning message) so that they are able to plan to undertake a DUAL instruction flight. |
|||
|Max hours of SOLO flight before DUAL flight warning during flight autho. Applies to AB and SPL licence types only. Set to zero (0) to bypass this rule |
|||
|- |
|- |
||
|SWING_WARN_DAYS |
|SWING_WARN_DAYS |
||
Line 215: | Line 215: | ||
|- |
|- |
||
|USE_EXPIREDUALCHECK_HRS |
|USE_EXPIREDUALCHECK_HRS |
||
|Max hours of flight time (all flight types) before DUAL CHECK flight warning during flight autho. Set to zero (0) to bypass this rule |
|Max hours of flight time (all flight types) before DUAL CHECK flight warning during flight autho. Set to zero (0) to bypass this rule. See [[Dual_Check_Restrictions]] documentation for more details. |
||
|- |
|- |
||
|USE_EXPIREEXCESS |
|USE_EXPIREEXCESS |
||
Line 224: | Line 224: | ||
|- |
|- |
||
|WEATHER_FIELD |
|WEATHER_FIELD |
||
|Which airfield(s) to retrieve weather information from. Separate fields with a comma(e.g. "FALA,FAOR,iWeathar-799"). Weather details for these fields display on the booking sheet and print on the flight authorisation PDF document (except for backdated authorisations). Note that this field will pull weather from the aviation weather SA feed as well as from any iWeathar station - to use the iWeathar details you need your site installation id (e.g. 123) appended to "iWeathar-" (e.g. iWeathar-123) |
|||
|Which airfield to retrieve weather information from |
|||
|- |
|- |
||
|YEAR_START_MONTH |
|YEAR_START_MONTH |
Latest revision as of 17:13, 3 March 2022
This page is used to specify configuration settings for the installation of the Book A Flight system.
Settings in this page allow you to customise most aspects of how the system works. For details of what each entry on this page does please contact the staff at Book A Flight.
In some instances the system settings "values" must be a number, in other instances it must be a piece or text / email address. Where a value needs to be true or false please use 1=yes (true) and 0=No (false).
The Key | Explanation |
ACCOUNT_BALANCE_LIMIT | Rand value - people with account balances below this level will not be able to green tag. |
ADMIN_MAIL | Where to send email to for late cancelations and other significant events (see also the NOMAIL option) |
AUTH_BY_EMAIL | When set to true, the system will send Invoices to pilots by as PDF attachements to an email after each flight. |
AUTH_HIREANDFLY | When set to true, the system will generate a list of instructors on the autho sheet for a hire and fly flight. An instructor on duty must choose their name from the list and then provide their password as authentication that the hire and fly booking has been approved. |
BOOKING_MAIL_ADDRESS | The address that booking emails appear to come from (useful if people hit reply) |
BOOKING_MAIL_NAME | The name that booking emails appear to come from (useful if people hit reply) |
CLUB_ABBREVIATION | A short abbreviation for places where the full name is too long |
CLUB_ADDRESS | The address to print on invoices etc. |
CLUB_ATO | The ATO |
CLUB_EMAIL | The email address for the club or school |
CLUB_FAX | The fax number to print on invoices |
CLUB_NAME | The name of the school or club |
CLUB_PHONE | The phone number to print on invoices |
CLUB_SCHOOL | Should we use the word School or Club for this installation |
CLUB_TAGLINE | A tag line to print on invoices etc. |
CLUB_VATNUMBER | The VAT number for the club or school, for invoices |
CLUB_WEB | Link through to the web site for the club or school |
COA_WARN_DAYS | Days before COA expiry to start warning |
CRAFT | Aircraft of Helicopter icon for the button bar |
DEBIT_ACCOUNT_BALANCES | Debit account balances with each invoice generation |
DEBUG_LOG | Location for debug log file |
DEVNOTIFY | Notify developers of critical events (only switch this to true under instruction from Bookaflight staff) |
System mail notifications.Allowable values are [NONE, SUMMARY, DETAIL] | |
ENFORCE_PRIORITY | Force bookings onto higher priority aircraft (0=false/no; 1=true/yes). For details on how this works, please see the "Booking Group" and "Booking Priority" sections of the Aircraft documentation. This capability requires some changes by Book A Flight. To activate this feature please get in touch with your Book A Flight support contact. |
EXPORT_SALES_CODE | Include SALES CODES in Pastel export. Allowable values are NONE, FLIGHT_TYPE or INSTRUCTOR. See the "Sales Codes" section of the Pastel_Integration documentation section for details. |
EXPORTPASTELTO | eMail address to send invoice extracts to, or use FILE to have extracts downloaded directly |
FINGERPRINT_FILES | The path on the client PC used to store the fingerprint files |
HOME_FIELD | Home airfield |
HOME_FIELD_LANDING_CODE | Account code for landings at the home field. Must match the code in the Accounting system. |
HOME_FIELD_LANDING_FEE | Landing fees for the home field. Set to zero to suppress home field landing fees. |
INS_WARN_DAYS | Days before Insurance expiry to start warning |
INSTRUCTION_PADDING | How much to pad the instructors time for flights, to allow for admin and paperwork |
INVOICE_BRIEF | Number of hours after a briefing that the invoice can still be generated |
INVOICE_LINE_1 | The Pastel accounting package allows three fields of up to 30 characters each to be included in an invoice export such that these fields print onto the invoice when it is rendered within Pastel. These fields are typically used to indicate the banking details that should be used for payment. Details for PASTEL invoice - line 1 (30 chars max) |
INVOICE_LINE_2 | Details for PASTEL invoice - line 2 (30 chars max) |
INVOICE_LINE_3 | Details for PASTEL invoice - line 3 (30 chars max) |
INVOICE_PREFIX | Prefix to add to invoice numbers during the export process |
LATITUDE | Location of runway (used to calculate sunrise and sunset times) |
LONGDURATION_HOURS | How long a booking can be by someone holding the BOOKING_LONGDURATION key |
LONGITUDE | Location of runway (used to calculate sunrise and sunset times) |
MAINT_EMAIL | Email address to send maintenance notifications to. Use "NONE" to suppress maintenance email notifications. If set, an email will be sent to this address with details of all maintenance entries as these are loaded against an aircraft. |
MASS_WARN_DAYS | Days before Mass & Balance expiry to start warning |
MAXDATE | Number of days in the future that normal students can book (pages in the booking sheet) |
MONTH_END_DAY | Last day of the financial month - days beyond this fall into the next reporting period |
MPI_WARN_DAYS | Days before MPI to start warning |
MPI_WARN_HOURS | Hours before MPI to start warning |
OIL_WARN_HOURS | Hours before oil change to start warning |
PRINT_AUTH | Switch printing of authorization sheet on |
PRINT_AUTH_IF_PAX | Print authorization sheet only if there are passengers |
PRINT_COMMAND | Use SCREEN to have PDFs open on the screen, otherwise use path to script file e.g. /home/bookings/print_to_canon.sh |
PRINT_INVOICE | Switch printing of invoice on |
RECENCY_DAYS | Max number of days since last flight before the next flight HAS to be DUAL. Set to zero (0) to bypass recency logic. For details see the Recency documentation. |
RSL_WARN_DAYS | Days before Radio Station Licence expiry to start warning |
SAR_HOURS | Search-and-Rescue Hours (start comma stop) - usually 1,8 to initiate S-and-R when 1 hour overdue and stop after 8 hours. Use 0,0 to disable search-and-rescue |
SAR_NOTIFY | Search-and-Rescue Notification : List of cellphone numbers, separated by commas. Use international dialing convention without the + |
SCHOOL_LEVY_CODE | Accounting system code to use for School Levy line items |
SCHOOL_LEVY_RATE | Percentage of Instruction and Briefing costs to be added to invoices as a school levy |
SHORTDURATION_HOURS | How long a booking can be by someone not holding the BOOKING_LONGDURATION key |
SHOW_INSTRUCTOR_RATES | Defaults to TRUE, in which case the rand value of instruction is displayed in the Instructor Activity screen. If set to false, the rand value is not displayed. |
SLOTLENGTH | The default slot length of a booking. |
SMS_NOTIFY | Send SMS message to pilots when a booking is made (requires pre-purchased credits) |
SMS_REMINDER | Send SMS messaging (reminder) to pilots this many hours ahead of a booking start. Set to zero to send NO reminders (requires pre-purchased credits) |
SOLO_HRS_LIMIT | Max hours of SOLO flight before DUAL flight warning during flight autho. Applies to AB and SPL licence types only. Set to zero (0) to bypass this rule. During flight authorisation the system will check (if the flight instruction type is “SOLO”) to see how many hours of solo flight this pilot has flown since they last flew a DUAL flight. If the solo hours flown (since last dual flight) are less than the configured value then the “hours flown” is shown in normal “notification” font style. If the hours are more, then a red boxed warning is shown. Note that this does NOT block the flight authorisation – the instructor still has discretion to allow the flight to proceed. We recommend that you set this value to an hour (or more) less than the upper limit you wish to allow, so that students (and instructors) get a warning while there is still an hour or two left, before a dual flight would be mandated. The SOLO flight rules are also applied during the green-tag process, but pilots who have exceeded the solo flight limit are still allowed to green-tag (but with a warning message) so that they are able to plan to undertake a DUAL instruction flight. |
SWING_WARN_DAYS | Days before Compass swing expiry to start warning |
TBO_WARN_HOURS | Hours before TBO to start warning |
TIMEZONE | Timezone for the club/school |
USE_EXPIRECLUB | Check the club membership expiary as part of the Red Tag System |
USE_EXPIREDUALCHECK_DATE | Require Dual Check expiary as part of the Red Tag System (0=false, 1=true) |
USE_EXPIREDUALCHECK_HRS | Max hours of flight time (all flight types) before DUAL CHECK flight warning during flight autho. Set to zero (0) to bypass this rule. See Dual_Check_Restrictions documentation for more details. |
USE_EXPIREEXCESS | Require excess insurance expiary as part of the Red Tag System |
VATRATE | The VAT rate for the club or school.If not registered as a VAT vender then set this to 0 |
WEATHER_FIELD | Which airfield(s) to retrieve weather information from. Separate fields with a comma(e.g. "FALA,FAOR,iWeathar-799"). Weather details for these fields display on the booking sheet and print on the flight authorisation PDF document (except for backdated authorisations). Note that this field will pull weather from the aviation weather SA feed as well as from any iWeathar station - to use the iWeathar details you need your site installation id (e.g. 123) appended to "iWeathar-" (e.g. iWeathar-123) |
YEAR_START_MONTH | Which month of the year is the start of the financial year (Pastel reporting period) |