Difference between revisions of "Siteconfig"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
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. |
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. |
||
{| |
|||
|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 |
|||
|Send Invoices as PDF attachements to pilots by email after each flight. (1=Yes, 0=No) |
|||
|- |
|||
|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) |
|||
|- |
|||
|eMAIL |
|||
|System mail notifications.Allowable values are [NONE, SUMMARY, DETAIL] |
|||
|- |
|||
|ENFORCE_PRIORITY |
|||
|Force bookings onto higher priority aircraft (0=false/no; 1=true/yes) |
|||
|- |
|||
|EXPORT_SALES_CODE |
|||
|Include SALES CODES in Pastel export. Allowable values are NONE, FLIGHT_TYPE or INSTRUCTOR |
|||
|- |
|||
|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 - for weather updates |
|||
|- |
|||
|HOME_FIELD_LANDING_CODE |
|||
|Account code for landings at the home field |
|||
|- |
|||
|HOME_FIELD_LANDING_FEE |
|||
|Landing fees for the home field |
|||
|- |
|||
|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 |
|||
|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 |
|||
|- |
|||
|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. |
|||
|- |
|||
|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 |
|||
|- |
|||
|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 |
|||
|- |
|||
|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 |
|||
|- |
|||
|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 to retrieve weather information from |
|||
|- |
|||
|YEAR_START_MONTH |
|||
|Which month of the year is the start of the financial year (Pastel reporting period) |
|||
|} |
Revision as of 08:55, 3 July 2021
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.
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 | Send Invoices as PDF attachements to pilots by email after each flight. (1=Yes, 0=No) |
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) |
EXPORT_SALES_CODE | Include SALES CODES in Pastel export. Allowable values are NONE, FLIGHT_TYPE or INSTRUCTOR |
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 - for weather updates |
HOME_FIELD_LANDING_CODE | Account code for landings at the home field |
HOME_FIELD_LANDING_FEE | Landing fees for the home field |
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 | 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 |
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. |
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 |
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 |
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 |
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 to retrieve weather information from |
YEAR_START_MONTH | Which month of the year is the start of the financial year (Pastel reporting period) |