<?
$yearNow = date('Y');
$yearLast = $yearNow - 1;
// Array
$arrStatus = array ('I' => 'Inactive', 'A' => 'Active', 'H' => 'Hold', 'D' => 'Delete', 'F' => 'Finish' );
$arrPaymenttype = array ('CA' => 'Cash', 'CHQ' => 'Cheque', 'DIRECT' => 'Direct Deposit', 'DONATION' => 'Donation', 'EFT' => 'EFT',
													'ETR' => 'E-Transfer', 'FREE' => 'Free Account', 'GT' => 'Grease Trap Service', 'CREDIT'  => 'Credit Card');

$arrBin = array ('D' => '200L Drum', '400B' => '400L Bin', '500B' => '500L Bin', '600B' => '600L Bin', 
									'700B' => '700L Bin', '800B' => '800L Bin', '1000B' => '1000L Bin', 
									'OB' => 'Owner\'s Bin' ,'OD' => 'Owner\'s Drum' , 'P' => 'Bucket', 'CB' => 'Customized Bin');

$arrForm = array ('Not Yet' => 'Not Yet', 'Paper' => 'Paper', 'Electronic' => 'Electronic' );
$arrSchedule = array ('None' => 'None', '1W' => '1W', '2W' => '2W', '3W' => '3W', '4W' => '4W', '5W' => '5W', '6W' => '6W', 'Will Call' => 'Will Call' );
$arrSalesMethod = array ('New/call' => 'New/call', 'New/visit' => 'New/visit', 'OC/call' => 'OC/call', 'OC/visit' => 'OC/visit' );
$arrPaymentCycle = array ('A' => 'A', 'B' => 'B', 'C' => 'C', 'D' => 'D', 'F' => 'F', 'M' => 'M', 'Y' => 'Y', 'PAY STOP' => 'PAY STOP' );

$arrNoteType = array ('B' => 'Accounting', 'S' => 'Staff', 'D' => 'Driver', 'A' => 'All' );
$arrPaidStatus = array ('P' => 'Paid', 'N' => 'UnPaid', 'G' => 'Paid (Grease Trap)');

$arrMemberLevel = array ('1' => 'Administrator', '5' => 'Staff', '6' => 'Accounting', '7' => 'Sales', '8' => 'Install Driver', '9' => 'UCO Driver', '10' => 'Sales Agent' );

//$arrClass = array ('M' => 'Math', 'P' => 'Physics', 'C' => 'Chemistry', 'B' => 'Biology', 'S' => 'Science', 'O' => 'Others' );
//$arrLevel = array ('A' => 'All', '1' => 'Basic', '2' => 'Intermediate', '3' => 'Advanced');
//$arrGrade = array ('G01' => 'Grade 1', 'G02' => 'Grade 2', 'G03' => 'Grade 3', 'G04' => 'Grade 4', 
//									'G05' => 'Grade 5', 'G06' => 'Grade 6', 'G07' => 'Grade 7', 'G08' => 'Grade 8', 
//									'G09' => 'Grade 9', 'G10' => 'Grade 10', 'G11' => 'Grade 11', 'G12' => 'Grade 12', 'U01' => 'University 1', 'U02' => 'University 2');


$customerArray = array(
				"c_accountno"=>"Account No", "c_status"=>"Account Status", "c_name"=>"Restaurant Name", "c_driveruid"=>"Driver", "c_address"=>"Address",
				"c_city"=>"City", "c_postal"=>"Postal Code", "c_area"=>"Area", "c_phone"=>"Phone", "c_phoneext"=>"Ext",
				"c_cell"=>"Cell", "c_rate"=>"Rate", "c_paymenttype"=>"Payment", "c_maincontainer"=>"Main Container",
				"c_container"=>"Container Detail", "c_location"=>"Container Location", "c_schedule"=>"Pickup Schedule", "c_scheduleday"=>"Pickup Weekday", 
				"c_fullcycle"=>"Cycle", "c_fullcycleforced"=>"Forced Cycle", "c_sludge"=>"Sludge", 
				"c_expoilmonth"=>"Expected Oil Vol per Month", "c_hstno"=>"HST No", "c_identcode"=>"Identification Code", 
				"c_comment_ri"=>"Comment", "c_contractdate"=>"Contract Date",
				"c_form_new"=>"Form", "c_form_us"=>"US", "c_form_eu"=>"EU Date", "c_form_corsia"=>"CORSIA Date", "c_contractby"=>"Contact By", "c_email"=>"Email",
				"c_removaldate"=>"Removal Date", "c_salesperson"=>"Sales Person", "c_salesmethod"=>"Sales Method", "c_salescommissiondate"=>"Sale Commission Date", "c_installdate"=>"Install Date",
				"c_fpickup"=>"First Pickup Date", "c_inactivedate"=>"Inactive Date", "c_switchformdate"=>"Switch Form Date", "c_exchangedate"=>"Container Exc. Date",
				"c_payableto"=>"Payable To", "c_paymentcycle"=>"Payment Cycle", "c_mailingaddr"=>"Mailing Address", "c_comment_ci"=>"Comment2",
				"c_geolat"=>"Latitude", "c_geolon"=>"Longitude", "n_customeruid"=>"Note"
				);

