<?php



$tdataYearlyFinancialsbyGraduated = array();
$tdataYearlyFinancialsbyGraduated[".searchableFields"] = array();
$tdataYearlyFinancialsbyGraduated[".ShortName"] = "YearlyFinancialsbyGraduated";
$tdataYearlyFinancialsbyGraduated[".OwnerID"] = "";
$tdataYearlyFinancialsbyGraduated[".OriginalTable"] = "applicform";


$defaultPages = my_json_decode( "{\"report\":\"report\",\"rprint\":\"rprint\",\"search\":\"search\"}" );

$tdataYearlyFinancialsbyGraduated[".pagesByType"] = my_json_decode( "{\"report\":[\"report\"],\"rprint\":[\"rprint\"],\"search\":[\"search\"]}" );
$tdataYearlyFinancialsbyGraduated[".pages"] = types2pages( my_json_decode( "{\"report\":[\"report\"],\"rprint\":[\"rprint\"],\"search\":[\"search\"]}" ) );
$tdataYearlyFinancialsbyGraduated[".defaultPages"] = $defaultPages;

//	field labels
$fieldLabelsYearlyFinancialsbyGraduated = array();
$fieldToolTipsYearlyFinancialsbyGraduated = array();
$pageTitlesYearlyFinancialsbyGraduated = array();
$placeHoldersYearlyFinancialsbyGraduated = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsYearlyFinancialsbyGraduated["English"] = array();
	$fieldToolTipsYearlyFinancialsbyGraduated["English"] = array();
	$placeHoldersYearlyFinancialsbyGraduated["English"] = array();
	$pageTitlesYearlyFinancialsbyGraduated["English"] = array();
	$fieldLabelsYearlyFinancialsbyGraduated["English"]["StudentSchoolID"] = "Student School ID";
	$fieldToolTipsYearlyFinancialsbyGraduated["English"]["StudentSchoolID"] = "";
	$placeHoldersYearlyFinancialsbyGraduated["English"]["StudentSchoolID"] = "";
	$fieldLabelsYearlyFinancialsbyGraduated["English"]["Surname"] = "Surname";
	$fieldToolTipsYearlyFinancialsbyGraduated["English"]["Surname"] = "";
	$placeHoldersYearlyFinancialsbyGraduated["English"]["Surname"] = "";
	$fieldLabelsYearlyFinancialsbyGraduated["English"]["FirstName"] = "First Name";
	$fieldToolTipsYearlyFinancialsbyGraduated["English"]["FirstName"] = "";
	$placeHoldersYearlyFinancialsbyGraduated["English"]["FirstName"] = "";
	$fieldLabelsYearlyFinancialsbyGraduated["English"]["Graduated"] = "Graduated";
	$fieldToolTipsYearlyFinancialsbyGraduated["English"]["Graduated"] = "";
	$placeHoldersYearlyFinancialsbyGraduated["English"]["Graduated"] = "";
	$fieldLabelsYearlyFinancialsbyGraduated["English"]["FirstYearFee"] = "First Year Fee";
	$fieldToolTipsYearlyFinancialsbyGraduated["English"]["FirstYearFee"] = "";
	$placeHoldersYearlyFinancialsbyGraduated["English"]["FirstYearFee"] = "";
	$fieldLabelsYearlyFinancialsbyGraduated["English"]["SecondYearFee"] = "Second Year Fee";
	$fieldToolTipsYearlyFinancialsbyGraduated["English"]["SecondYearFee"] = "";
	$placeHoldersYearlyFinancialsbyGraduated["English"]["SecondYearFee"] = "";
	$fieldLabelsYearlyFinancialsbyGraduated["English"]["ThirdYearFee"] = "Third Year Fee";
	$fieldToolTipsYearlyFinancialsbyGraduated["English"]["ThirdYearFee"] = "";
	$placeHoldersYearlyFinancialsbyGraduated["English"]["ThirdYearFee"] = "";
	$fieldLabelsYearlyFinancialsbyGraduated["English"]["FourthYearFee"] = "Fourth Year Fee";
	$fieldToolTipsYearlyFinancialsbyGraduated["English"]["FourthYearFee"] = "";
	$placeHoldersYearlyFinancialsbyGraduated["English"]["FourthYearFee"] = "";
	$fieldLabelsYearlyFinancialsbyGraduated["English"]["FifthYearFee"] = "Fifth Year Fee";
	$fieldToolTipsYearlyFinancialsbyGraduated["English"]["FifthYearFee"] = "";
	$placeHoldersYearlyFinancialsbyGraduated["English"]["FifthYearFee"] = "";
	$fieldLabelsYearlyFinancialsbyGraduated["English"]["StudentTotall"] = "Student Totall";
	$fieldToolTipsYearlyFinancialsbyGraduated["English"]["StudentTotall"] = "";
	$placeHoldersYearlyFinancialsbyGraduated["English"]["StudentTotall"] = "";
	if (count($fieldToolTipsYearlyFinancialsbyGraduated["English"]))
		$tdataYearlyFinancialsbyGraduated[".isUseToolTips"] = true;
}


	$tdataYearlyFinancialsbyGraduated[".NCSearch"] = true;



