mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 02:11:38 -04:00
Saves state for waiver & email_list, and more
1). Adds configuration options to turn off waiver & email_list options 2). Puts waiver in Connections/waiver.txt 3). New MySQL waiver column added, receive_newsletter used for email_list.
This commit is contained in:
@@ -1,12 +1,20 @@
|
||||
<?php
|
||||
require_once('YBDB.php');
|
||||
|
||||
// Allow waiver (recommended) in Add/Edit Contacts; 1 = yes, 0 = no
|
||||
// Waiver text may be modified in Connections/waiver.txt
|
||||
define("WAIVER", 1);
|
||||
|
||||
// Allow email_list option in Add/Edit Contacts; 1 = yes, 0 = no
|
||||
define("EMAIL_LIST", 1);
|
||||
|
||||
// User defined constants - read sql/populate.sql for an explanation
|
||||
define("STORAGE_PERIOD", 14);
|
||||
define("ACCOUNTING_GROUP", "Sales");
|
||||
define("DEFAULT_TRANSACTION_TYPE", "Sale - Used Parts");
|
||||
define("DEFAULT_SHOP_USER", "Volunteer");
|
||||
|
||||
|
||||
/* Change Fund - A specific amount of money for the purpose of making change.
|
||||
The amount on hand should remain the same at all times;
|
||||
therefore a change funds does not require replenishment.
|
||||
|
||||
Reference in New Issue
Block a user