<?php

	defined('FULL_PATH') or die('restricted access!');

	// section removal
	$remove_sections = Array (
		'in-portal:visits',
	);

	// sections shown with debug on
	$debug_only_sections = Array (
		'in-portal:visits',
	);

	// toolbar buttons
	$remove_buttons = Array (
//		list of visits; section: Visits
		'visits_list' => Array ('search', 'search_reset', 'refresh', 'delete', 'export', 'view'),

//		list of visits when In-Commerce installed; section: Visits
		'visits.incommerce_list' => Array ('search', 'search_reset', 'refresh', 'delete', 'export', 'view'),
	);

	// fields to hide
	$hidden_fields = Array (
		/*'VisitId', 'VisitDate', 'Referer', 'IPAddress', 'LastName', 'PortalUserId'*/
	);

	// virtual fields to hide
	$virtual_hidden_fields = Array (
		/*'UserName', 'AffiliateUser', 'AffiliatePortalUserId', 'OrderTotalAmount', 'OrderTotalAmountSum', 'OrderAffiliateCommission',
		'OrderAffiliateCommissionSum', 'OrderId'*/
	);

	// tabs during editing
	$hide_edit_tabs = Array (

	);

	// hide columns in grids
	$hide_columns = Array (
//		NO In-Commerce installed
//		'Default'	=>	Array ('VisitDate', 'IPAddress', 'Referer', 'UserName'),

//		In-Commerce IS installed
//		'visitsincommerce'	=>	Array ('VisitDate', 'IPAddress', 'Referer', 'UserName', 'OrderTotalAmountSum', 'OrderAffiliateCommissionSum'),
	);