$tdataYearlyFinancialsbyGraduated[".shortTableName"] = "YearlyFinancialsbyGraduated";
$tdataYearlyFinancialsbyGraduated[".nSecOptions"] = 0;

$tdataYearlyFinancialsbyGraduated[".mainTableOwnerID"] = "";
$tdataYearlyFinancialsbyGraduated[".entityType"] = 2;

$tdataYearlyFinancialsbyGraduated[".strOriginalTableName"] = "applicform";

	



$tdataYearlyFinancialsbyGraduated[".showAddInPopup"] = false;

$tdataYearlyFinancialsbyGraduated[".showEditInPopup"] = false;

$tdataYearlyFinancialsbyGraduated[".showViewInPopup"] = false;

//page's base css files names
$popupPagesLayoutNames = array();
$tdataYearlyFinancialsbyGraduated[".popupPagesLayoutNames"] = $popupPagesLayoutNames;


$tdataYearlyFinancialsbyGraduated[".listAjax"] = false;
//	temporary
$tdataYearlyFinancialsbyGraduated[".listAjax"] = false;

	$tdataYearlyFinancialsbyGraduated[".audit"] = false;

	$tdataYearlyFinancialsbyGraduated[".locking"] = false;


$pages = $tdataYearlyFinancialsbyGraduated[".defaultPages"];

if( $pages[PAGE_EDIT] ) {
	$tdataYearlyFinancialsbyGraduated[".edit"] = true;
	$tdataYearlyFinancialsbyGraduated[".afterEditAction"] = 1;
	$tdataYearlyFinancialsbyGraduated[".closePopupAfterEdit"] = 1;
	$tdataYearlyFinancialsbyGraduated[".afterEditActionDetTable"] = "";
}

if( $pages[PAGE_ADD] ) {
$tdataYearlyFinancialsbyGraduated[".add"] = true;
$tdataYearlyFinancialsbyGraduated[".afterAddAction"] = 1;
$tdataYearlyFinancialsbyGraduated[".closePopupAfterAdd"] = 1;
$tdataYearlyFinancialsbyGraduated[".afterAddActionDetTable"] = "";
}

if( $pages[PAGE_LIST] ) {
	$tdataYearlyFinancialsbyGraduated[".list"] = true;
}

$tdataYearlyFinancialsbyGraduated[".updateSelected"] = true;


$tdataYearlyFinancialsbyGraduated[".strSortControlSettingsJSON"] = "";




if( $pages[PAGE_VIEW] ) {
$tdataYearlyFinancialsbyGraduated[".view"] = true;
}

if( $pages[PAGE_IMPORT] ) {
$tdataYearlyFinancialsbyGraduated[".import"] = true;
}

if( $pages[PAGE_EXPORT] ) {
$tdataYearlyFinancialsbyGraduated[".exportTo"] = true;
}

if( $pages[PAGE_PRINT] ) {
$tdataYearlyFinancialsbyGraduated[".printFriendly"] = true;
}



$tdataYearlyFinancialsbyGraduated[".showSimpleSearchOptions"] = true; // temp fix #13449

// Allow Show/Hide Fields in GRID
$tdataYearlyFinancialsbyGraduated[".allowShowHideFields"] = true; // temp fix #13449
//

// Allow Fields Reordering in GRID
$tdataYearlyFinancialsbyGraduated[".allowFieldsReordering"] = true; // temp fix #13449
//

$tdataYearlyFinancialsbyGraduated[".isUseAjaxSuggest"] = true;




						

$tdataYearlyFinancialsbyGraduated[".ajaxCodeSnippetAdded"] = false;

$tdataYearlyFinancialsbyGraduated[".buttonsAdded"] = false;

$tdataYearlyFinancialsbyGraduated[".addPageEvents"] = false;

// use timepicker for search panel
$tdataYearlyFinancialsbyGraduated[".isUseTimeForSearch"] = false;




$tdataYearlyFinancialsbyGraduated[".allSearchFields"] = array();
$tdataYearlyFinancialsbyGraduated[".filterFields"] = array();
$tdataYearlyFinancialsbyGraduated[".requiredSearchFields"] = array();

