Difference between revisions of "Siteconfig"

From Book A Flight
Jump to navigation Jump to search
Line 3: Line 3:
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.


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).


{|
{|
Line 15: Line 16:
|-
|-
|AUTH_BY_EMAIL
|AUTH_BY_EMAIL
|Send Invoices as PDF attachements to pilots by email after each flight. (1=Yes, 0=No)
|When set to true, the system will send Invoices to pilots by as PDF attachements to an email after each flight.
|-
|-
|BOOKING_MAIL_ADDRESS
|BOOKING_MAIL_ADDRESS
Line 87: Line 88:
|-
|-
|HOME_FIELD
|HOME_FIELD
|Home airfield - for weather updates
|Home airfield
|-
|-
|HOME_FIELD_LANDING_CODE
|HOME_FIELD_LANDING_CODE
|Account code for landings at the home field
|Account code for landings at the home field. Must match the code in the Accounting system.
|-
|-
|HOME_FIELD_LANDING_FEE
|HOME_FIELD_LANDING_FEE
|Landing fees for the home field
|Landing fees for the home field. Set to zero to suppress home field landing fees.
|-
|-
|INS_WARN_DAYS
|INS_WARN_DAYS
Line 178: Line 179:
|SHORTDURATION_HOURS
|SHORTDURATION_HOURS
|How long a booking can be by someone not holding the BOOKING_LONGDURATION key
|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
|SLOTLENGTH

Revision as of 09:03, 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.

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.
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
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 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
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
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)