<?php



$tdataYearlyFinancialsbyNonGraduates = array();
$tdataYearlyFinancialsbyNonGraduates[".searchableFields"] = array();
$tdataYearlyFinancialsbyNonGraduates[".ShortName"] = "YearlyFinancialsbyNonGraduates";
$tdataYearlyFinancialsbyNonGraduates[".OwnerID"] = "";
$tdataYearlyFinancialsbyNonGraduates[".OriginalTable"] = "applicform";


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

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

//	field labels
$fieldLabelsYearlyFinancialsbyNonGraduates = array();
$fieldToolTipsYearlyFinancialsbyNonGraduates = array();
$pageTitlesYearlyFinancialsbyNonGraduates = array();
$placeHoldersYearlyFinancialsbyNonGraduates = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsYearlyFinancialsbyNonGraduates["English"] = array();
	$fieldToolTipsYearlyFinancialsbyNonGraduates["English"] = array();
	$placeHoldersYearlyFinancialsbyNonGraduates["English"] = array();
	$pageTitlesYearlyFinancialsbyNonGraduates["English"] = array();
	$fieldLabelsYearlyFinancialsbyNonGraduates["English"]["StudentSchoolID"] = "Student School ID";
	$fieldToolTipsYearlyFinancialsbyNonGraduates["English"]["StudentSchoolID"] = "";
	$placeHoldersYearlyFinancialsbyNonGraduates["English"]["StudentSchoolID"] = "";
	$fieldLabelsYearlyFinancialsbyNonGraduates["English"]["Surname"] = "Surname";
	$fieldToolTipsYearlyFinancialsbyNonGraduates["English"]["Surname"] = "";
	$placeHoldersYearlyFinancialsbyNonGraduates["English"]["Surname"] = "";
	$fieldLabelsYearlyFinancialsbyNonGraduates["English"]["FirstName"] = "First Name";
	$fieldToolTipsYearlyFinancialsbyNonGraduates["English"]["FirstName"] = "";
	$placeHoldersYearlyFinancialsbyNonGraduates["English"]["FirstName"] = "";
	$fieldLabelsYearlyFinancialsbyNonGraduates["English"]["FirstYearFee"] = "First Year Fee";
	$fieldToolTipsYearlyFinancialsbyNonGraduates["English"]["FirstYearFee"] = "";
	$placeHoldersYearlyFinancialsbyNonGraduates["English"]["FirstYearFee"] = "";
	$fieldLabelsYearlyFinancialsbyNonGraduates["English"]["SecondYearFee"] = "Second Year Fee";
	$fieldToolTipsYearlyFinancialsbyNonGraduates["English"]["SecondYearFee"] = "";
	$placeHoldersYearlyFinancialsbyNonGraduates["English"]["SecondYearFee"] = "";
	$fieldLabelsYearlyFinancialsbyNonGraduates["English"]["ThirdYearFee"] = "Third Year Fee";
	$fieldToolTipsYearlyFinancialsbyNonGraduates["English"]["ThirdYearFee"] = "";
	$placeHoldersYearlyFinancialsbyNonGraduates["English"]["ThirdYearFee"] = "";
	$fieldLabelsYearlyFinancialsbyNonGraduates["English"]["FourthYearFee"] = "Fourth Year Fee";
	$fieldToolTipsYearlyFinancialsbyNonGraduates["English"]["FourthYearFee"] = "";
	$placeHoldersYearlyFinancialsbyNonGraduates["English"]["FourthYearFee"] = "";
	$fieldLabelsYearlyFinancialsbyNonGraduates["English"]["FifthYearFee"] = "Fifth Year Fee";
	$fieldToolTipsYearlyFinancialsbyNonGraduates["English"]["FifthYearFee"] = "";
	$placeHoldersYearlyFinancialsbyNonGraduates["English"]["FifthYearFee"] = "";
	$fieldLabelsYearlyFinancialsbyNonGraduates["English"]["StudentTotall"] = "Student Totall";
	$fieldToolTipsYearlyFinancialsbyNonGraduates["English"]["StudentTotall"] = "";
	$placeHoldersYearlyFinancialsbyNonGraduates["English"]["StudentTotall"] = "";
	$fieldLabelsYearlyFinancialsbyNonGraduates["English"]["FstYearFee"] = "Fst Year Fee";
	$fieldToolTipsYearlyFinancialsbyNonGraduates["English"]["FstYearFee"] = "";
	$placeHoldersYearlyFinancialsbyNonGraduates["English"]["FstYearFee"] = "";
	$fieldLabelsYearlyFinancialsbyNonGraduates["English"]["District"] = "District";
	$fieldToolTipsYearlyFinancialsbyNonGraduates["English"]["District"] = "";
	$placeHoldersYearlyFinancialsbyNonGraduates["English"]["District"] = "";
	if (count($fieldToolTipsYearlyFinancialsbyNonGraduates["English"]))
		$tdataYearlyFinancialsbyNonGraduates[".isUseToolTips"] = true;
}


	$tdataYearlyFinancialsbyNonGraduates[".NCSearch"] = true;