$oilhistoryArray = array(
				"c_accountno"=>"Account No", "c_status"=>"Account Status", "c_name"=>"Restaurant Name", "c_driveruid"=>"Driver", "c_address"=>"Address",
				"c_city"=>"City", "c_postal"=>"Postal Code", "c_area"=>"Area", "c_phone"=>"Phone", "c_phoneext"=>"Ext",
				"c_cell"=>"Cell", "c_rate"=>"Rate", "c_paymenttype"=>"Payment", "c_maincontainer"=>"Main Container",
				"c_container"=>"Container Detail", "c_location"=>"Container Location", "c_schedule"=>"Pickup Schedule", "c_scheduleday"=>"Pickup Weekday", 
				"c_fullcycle"=>"Cycle", "c_fullcycleforced"=>"Forced Cycle", "c_sludge"=>"Basic Sludge", "c_comment_ri"=>"Comment", "c_contractdate"=>"Contract Date",
				"c_form_new"=>"Form", "c_form_us"=>"US", "c_form_eu"=>"EU Date", "c_form_corsia"=>"CORSIA Date", "c_contractby"=>"Contact By", "c_email"=>"Email",
				"c_removaldate"=>"Removal Date", "c_salesperson"=>"Sales Person", "c_salesmethod"=>"Sales Method", "c_salescommissiondate"=>"Sale Commission Date", "c_installdate"=>"Install Date",
				"c_fpickup"=>"First Pickup Date", "c_payableto"=>"Payable To", "c_paymentcycle"=>"Payment Cycle", "c_mailingaddr"=>"Mailing Address", "c_comment_ci"=>"Comment2",
				"c_expoilmonth"=>"Expected Oil Vol per Month", "c_hstno"=>"HST No", "c_identcode"=>"Identification Code", 
				"c_geolat"=>"Latitude", "c_geolon"=>"Longitude",
				"d_inputdate"=>"Pickup Date","d_quantity"=>"Oil Quantity", "d_sludge"=>"Sludge"
				);
// "d_payamount"=>"Paid (Cash)"

$orderArray = array(
				"d_nameSTR"=>"Restaurant Name", "d_accountno"=>"Account No", "d_driveruidSTR"=>"Driver", 
				"d_maincontainerSTR"=>"Main Container", "d_container"=>"Container Detail", 
				"d_paymenttypeSTR"=>"Payment", "d_rate"=>"Rate", "d_address"=>"Address", "d_city"=>"City",
				"getLastYearQ"=>"Last Year", "getThisYearQ"=>"This Year",
				"d_fullcycleSTR"=>"Cycle",
				"d_lastpickupdate"=>"Last Pickup Date", "d_lastpickupquantity"=>"Last Quantity", 
				"d_estquantitySTR"=>"Forecast", "d_quantitySTR"=>"Actual", "d_lastpaiddate"=>"Last Paid Date"
				);
					

$oilHistorySUMArray = array(
				"max_nameSTR"=>"Restaurant Name", "max_accountnoSTR"=>"Account No", "max_driverSTR"=>"Driver", 
				"max_paymenttype"=>"Payment", "max_rateSTR"=>"Rate", "max_sludgeSTR"=>"Sludge", "max_cycle"=>"Payment Cycle", "max_addressSTR"=>"Address", 
				"get1MonQ"=>"1M", "get2MonQ"=>"2M",	"get3MonQ"=>"3M", "get4MonQ"=>"4M", 
				"get2_4MonQ"=>"2-4M", "get1_12MonQ"=>"Yearly"
				);

$receiptArray = array(
				"d_visitdateSTR"=>"Date", "d_nameSTR"=>"Restaurant Name", "d_accountnoSTR"=>"Account No", "d_addressSTR"=>"Address", 
				"d_driverSTR"=>"Driver", "d_quantity"=>"Oil Quantity", "d_payamount"=>"Paid"
				);

$forecastArray = array(
				"list_numberSTR"=>"No"
				, "c_nameSTR"=>"Restaurant Name"
				, "c_accountno"=>"Account"
				, "c_maincontainer"=>"Container"
				, "c_containerSTR"=>"Detail"
				, "c_paymenttype"=>"Payment"
				, "c_rate"=>"Rate"
				, "c_addressSTR"=>"Address"
				, "c_city"=>"City"
				, "getLastYearQ"=>$yearLast
				, "getThisYearQ"=>$yearNow
				, "c_fullcycleSTR"=>"Cycle"
				, "c_mainvolume"=>"Main Vol."
				, "c_lastpickupdateSTR"=>"Last PU"
				, "c_fullquantitySTR"=>"Liter"
				);				
?>