<?php
$tdatacostomer_view = array();
$tdatacostomer_view[".searchableFields"] = array();
$tdatacostomer_view[".ShortName"] = "costomer_view";
$tdatacostomer_view[".OwnerID"] = "";
$tdatacostomer_view[".OriginalTable"] = "Costomer View";


$tdatacostomer_view[".pagesByType"] = my_json_decode( "{\"export\":[\"export\"],\"import\":[\"import\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"]}" );
$tdatacostomer_view[".originalPagesByType"] = $tdatacostomer_view[".pagesByType"];
$tdatacostomer_view[".pages"] = types2pages( my_json_decode( "{\"export\":[\"export\"],\"import\":[\"import\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"]}" ) );
$tdatacostomer_view[".originalPages"] = $tdatacostomer_view[".pages"];
$tdatacostomer_view[".defaultPages"] = my_json_decode( "{\"export\":\"export\",\"import\":\"import\",\"list\":\"list\",\"print\":\"print\",\"search\":\"search\"}" );
$tdatacostomer_view[".originalDefaultPages"] = $tdatacostomer_view[".defaultPages"];

//	field labels
$fieldLabelscostomer_view = array();
$fieldToolTipscostomer_view = array();
$pageTitlescostomer_view = array();
$placeHolderscostomer_view = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelscostomer_view["English"] = array();
	$fieldToolTipscostomer_view["English"] = array();
	$placeHolderscostomer_view["English"] = array();
	$pageTitlescostomer_view["English"] = array();
	$fieldLabelscostomer_view["English"]["customer_id"] = "Customer Id";
	$fieldToolTipscostomer_view["English"]["customer_id"] = "";
	$placeHolderscostomer_view["English"]["customer_id"] = "";
	$fieldLabelscostomer_view["English"]["full_name"] = "Full Name";
	$fieldToolTipscostomer_view["English"]["full_name"] = "";
	$placeHolderscostomer_view["English"]["full_name"] = "";
	$fieldLabelscostomer_view["English"]["nic"] = "Nic";
	$fieldToolTipscostomer_view["English"]["nic"] = "";
	$placeHolderscostomer_view["English"]["nic"] = "";
	$fieldLabelscostomer_view["English"]["Name"] = "Name";
	$fieldToolTipscostomer_view["English"]["Name"] = "";
	$placeHolderscostomer_view["English"]["Name"] = "";
	$fieldLabelscostomer_view["English"]["phone"] = "Phone";
	$fieldToolTipscostomer_view["English"]["phone"] = "";
	$placeHolderscostomer_view["English"]["phone"] = "";
	$fieldLabelscostomer_view["English"]["address"] = "Address";
	$fieldToolTipscostomer_view["English"]["address"] = "";
	$placeHolderscostomer_view["English"]["address"] = "";
	$fieldLabelscostomer_view["English"]["photo"] = "Photo";
	$fieldToolTipscostomer_view["English"]["photo"] = "";
	$placeHolderscostomer_view["English"]["photo"] = "";
	$fieldLabelscostomer_view["English"]["created_at"] = "Created At";
	$fieldToolTipscostomer_view["English"]["created_at"] = "";
	$placeHolderscostomer_view["English"]["created_at"] = "";
	if (count($fieldToolTipscostomer_view["English"]))
		$tdatacostomer_view[".isUseToolTips"] = true;
}


	$tdatacostomer_view[".NCSearch"] = true;



$tdatacostomer_view[".shortTableName"] = "costomer_view";
$tdatacostomer_view[".nSecOptions"] = 0;

$tdatacostomer_view[".mainTableOwnerID"] = "";
$tdatacostomer_view[".entityType"] = 6;
$tdatacostomer_view[".connId"] = "easy_cash_at_localhost";


$tdatacostomer_view[".strOriginalTableName"] = "Costomer View";

	



$tdatacostomer_view[".showAddInPopup"] = false;

$tdatacostomer_view[".showEditInPopup"] = false;

$tdatacostomer_view[".showViewInPopup"] = false;

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


	$tdatacostomer_view[".listAjax"] = true;
//	temporary
$tdatacostomer_view[".listAjax"] = false;

	$tdatacostomer_view[".audit"] = false;

	$tdatacostomer_view[".locking"] = false;


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

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

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

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



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




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

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

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

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



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

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

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

$tdatacostomer_view[".isUseAjaxSuggest"] = true;

$tdatacostomer_view[".rowHighlite"] = true;



																								

$tdatacostomer_view[".ajaxCodeSnippetAdded"] = false;

$tdatacostomer_view[".buttonsAdded"] = false;

$tdatacostomer_view[".addPageEvents"] = false;

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


$tdatacostomer_view[".badgeColor"] = "EDCA00";


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

$tdatacostomer_view[".googleLikeFields"] = array();
$tdatacostomer_view[".googleLikeFields"][] = "customer_id";
$tdatacostomer_view[".googleLikeFields"][] = "full_name";
$tdatacostomer_view[".googleLikeFields"][] = "nic";
$tdatacostomer_view[".googleLikeFields"][] = "Name";
$tdatacostomer_view[".googleLikeFields"][] = "phone";
$tdatacostomer_view[".googleLikeFields"][] = "address";
$tdatacostomer_view[".googleLikeFields"][] = "photo";
$tdatacostomer_view[".googleLikeFields"][] = "created_at";




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