$tdataYearlyFinancialsbyNonGraduates[".shortTableName"] = "YearlyFinancialsbyNonGraduates";
$tdataYearlyFinancialsbyNonGraduates[".nSecOptions"] = 0;

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

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

	



$tdataYearlyFinancialsbyNonGraduates[".showAddInPopup"] = false;

$tdataYearlyFinancialsbyNonGraduates[".showEditInPopup"] = false;

$tdataYearlyFinancialsbyNonGraduates[".showViewInPopup"] = false;

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


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

	$tdataYearlyFinancialsbyNonGraduates[".audit"] = false;

	$tdataYearlyFinancialsbyNonGraduates[".locking"] = false;


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

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

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

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

$tdataYearlyFinancialsbyNonGraduates[".updateSelected"] = true;


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




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

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

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

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



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

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

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

$tdataYearlyFinancialsbyNonGraduates[".isUseAjaxSuggest"] = true;




						

$tdataYearlyFinancialsbyNonGraduates[".ajaxCodeSnippetAdded"] = false;

$tdataYearlyFinancialsbyNonGraduates[".buttonsAdded"] = false;

$tdataYearlyFinancialsbyNonGraduates[".addPageEvents"] = false;

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




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

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



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

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

$tdataYearlyFinancialsbyNonGraduates[".nPrinterSplitRecords"] = 40;

$tdataYearlyFinancialsbyNonGraduates[".geocodingEnabled"] = false;

//report settings

$tdataYearlyFinancialsbyNonGraduates[".reportPrintPartitionType"] = 1;
$tdataYearlyFinancialsbyNonGraduates[".reportPrintGroupsPerPage"] = 3;
$tdataYearlyFinancialsbyNonGraduates[".lowGroup"] = 1;



$tdataYearlyFinancialsbyNonGraduates[".reportGroupFields"] = true;
$tdataYearlyFinancialsbyNonGraduates[".pageSize"] = 5;
$tdataYearlyFinancialsbyNonGraduates[".showGroupSummaryCount"] = true;
$reportGroupFieldsList = array();
$reportGroupFields = array();
	$reportGroupFieldsList []= "District";

	$rgroupField = array();
	$rgroupField['strGroupField'] = "District";
	$rgroupField['groupInterval'] = 0;
	$rgroupField['groupOrder'] = 1;
	$rgroupField['showGroupSummary'] = "1";
	$rgroupField['crossTabAxis'] = "0";
	$reportGroupFields[] = $rgroupField;
$tdataYearlyFinancialsbyNonGraduates[".reportGroupFieldsData"] = $reportGroupFields;
$tdataYearlyFinancialsbyNonGraduates[".reportGroupFieldsList"] = $reportGroupFieldsList;


$tdataYearlyFinancialsbyNonGraduates[".isExistTotalFields"] = true;




$tdataYearlyFinancialsbyNonGraduates[".repShowDet"] = true;

$tdataYearlyFinancialsbyNonGraduates[".reportLayout"] = 0;

//end of report settings



$tdataYearlyFinancialsbyNonGraduates[".isDisplayLoading"] = true;







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

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

