<?php
require_once("modules/asol_Process/___common_WFM/php/asol_utils.php");
wfm_utils::wfm_log('debug', "ENTRY", __FILE__);

$module_name = 'asol_Activity';
$viewdefs[$module_name] = 
array (
	'DetailView' => 
		array (
		
			'templateMeta' => 
				array (
					'form' => 
						array (
							'buttons' => 
								array (
									0 => 'EDIT',
									1 => 'DUPLICATE',
									2 => 'DELETE',
									3 =>
										array(
											'customCode' => '<link href="modules/asol_Activity/css/asol_activity_style.css?version={php} wfm_utils::echoVersionWFM(); {/php}" rel="stylesheet" type="text/css" />',
										),
								),
						),
					'maxColumns' => '2',
					'widths' => 
						array (
							0 => 
								array (
									'label' => '10',
									'field' => '30',
								),
							1 => 
								array (
									'label' => '10',
									'field' => '30',
								),
						),
					'useTabs' => false,
				),

			'panels' => 
				array (
				
					'default' => 
						array (
							0 => 
								array (
									0 => 'name',
								),
							1 => 
								array (
									0 => 
										array (
											'name' => 'date_entered',
											'label' => 'LBL_DATE_ENTERED',
											'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value}',
										),
									1 => 
										array (
											'name' => 'date_modified',
											'label' => 'LBL_DATE_MODIFIED',
											'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
										),
								),
							2 => 
								array (
									0 => 
										array (
											'name' => 'asol_activity_asol_activity_name',
										),
									1 => 
										array (
											'name' => 'delay',
											'label' => 'LBL_DELAY',
										),
								),
							3 => 
								array (
									0 => 
										array (
											'name' => 'type',
										),
								),
							4 => 
								array (
									0 => 'description',
								),
							5 => 
								array (
									0 => 
										array (
											'label' => 'LBL_TASK_ORDER',
											'customCode' => '
																{php}
																	require_once("modules/asol_Activity/customFields/order_task.php");
																{/php}
															',
										),
								),
        
						),
				),
		),
);
?>