$tdataYearlyFinancialsbyGraduated[".googleLikeFields"] = array();
$tdataYearlyFinancialsbyGraduated[".googleLikeFields"][] = "Surname";
$tdataYearlyFinancialsbyGraduated[".googleLikeFields"][] = "FirstName";
$tdataYearlyFinancialsbyGraduated[".googleLikeFields"][] = "StudentSchoolID";
$tdataYearlyFinancialsbyGraduated[".googleLikeFields"][] = "FirstYearFee";
$tdataYearlyFinancialsbyGraduated[".googleLikeFields"][] = "SecondYearFee";
$tdataYearlyFinancialsbyGraduated[".googleLikeFields"][] = "ThirdYearFee";
$tdataYearlyFinancialsbyGraduated[".googleLikeFields"][] = "FourthYearFee";
$tdataYearlyFinancialsbyGraduated[".googleLikeFields"][] = "FifthYearFee";
$tdataYearlyFinancialsbyGraduated[".googleLikeFields"][] = "Graduated";
$tdataYearlyFinancialsbyGraduated[".googleLikeFields"][] = "StudentTotall";



$tdataYearlyFinancialsbyGraduated[".tableType"] = "report";

$tdataYearlyFinancialsbyGraduated[".printerPageOrientation"] = 0;
$tdataYearlyFinancialsbyGraduated[".nPrinterPageScale"] = 100;

$tdataYearlyFinancialsbyGraduated[".nPrinterSplitRecords"] = 40;

$tdataYearlyFinancialsbyGraduated[".geocodingEnabled"] = false;

//report settings
$tdataYearlyFinancialsbyGraduated[".printReportLayout"] = 6;

$tdataYearlyFinancialsbyGraduated[".reportPrintPartitionType"] = 1;
$tdataYearlyFinancialsbyGraduated[".reportPrintGroupsPerPage"] = 40;
$tdataYearlyFinancialsbyGraduated[".lowGroup"] = 0;



$tdataYearlyFinancialsbyGraduated[".pageSize"] = 20;


$tdataYearlyFinancialsbyGraduated[".isExistTotalFields"] = true;




$tdataYearlyFinancialsbyGraduated[".repShowDet"] = true;

$tdataYearlyFinancialsbyGraduated[".reportLayout"] = 6;

//end of report settings



$tdataYearlyFinancialsbyGraduated[".isDisplayLoading"] = true;







$tstrOrderBy = "";
if(strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
	$tstrOrderBy = "order by ".$tstrOrderBy;
$tdataYearlyFinancialsbyGraduated[".strOrderBy"] = $tstrOrderBy;

$tdataYearlyFinancialsbyGraduated[".orderindexes"] = array();

$tdataYearlyFinancialsbyGraduated[".sqlHead"] = "  SELECT Surname,  FirstName,  StudentSchoolID,  (`1styearFee`+ Repeatd1stYearFee) AS FirstYearFee,  (Fee2ndYear+Repeat2ndYearFee) AS SecondYearFee,  (Fee3rdYear+Repeatd3rdYrFee) AS ThirdYearFee,  (Fee4thYear)+(Repeat4thYrFee) AS FourthYearFee,  (Fee5thYear+Repeat5thYrFEE) AS FifthYearFee,  Graduated,  (`1styearFee`+Repeatd1stYearFee+Fee2ndYear+Repeat2ndYearFee+Fee3rdYear+Repeatd3rdYrFee+Fee4thYear+Repeat4thYrFee+Fee5thYear+Repeat5thYrFEE) AS StudentTotall";
$tdataYearlyFinancialsbyGraduated[".sqlFrom"] = "FROM applicform";
$tdataYearlyFinancialsbyGraduated[".sqlWhereExpr"] = "(Graduated IS TRUE) AND (FatherDistrict is Not null)";
$tdataYearlyFinancialsbyGraduated[".sqlTail"] = "";










//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdataYearlyFinancialsbyGraduated[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdataYearlyFinancialsbyGraduated[".arrGroupsPerPage"] = $arrGPP;

$tdataYearlyFinancialsbyGraduated[".highlightSearchResults"] = true;

$tableKeysYearlyFinancialsbyGraduated = array();
$tdataYearlyFinancialsbyGraduated[".Keys"] = $tableKeysYearlyFinancialsbyGraduated;


$tdataYearlyFinancialsbyGraduated[".hideMobileList"] = array();




//	Surname
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "Surname";
	$fdata["GoodName"] = "Surname";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyGraduated","Surname");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "Surname";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Surname";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataYearlyFinancialsbyGraduated["Surname"] = $fdata;
		$tdataYearlyFinancialsbyGraduated[".searchableFields"][] = "Surname";
//	FirstName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "FirstName";
	$fdata["GoodName"] = "FirstName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyGraduated","FirstName");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "FirstName";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FirstName";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataYearlyFinancialsbyGraduated["FirstName"] = $fdata;
		$tdataYearlyFinancialsbyGraduated[".searchableFields"][] = "FirstName";