$tdataYearlyFinancialsbyNonGraduates[".sqlHead"] = "SELECT Surname,  FirstName,  StudentSchoolID,  FatherDistrict AS District,  `1styearFee` AS FstYearFee,  (`1styearFee`+Repeatd1stYearFee) AS FirstYearFee,  (Fee2ndYear+Repeat2ndYearFee) AS SecondYearFee,  (Fee3rdYear+Repeatd3rdYrFee) AS ThirdYearFee,  (Fee4thYear)+(Repeat4thYrFee) AS FourthYearFee,  (Fee5thYear+Repeat5thYrFEE) AS FifthYearFee,  (`1styearFee`+Repeatd1stYearFee + Fee2ndYear+Repeat2ndYearFee + Fee3rdYear+Repeatd3rdYrFee + Fee4thYear+Repeat4thYrFee + Fee5thYear+Repeat5thYrFEE) AS StudentTotall";
$tdataYearlyFinancialsbyNonGraduates[".sqlFrom"] = "FROM applicform";
$tdataYearlyFinancialsbyNonGraduates[".sqlWhereExpr"] = "(FatherDistrict IS NOT NULL) AND (Graduated IS FALSE)";
$tdataYearlyFinancialsbyNonGraduates[".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;
$tdataYearlyFinancialsbyNonGraduates[".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;
$tdataYearlyFinancialsbyNonGraduates[".arrGroupsPerPage"] = $arrGPP;

$tdataYearlyFinancialsbyNonGraduates[".highlightSearchResults"] = true;

$tableKeysYearlyFinancialsbyNonGraduates = array();
$tdataYearlyFinancialsbyNonGraduates[".Keys"] = $tableKeysYearlyFinancialsbyNonGraduates;


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




//	Surname
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "Surname";
	$fdata["GoodName"] = "Surname";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyNonGraduates","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


	$tdataYearlyFinancialsbyNonGraduates["Surname"] = $fdata;
		$tdataYearlyFinancialsbyNonGraduates[".searchableFields"][] = "Surname";
//	FirstName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "FirstName";
	$fdata["GoodName"] = "FirstName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyNonGraduates","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


	$tdataYearlyFinancialsbyNonGraduates["FirstName"] = $fdata;
		$tdataYearlyFinancialsbyNonGraduates[".searchableFields"][] = "FirstName";
//	StudentSchoolID
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "StudentSchoolID";
	$fdata["GoodName"] = "StudentSchoolID";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyNonGraduates","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


	$tdataYearlyFinancialsbyNonGraduates["StudentSchoolID"] = $fdata;
		$tdataYearlyFinancialsbyNonGraduates[".searchableFields"][] = "StudentSchoolID";
//	District
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "District";
	$fdata["GoodName"] = "District";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyNonGraduates","District");
	$fdata["FieldType"] = 200;

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

	
	
			

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

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

	
	
				$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["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


	$tdataYearlyFinancialsbyNonGraduates["District"] = $fdata;
		$tdataYearlyFinancialsbyNonGraduates[".searchableFields"][] = "District";
//	FstYearFee
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "FstYearFee";
	$fdata["GoodName"] = "FstYearFee";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyNonGraduates","FstYearFee");
	$fdata["FieldType"] = 5;

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

	
	
			

		$fdata["strField"] = "1styearFee";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`1styearFee`";

	
	
				$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


	$tdataYearlyFinancialsbyNonGraduates["FstYearFee"] = $fdata;
		$tdataYearlyFinancialsbyNonGraduates[".searchableFields"][] = "FstYearFee";
//	FirstYearFee
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "FirstYearFee";
	$fdata["GoodName"] = "FirstYearFee";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyNonGraduates","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


	$tdataYearlyFinancialsbyNonGraduates["FirstYearFee"] = $fdata;
		$tdataYearlyFinancialsbyNonGraduates[".searchableFields"][] = "FirstYearFee";
//	SecondYearFee
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "SecondYearFee";
	$fdata["GoodName"] = "SecondYearFee";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyNonGraduates","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


	$tdataYearlyFinancialsbyNonGraduates["SecondYearFee"] = $fdata;
		$tdataYearlyFinancialsbyNonGraduates[".searchableFields"][] = "SecondYearFee";
//	ThirdYearFee
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "ThirdYearFee";
	$fdata["GoodName"] = "ThirdYearFee";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyNonGraduates","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


	$tdataYearlyFinancialsbyNonGraduates["ThirdYearFee"] = $fdata;
		$tdataYearlyFinancialsbyNonGraduates[".searchableFields"][] = "ThirdYearFee";
//	FourthYearFee
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "FourthYearFee";
	$fdata["GoodName"] = "FourthYearFee";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyNonGraduates","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


	$tdataYearlyFinancialsbyNonGraduates["FourthYearFee"] = $fdata;
		$tdataYearlyFinancialsbyNonGraduates[".searchableFields"][] = "FourthYearFee";
//	FifthYearFee
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "FifthYearFee";
	$fdata["GoodName"] = "FifthYearFee";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyNonGraduates","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


	$tdataYearlyFinancialsbyNonGraduates["FifthYearFee"] = $fdata;
		$tdataYearlyFinancialsbyNonGraduates[".searchableFields"][] = "FifthYearFee";
//	StudentTotall
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "StudentTotall";
	$fdata["GoodName"] = "StudentTotall";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("YearlyFinancialsbyNonGraduates","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


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


$tables_data["YearlyFinancialsbyNonGraduates"]=&$tdataYearlyFinancialsbyNonGraduates;
$field_labels["YearlyFinancialsbyNonGraduates"] = &$fieldLabelsYearlyFinancialsbyNonGraduates;
$fieldToolTips["YearlyFinancialsbyNonGraduates"] = &$fieldToolTipsYearlyFinancialsbyNonGraduates;
$placeHolders["YearlyFinancialsbyNonGraduates"] = &$placeHoldersYearlyFinancialsbyNonGraduates;
$page_titles["YearlyFinancialsbyNonGraduates"] = &$pageTitlesYearlyFinancialsbyNonGraduates;

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

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



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


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










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

$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
						$proto4=array();
$proto4["m_sql"] = "FatherDistrict IS NOT NULL";
$proto4["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "FatherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "YearlyFinancialsbyNonGraduates"
));

$proto4["m_column"]=$obj;
$proto4["m_contained"] = array();
$proto4["m_strCase"] = "IS NOT NULL";
$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"] = "Graduated IS FALSE";
$proto6["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "Graduated",
	"m_strTable" => "applicform",
	"m_srcTableName" => "YearlyFinancialsbyNonGraduates"
));

$proto6["m_column"]=$obj;
$proto6["m_contained"] = array();
$proto6["m_strCase"] = "IS FALSE";
$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" => "YearlyFinancialsbyNonGraduates"
));