$tdatacostomer_view[".nPrinterSplitRecords"] = 40;

$tdatacostomer_view[".geocodingEnabled"] = false;





$tdatacostomer_view[".isResizeColumns"] = true;





$tdatacostomer_view[".pageSize"] = 20;

$tdatacostomer_view[".warnLeavingPages"] = true;



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

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


$tdatacostomer_view[".sqlHead"] = "";
$tdatacostomer_view[".sqlFrom"] = "";
$tdatacostomer_view[".sqlWhereExpr"] = "";
$tdatacostomer_view[".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;
$tdatacostomer_view[".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;
$tdatacostomer_view[".arrGroupsPerPage"] = $arrGPP;

$tdatacostomer_view[".highlightSearchResults"] = true;

$tableKeyscostomer_view = array();
$tdatacostomer_view[".Keys"] = $tableKeyscostomer_view;


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




//	customer_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "customer_id";
	$fdata["GoodName"] = "customer_id";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("Costomer_View","customer_id");
	$fdata["FieldType"] = 3;

	
	
	
			

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

	
		$fdata["FullName"] = "customer_id";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["view"] = $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"] = "text";

		$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"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// 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


	$tdatacostomer_view["customer_id"] = $fdata;
		$tdatacostomer_view[".searchableFields"][] = "customer_id";
//	full_name
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "full_name";
	$fdata["GoodName"] = "full_name";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("Costomer_View","full_name");
	$fdata["FieldType"] = 200;

	
	
	
			

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

	
		$fdata["FullName"] = "full_name";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["view"] = $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"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// 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


	$tdatacostomer_view["full_name"] = $fdata;
		$tdatacostomer_view[".searchableFields"][] = "full_name";
//	nic
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "nic";
	$fdata["GoodName"] = "nic";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("Costomer_View","nic");
	$fdata["FieldType"] = 200;

	
	
	
			

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

	
		$fdata["FullName"] = "nic";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["view"] = $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"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// 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


	$tdatacostomer_view["nic"] = $fdata;
		$tdatacostomer_view[".searchableFields"][] = "nic";
//	Name
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "Name";
	$fdata["GoodName"] = "Name";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("Costomer_View","Name");
	$fdata["FieldType"] = 200;

	
	
	
			

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

	
		$fdata["FullName"] = "Name";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["view"] = $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"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// 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


	$tdatacostomer_view["Name"] = $fdata;
		$tdatacostomer_view[".searchableFields"][] = "Name";
//	phone
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "phone";
	$fdata["GoodName"] = "phone";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("Costomer_View","phone");
	$fdata["FieldType"] = 200;

	
	
	
			

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

	
		$fdata["FullName"] = "phone";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["view"] = $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"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// 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


	$tdatacostomer_view["phone"] = $fdata;
		$tdatacostomer_view[".searchableFields"][] = "phone";
//	address
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "address";
	$fdata["GoodName"] = "address";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("Costomer_View","address");
	$fdata["FieldType"] = 200;

	
	
	
			

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

	
		$fdata["FullName"] = "address";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["view"] = $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"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// 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


	$tdatacostomer_view["address"] = $fdata;
		$tdatacostomer_view[".searchableFields"][] = "address";
//	photo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "photo";
	$fdata["GoodName"] = "photo";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("Costomer_View","photo");
	$fdata["FieldType"] = 200;

	
	
	
			

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

	
		$fdata["FullName"] = "photo";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["view"] = $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"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// 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


	$tdatacostomer_view["photo"] = $fdata;
		$tdatacostomer_view[".searchableFields"][] = "photo";
//	created_at
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "created_at";
	$fdata["GoodName"] = "created_at";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("Costomer_View","created_at");
	$fdata["FieldType"] = 135;

	
	
	
			

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

	
		$fdata["FullName"] = "created_at";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

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

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

	$edata = array("EditFormat" => "Date");

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


	
	



		$edata["IsRequired"] = true;

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

		$edata["maxNumberOfFiles"] = 1;

	
	
		$edata["DateEditType"] = 13;
	$edata["InitialYearFactor"] = 100;
	$edata["LastYearFactor"] = 10;

	
	
	
		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, 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


	$tdatacostomer_view["created_at"] = $fdata;
		$tdatacostomer_view[".searchableFields"][] = "created_at";


$tables_data["Costomer View"]=&$tdatacostomer_view;
$field_labels["Costomer_View"] = &$fieldLabelscostomer_view;
$fieldToolTips["Costomer_View"] = &$fieldToolTipscostomer_view;
$placeHolders["Costomer_View"] = &$placeHolderscostomer_view;
$page_titles["Costomer_View"] = &$pageTitlescostomer_view;

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

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



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


require_once( getabspath( "include/costomer_view_ops.php" ) );



	
		;

								

$tdatacostomer_view[".sqlquery"] = $queryData_costomer_view;



$tableEvents["Costomer View"] = new eventsBase;
$tdatacostomer_view[".hasEvents"] = false;

?>