//	StudentSchoolID
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "StudentSchoolID";
	$fdata["GoodName"] = "StudentSchoolID";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyGraduated","StudentSchoolID");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "StudentSchoolID";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "StudentSchoolID";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataYearlyFinancialsbyGraduated["StudentSchoolID"] = $fdata;
		$tdataYearlyFinancialsbyGraduated[".searchableFields"][] = "StudentSchoolID";
//	FirstYearFee
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "FirstYearFee";
	$fdata["GoodName"] = "FirstYearFee";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyGraduated","FirstYearFee");
	$fdata["FieldType"] = 5;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "FirstYearFee";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "(`1styearFee`+ Repeatd1stYearFee)";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Currency");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "number";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataYearlyFinancialsbyGraduated["FirstYearFee"] = $fdata;
		$tdataYearlyFinancialsbyGraduated[".searchableFields"][] = "FirstYearFee";
//	SecondYearFee
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "SecondYearFee";
	$fdata["GoodName"] = "SecondYearFee";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyGraduated","SecondYearFee");
	$fdata["FieldType"] = 5;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "SecondYearFee";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "(Fee2ndYear+Repeat2ndYearFee)";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Currency");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "number";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataYearlyFinancialsbyGraduated["SecondYearFee"] = $fdata;
		$tdataYearlyFinancialsbyGraduated[".searchableFields"][] = "SecondYearFee";
//	ThirdYearFee
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "ThirdYearFee";
	$fdata["GoodName"] = "ThirdYearFee";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyGraduated","ThirdYearFee");
	$fdata["FieldType"] = 5;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "ThirdYearFee";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "(Fee3rdYear+Repeatd3rdYrFee)";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Currency");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "number";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataYearlyFinancialsbyGraduated["ThirdYearFee"] = $fdata;
		$tdataYearlyFinancialsbyGraduated[".searchableFields"][] = "ThirdYearFee";
//	FourthYearFee
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "FourthYearFee";
	$fdata["GoodName"] = "FourthYearFee";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyGraduated","FourthYearFee");
	$fdata["FieldType"] = 5;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "FourthYearFee";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "(Fee4thYear)+(Repeat4thYrFee)";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Currency");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "number";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataYearlyFinancialsbyGraduated["FourthYearFee"] = $fdata;
		$tdataYearlyFinancialsbyGraduated[".searchableFields"][] = "FourthYearFee";
//	FifthYearFee
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "FifthYearFee";
	$fdata["GoodName"] = "FifthYearFee";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyGraduated","FifthYearFee");
	$fdata["FieldType"] = 5;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "FifthYearFee";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "(Fee5thYear+Repeat5thYrFEE)";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Currency");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "number";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataYearlyFinancialsbyGraduated["FifthYearFee"] = $fdata;
		$tdataYearlyFinancialsbyGraduated[".searchableFields"][] = "FifthYearFee";
//	Graduated
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "Graduated";
	$fdata["GoodName"] = "Graduated";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyGraduated","Graduated");
	$fdata["FieldType"] = 3;

		// report field settings
					// end of report field settings

	
	
			

		$fdata["strField"] = "Graduated";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Graduated";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "number";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataYearlyFinancialsbyGraduated["Graduated"] = $fdata;
		$tdataYearlyFinancialsbyGraduated[".searchableFields"][] = "Graduated";
//	StudentTotall
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "StudentTotall";
	$fdata["GoodName"] = "StudentTotall";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyGraduated","StudentTotall");
	$fdata["FieldType"] = 5;

		// report field settings
					$fdata["isTotalSum"] = true;
	// end of report field settings

	
	
			

		$fdata["strField"] = "StudentTotall";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "(`1styearFee`+Repeatd1stYearFee+Fee2ndYear+Repeat2ndYearFee+Fee3rdYear+Repeatd3rdYrFee+Fee4thYear+Repeat4thYrFee+Fee5thYear+Repeat5thYrFEE)";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Currency");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["report"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "number";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
	
			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataYearlyFinancialsbyGraduated["StudentTotall"] = $fdata;
		$tdataYearlyFinancialsbyGraduated[".searchableFields"][] = "StudentTotall";