$proto10["m_sql"] = "Surname";
$proto10["m_srcTableName"] = "YearlyFinancialsbyNonGraduates";
$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" => "YearlyFinancialsbyNonGraduates"
));

$proto12["m_sql"] = "FirstName";
$proto12["m_srcTableName"] = "YearlyFinancialsbyNonGraduates";
$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" => "YearlyFinancialsbyNonGraduates"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto16=array();
			$obj = new SQLField(array(
	"m_strName" => "FatherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "YearlyFinancialsbyNonGraduates"
));

$proto16["m_sql"] = "FatherDistrict";
$proto16["m_srcTableName"] = "YearlyFinancialsbyNonGraduates";
$proto16["m_expr"]=$obj;
$proto16["m_alias"] = "District";
$obj = new SQLFieldListItem($proto16);

$proto0["m_fieldlist"][]=$obj;
						$proto18=array();
			$obj = new SQLField(array(
	"m_strName" => "1styearFee",
	"m_strTable" => "applicform",
	"m_srcTableName" => "YearlyFinancialsbyNonGraduates"
));

$proto18["m_sql"] = "`1styearFee`";
$proto18["m_srcTableName"] = "YearlyFinancialsbyNonGraduates";
$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "FstYearFee";
$obj = new SQLFieldListItem($proto18);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	return $obj;
}
$queryData_YearlyFinancialsbyNonGraduates = createSqlQuery_YearlyFinancialsbyNonGraduates();


	
		;

											

$tdataYearlyFinancialsbyNonGraduates[".sqlquery"] = $queryData_YearlyFinancialsbyNonGraduates;

$tableEvents["YearlyFinancialsbyNonGraduates"] = new eventsBase;
$tdataYearlyFinancialsbyNonGraduates[".hasEvents"] = false;

?>