$tables_data["YearlyFinancialsbyGraduated"]=&$tdataYearlyFinancialsbyGraduated;
$field_labels["YearlyFinancialsbyGraduated"] = &$fieldLabelsYearlyFinancialsbyGraduated;
$fieldToolTips["YearlyFinancialsbyGraduated"] = &$fieldToolTipsYearlyFinancialsbyGraduated;
$placeHolders["YearlyFinancialsbyGraduated"] = &$placeHoldersYearlyFinancialsbyGraduated;
$page_titles["YearlyFinancialsbyGraduated"] = &$pageTitlesYearlyFinancialsbyGraduated;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["YearlyFinancialsbyGraduated"] = array();

// tables which are master tables for current table (detail)
$masterTablesData["YearlyFinancialsbyGraduated"] = array();



// -----------------end  prepare master-details data arrays ------------------------------//


require_once(getabspath("classes/sql.php"));










function createSqlQuery_YearlyFinancialsbyGraduated()
{
$proto0=array();
$proto0["m_strHead"] = "  SELECT";
$proto0["m_strFieldList"] = "Surname,  FirstName,  StudentSchoolID,  (`1styearFee`+ Repeatd1stYearFee) AS FirstYearFee,  (Fee2ndYear+Repeat2ndYearFee) AS SecondYearFee,  (Fee3rdYear+Repeatd3rdYrFee) AS ThirdYearFee,  (Fee4thYear)+(Repeat4thYrFee) AS FourthYearFee,  (Fee5thYear+Repeat5thYrFEE) AS FifthYearFee,  Graduated,  (`1styearFee`+Repeatd1stYearFee+Fee2ndYear+Repeat2ndYearFee+Fee3rdYear+Repeatd3rdYrFee+Fee4thYear+Repeat4thYrFee+Fee5thYear+Repeat5thYrFEE) AS StudentTotall";
$proto0["m_strFrom"] = "FROM applicform";
$proto0["m_strWhere"] = "(Graduated IS TRUE) AND (FatherDistrict is Not null)";
$proto0["m_strOrderBy"] = "";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "(Graduated IS TRUE) AND (FatherDistrict is Not null)";
$proto2["m_uniontype"] = "SQLL_AND";
	$obj = new SQLNonParsed(array(
	"m_sql" => "(Graduated IS TRUE) AND (FatherDistrict is Not null)"
));

$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
						$proto4=array();
$proto4["m_sql"] = "Graduated IS TRUE";
$proto4["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "Graduated",
	"m_strTable" => "applicform",
	"m_srcTableName" => "YearlyFinancialsbyGraduated"
));

$proto4["m_column"]=$obj;
$proto4["m_contained"] = array();
$proto4["m_strCase"] = "IS TRUE";
$proto4["m_havingmode"] = false;
$proto4["m_inBrackets"] = true;
$proto4["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto4);

			$proto2["m_contained"][]=$obj;
						$proto6=array();
$proto6["m_sql"] = "FatherDistrict is Not null";
$proto6["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "FatherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "YearlyFinancialsbyGraduated"
));

$proto6["m_column"]=$obj;
$proto6["m_contained"] = array();
$proto6["m_strCase"] = "is Not null";
$proto6["m_havingmode"] = false;
$proto6["m_inBrackets"] = true;
$proto6["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto6);

			$proto2["m_contained"][]=$obj;
$proto2["m_strCase"] = "";
$proto2["m_havingmode"] = false;
$proto2["m_inBrackets"] = false;
$proto2["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto2);

$proto0["m_where"] = $obj;
$proto8=array();
$proto8["m_sql"] = "";
$proto8["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto8["m_column"]=$obj;
$proto8["m_contained"] = array();
$proto8["m_strCase"] = "";
$proto8["m_havingmode"] = false;
$proto8["m_inBrackets"] = false;
$proto8["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto8);

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto10=array();
			$obj = new SQLField(array(
	"m_strName" => "Surname",
	"m_strTable" => "applicform",
	"m_srcTableName" => "YearlyFinancialsbyGraduated"
));

$proto10["m_sql"] = "Surname";
$proto10["m_srcTableName"] = "YearlyFinancialsbyGraduated";
$proto10["m_expr"]=$obj;
$proto10["m_alias"] = "";
$obj = new SQLFieldListItem($proto10);

$proto0["m_fieldlist"][]=$obj;
						$proto12=array();
			$obj = new SQLField(array(
	"m_strName" => "FirstName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "YearlyFinancialsbyGraduated"
));

$proto12["m_sql"] = "FirstName";
$proto12["m_srcTableName"] = "YearlyFinancialsbyGraduated";
$proto12["m_expr"]=$obj;
$proto12["m_alias"] = "";
$obj = new SQLFieldListItem($proto12);

$proto0["m_fieldlist"][]=$obj;
						$proto14=array();
			$obj = new SQLField(array(
	"m_strName" => "StudentSchoolID",
	"m_strTable" => "applicform",
	"m_srcTableName" => "YearlyFinancialsbyGraduated"
));

$proto14["m_sql"] = "StudentSchoolID";
$proto14["m_srcTableName"] = "YearlyFinancialsbyGraduated";
$proto14["m_expr"]=$obj;
$proto14["m_alias"] = "";
$obj = new SQLFieldListItem($proto14);

$proto0["m_fieldlist"][]=$obj;
						$proto16=array();
			$obj = new SQLNonParsed(array(
	"m_sql" => "(`1styearFee`+ Repeatd1stYearFee)"
));

$proto16["m_sql"] = "(`1styearFee`+ Repeatd1stYearFee)";
$proto16["m_srcTableName"] = "YearlyFinancialsbyGraduated";
$proto16["m_expr"]=$obj;
$proto16["m_alias"] = "FirstYearFee";
$obj = new SQLFieldListItem($proto16);

$proto0["m_fieldlist"][]=$obj;
						$proto18=array();
			$obj = new SQLNonParsed(array(
	"m_sql" => "(Fee2ndYear+Repeat2ndYearFee)"
));

$proto18["m_sql"] = "(Fee2ndYear+Repeat2ndYearFee)";
$proto18["m_srcTableName"] = "YearlyFinancialsbyGraduated";
$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "SecondYearFee";
$obj = new SQLFieldListItem($proto18);

$proto0["m_fieldlist"][]=$obj;
						$proto20=array();
			$obj = new SQLNonParsed(array(
	"m_sql" => "(Fee3rdYear+Repeatd3rdYrFee)"
));

$proto20["m_sql"] = "(Fee3rdYear+Repeatd3rdYrFee)";
$proto20["m_srcTableName"] = "YearlyFinancialsbyGraduated";
$proto20["m_expr"]=$obj;
$proto20["m_alias"] = "ThirdYearFee";
$obj = new SQLFieldListItem($proto20);

$proto0["m_fieldlist"][]=$obj;
						$proto22=array();
			$obj = new SQLNonParsed(array(
	"m_sql" => "(Fee4thYear)+(Repeat4thYrFee)"
));

$proto22["m_sql"] = "(Fee4thYear)+(Repeat4thYrFee)";
$proto22["m_srcTableName"] = "YearlyFinancialsbyGraduated";
$proto22["m_expr"]=$obj;
$proto22["m_alias"] = "FourthYearFee";
$obj = new SQLFieldListItem($proto22);

$proto0["m_fieldlist"][]=$obj;
						$proto24=array();
			$obj = new SQLNonParsed(array(
	"m_sql" => "(Fee5thYear+Repeat5thYrFEE)"
));

$proto24["m_sql"] = "(Fee5thYear+Repeat5thYrFEE)";
$proto24["m_srcTableName"] = "YearlyFinancialsbyGraduated";
$proto24["m_expr"]=$obj;
$proto24["m_alias"] = "FifthYearFee";
$obj = new SQLFieldListItem($proto24);

$proto0["m_fieldlist"][]=$obj;
						$proto26=array();
			$obj = new SQLField(array(
	"m_strName" => "Graduated",
	"m_strTable" => "applicform",
	"m_srcTableName" => "YearlyFinancialsbyGraduated"
));

$proto26["m_sql"] = "Graduated";
$proto26["m_srcTableName"] = "YearlyFinancialsbyGraduated";
$proto26["m_expr"]=$obj;
$proto26["m_alias"] = "";
$obj = new SQLFieldListItem($proto26);

$proto0["m_fieldlist"][]=$obj;
						$proto28=array();
			$obj = new SQLNonParsed(array(
	"m_sql" => "(`1styearFee`+Repeatd1stYearFee+Fee2ndYear+Repeat2ndYearFee+Fee3rdYear+Repeatd3rdYrFee+Fee4thYear+Repeat4thYrFee+Fee5thYear+Repeat5thYrFEE)"
));

$proto28["m_sql"] = "(`1styearFee`+Repeatd1stYearFee+Fee2ndYear+Repeat2ndYearFee+Fee3rdYear+Repeatd3rdYrFee+Fee4thYear+Repeat4thYrFee+Fee5thYear+Repeat5thYrFEE)";
$proto28["m_srcTableName"] = "YearlyFinancialsbyGraduated";
$proto28["m_expr"]=$obj;
$proto28["m_alias"] = "StudentTotall";
$obj = new SQLFieldListItem($proto28);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto30=array();
$proto30["m_link"] = "SQLL_MAIN";
			$proto31=array();
$proto31["m_strName"] = "applicform";
$proto31["m_srcTableName"] = "YearlyFinancialsbyGraduated";
$proto31["m_columns"] = array();
$proto31["m_columns"][] = "MPGID";
$proto31["m_columns"][] = "StudentSchoolID";
$proto31["m_columns"][] = "Surname";
$proto31["m_columns"][] = "FirstName";
$proto31["m_columns"][] = "Photo";
$proto31["m_columns"][] = "Gender";
$proto31["m_columns"][] = "DateofBirth";
$proto31["m_columns"][] = "PlaceofBirth";
$proto31["m_columns"][] = "DistrictOfBirth";
$proto31["m_columns"][] = "ProvinceOfBirth";
$proto31["m_columns"][] = "FatherVillage";
$proto31["m_columns"][] = "FatherLLG";
$proto31["m_columns"][] = "FatherDistrict";
$proto31["m_columns"][] = "FATHERJOB";
$proto31["m_columns"][] = "FATHERSNAME";
$proto31["m_columns"][] = "FATHERSURNAME";
$proto31["m_columns"][] = "FATHERPROV";
$proto31["m_columns"][] = "MOTHERJOB";
$proto31["m_columns"][] = "MOTHERNAME";
$proto31["m_columns"][] = "MOTHERSURNAME";
$proto31["m_columns"][] = "MOTHERNATIONAL";
$proto31["m_columns"][] = "FATHERNATIONAL";
$proto31["m_columns"][] = "FATHERCLAN";
$proto31["m_columns"][] = "MOTHERCLAN";
$proto31["m_columns"][] = "MOTHERRELIGION";
$proto31["m_columns"][] = "FATHERRELIGION";
$proto31["m_columns"][] = "FATHERBIRTHPLACE";
$proto31["m_columns"][] = "MOTHERBIRTHPLACE";
$proto31["m_columns"][] = "MotherVillage";
$proto31["m_columns"][] = "MotherLLG";
$proto31["m_columns"][] = "MotherDistrict";
$proto31["m_columns"][] = "MOTHERPROV";
$proto31["m_columns"][] = "LastInstitutuonAttended";
$proto31["m_columns"][] = "HighestGradeCompleted";
$proto31["m_columns"][] = "YearHighestGradeCompleted";
$proto31["m_columns"][] = "TertiaryInstitutionAdmitted";
$proto31["m_columns"][] = "ProgramName";
$proto31["m_columns"][] = "ProgramCode";
$proto31["m_columns"][] = "WitnessName";
$proto31["m_columns"][] = "WitnessOccupation";
$proto31["m_columns"][] = "WitnessAddress";
$proto31["m_columns"][] = "1styear";
$proto31["m_columns"][] = "1styearTesas";
$proto31["m_columns"][] = "1styearFee";
$proto31["m_columns"][] = "Paid1stYearFee";
$proto31["m_columns"][] = "Repeat1stYear";
$proto31["m_columns"][] = "Repeat1stTESAS";
$proto31["m_columns"][] = "Repeatd1stYearFee";
$proto31["m_columns"][] = "Paid1stYrRepeatFee";
$proto31["m_columns"][] = "Passd1stYear";
$proto31["m_columns"][] = "sem1year1";
$proto31["m_columns"][] = "Year2nd";
$proto31["m_columns"][] = "TESAS2ndYear";
$proto31["m_columns"][] = "Fee2ndYear";
$proto31["m_columns"][] = "Paid2ndYearFee";
$proto31["m_columns"][] = "Repeated2ndYear";
$proto31["m_columns"][] = "Repeat2ndYrTESAS";
$proto31["m_columns"][] = "Repeat2ndYearFee";
$proto31["m_columns"][] = "Paid2ndYrRepeatFee";
$proto31["m_columns"][] = "Passd2ndYear";
$proto31["m_columns"][] = "sem1year2";
$proto31["m_columns"][] = "Year3rd";
$proto31["m_columns"][] = "TESAS3rdYear";
$proto31["m_columns"][] = "Fee3rdYear";
$proto31["m_columns"][] = "Paid3rdYrFee";
$proto31["m_columns"][] = "Repeatd3rdYear";
$proto31["m_columns"][] = "Repeat3rdYrTESAS";
$proto31["m_columns"][] = "Repeatd3rdYrFee";
$proto31["m_columns"][] = "Paid3rdYrRepeatFee";
$proto31["m_columns"][] = "Passd3rdYear";
$proto31["m_columns"][] = "sem1year3";
$proto31["m_columns"][] = "Year4th";
$proto31["m_columns"][] = "TESAS4thYear";
$proto31["m_columns"][] = "Fee4thYear";
$proto31["m_columns"][] = "Paid4thYearFee";
$proto31["m_columns"][] = "Repeated4thYear";
$proto31["m_columns"][] = "Repeath4thYrTESAS";
$proto31["m_columns"][] = "Repeat4thYrFee";
$proto31["m_columns"][] = "Paid4thYrRepeatFee";
$proto31["m_columns"][] = "Passd4thYear";
$proto31["m_columns"][] = "sem1year4";
$proto31["m_columns"][] = "Year5th";
$proto31["m_columns"][] = "TESAS5thYear";
$proto31["m_columns"][] = "Fee5thYear";
$proto31["m_columns"][] = "Paid5thYearFee";
$proto31["m_columns"][] = "Repeat5thYear";
$proto31["m_columns"][] = "Repeat5thYrTESAS";
$proto31["m_columns"][] = "Repeat5thYrFEE";
$proto31["m_columns"][] = "Paid5thYrRepeatFee";
$proto31["m_columns"][] = "Passdd5thYr";
$proto31["m_columns"][] = "sem1year5";
$proto31["m_columns"][] = "Graduated";
$proto31["m_columns"][] = "YearGraduated";
$proto31["m_columns"][] = "PostingtoSchool";
$proto31["m_columns"][] = "PostingsLLG";
$proto31["m_columns"][] = "ScholarshipType";
$proto31["m_columns"][] = "Comments";
$proto31["m_columns"][] = "NewApplicant";
$proto31["m_columns"][] = "Judge1Comment";
$proto31["m_columns"][] = "Reapply";
$proto31["m_columns"][] = "EmailAddrssAppl";
$proto31["m_columns"][] = "MobileNoAppl";
$proto31["m_columns"][] = "GPA";
$proto31["m_columns"][] = "approved1";
$proto31["m_columns"][] = "approved2";
$proto31["m_columns"][] = "approved3";
$proto31["m_columns"][] = "Judge2Comment";
$proto31["m_columns"][] = "Judge3Comment";
$proto31["m_columns"][] = "JudgeComment";
$proto31["m_columns"][] = "Lat";
$proto31["m_columns"][] = "Lng";
$proto31["m_columns"][] = "Documents";
$proto31["m_columns"][] = "judge1id";
$proto31["m_columns"][] = "judee2id";
$proto31["m_columns"][] = "judge3id";
$proto31["m_columns"][] = "username";
$proto31["m_columns"][] = "transcripts";
$proto31["m_columns"][] = "acceptletter";
$proto31["m_columns"][] = "gradetencert";
$proto31["m_columns"][] = "grade12cert";
$proto31["m_columns"][] = "natid";
$proto31["m_columns"][] = "sem2year1";
$proto31["m_columns"][] = "sem2year2";
$proto31["m_columns"][] = "sem2year3";
$proto31["m_columns"][] = "sem2year4";
$proto31["m_columns"][] = "sem2year5";
$proto31["m_columns"][] = "y1housingtype";
$proto31["m_columns"][] = "y2housingtype";
$proto31["m_columns"][] = "y3housingtype";
$proto31["m_columns"][] = "y4housingtype";
$proto31["m_columns"][] = "y5housingtype";
$proto31["m_columns"][] = "comment1";
$proto31["m_columns"][] = "comment2";
$proto31["m_columns"][] = "comment3";
$proto31["m_columns"][] = "comment4";
$proto31["m_columns"][] = "comment5";
$proto31["m_columns"][] = "assessed";
$proto31["m_columns"][] = "assessed1";
$proto31["m_columns"][] = "assessed2";
$proto31["m_columns"][] = "assessed3";
$proto31["m_columns"][] = "assessed4";
$proto31["m_columns"][] = "assessed5";
$proto31["m_columns"][] = "parentsnowliving";
$proto31["m_columns"][] = "active";
$proto31["m_columns"][] = "reset_token";
$proto31["m_columns"][] = "reset_date";
$obj = new SQLTable($proto31);

$proto30["m_table"] = $obj;
$proto30["m_sql"] = "applicform";
$proto30["m_alias"] = "";
$proto30["m_srcTableName"] = "YearlyFinancialsbyGraduated";
$proto32=array();
$proto32["m_sql"] = "";
$proto32["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto32["m_column"]=$obj;
$proto32["m_contained"] = array();
$proto32["m_strCase"] = "";
$proto32["m_havingmode"] = false;
$proto32["m_inBrackets"] = false;
$proto32["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto32);

$proto30["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto30);

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$proto0["m_srcTableName"]="YearlyFinancialsbyGraduated";		
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_YearlyFinancialsbyGraduated = createSqlQuery_YearlyFinancialsbyGraduated();


	
		;

										

$tdataYearlyFinancialsbyGraduated[".sqlquery"] = $queryData_YearlyFinancialsbyGraduated;

$tableEvents["YearlyFinancialsbyGraduated"] = new eventsBase;
$tdataYearlyFinancialsbyGraduated[".hasEvents"] = false;

?>