<?php
$viewdefs ['Leads'] = 
array (
  'EditView' => 
  array (
    'templateMeta' => 
    array (
      'form' => 
      array (
        'hidden' => 
        array (
          0 => '<input type="hidden" name="prospect_id" value="{if isset($smarty.request.prospect_id)}{$smarty.request.prospect_id}{else}{$bean->prospect_id}{/if}">',
          1 => '<input type="hidden" name="account_id" value="{if isset($smarty.request.account_id)}{$smarty.request.account_id}{else}{$bean->account_id}{/if}">',
          2 => '<input type="hidden" name="contact_id" value="{if isset($smarty.request.contact_id)}{$smarty.request.contact_id}{else}{$bean->contact_id}{/if}">',
          3 => '<input type="hidden" name="opportunity_id" value="{if isset($smarty.request.opportunity_id)}{$smarty.request.opportunity_id}{else}{$bean->opportunity_id}{/if}">',
        ),
        'buttons' => 
        array (
          0 => 'SAVE',
          1 => 'CANCEL',
        ),
      ),
      'maxColumns' => '2',
      'widths' => 
      array (
        0 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
        1 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
      ),
      'javascript' => '<script type="text/javascript" language="Javascript">function copyAddressRight(form)  {ldelim} form.alt_address_street.value = form.primary_address_street.value;form.alt_address_city.value = form.primary_address_city.value;form.alt_address_state.value = form.primary_address_state.value;form.alt_address_postalcode.value = form.primary_address_postalcode.value;form.alt_address_country.value = form.primary_address_country.value;return true; {rdelim} function copyAddressLeft(form)  {ldelim} form.primary_address_street.value =form.alt_address_street.value;form.primary_address_city.value = form.alt_address_city.value;form.primary_address_state.value = form.alt_address_state.value;form.primary_address_postalcode.value =form.alt_address_postalcode.value;form.primary_address_country.value = form.alt_address_country.value;return true; {rdelim} </script>',
      'useTabs' => false,
      'tabDefs' => 
      array (
        'LBL_CONTACT_INFORMATION' => 
        array (
          'newTab' => false,
          'panelDefault' => 'expanded',
        ),
        'LBL_EDITVIEW_PANEL1' => 
        array (
          'newTab' => false,
          'panelDefault' => 'expanded',
        ),
        'LBL_PANEL_ADVANCED' => 
        array (
          'newTab' => false,
          'panelDefault' => 'expanded',
        ),
        'LBL_EDITVIEW_PANEL2' => 
        array (
          'newTab' => false,
          'panelDefault' => 'expanded',
        ),
        'LBL_PANEL_ASSIGNMENT' => 
        array (
          'newTab' => false,
          'panelDefault' => 'collapsed',
        ),
      ),
    ),
    'panels' => 
    array (
      'LBL_CONTACT_INFORMATION' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'first_name',
            'customCode' => '{html_options name="salutation" id="salutation" options=$fields.salutation.options selected=$fields.salutation.value}&nbsp;<input name="first_name"  id="first_name" size="25" maxlength="25" type="text" value="{$fields.first_name.value}">',
          ),
          1 => 'phone_mobile',
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'middlename_c',
            'label' => 'LBL_MIDDLENAME',
          ),
          1 => 
          array (
            'name' => 'phone_other',
            'comment' => 'Other phone number for the contact',
            'label' => 'LBL_OTHER_PHONE',
          ),
        ),
        2 => 
        array (
          0 => 'last_name',
        ),
        3 => 
        array (
          0 => 'email1',
          1 => 
          array (
            'name' => 'assigned_user_name',
            'label' => 'LBL_ASSIGNED_TO',
          ),
        ),
        4 => 
        array (
          0 => 
          array (
            'name' => 's_age_c',
            'label' => 'LBL_S_AGE',
          ),
        ),
        5 => 
        array (
          0 => 'status',
          1 => 'lead_source',
        ),
        6 => 
        array (
          0 => 'campaign_name',
        ),
        7 => 
        array (
          0 => 
          array (
            'name' => 'primary_address_street',
            'hideLabel' => true,
            'type' => 'address',
            'displayParams' => 
            array (
              'key' => 'primary',
              'rows' => 2,
              'cols' => 30,
              'maxlength' => 150,
            ),
          ),
          1 => 'description',
        ),
      ),
      'lbl_editview_panel1' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'course_cost_c',
            'studio' => 'visible',
            'label' => 'LBL_COURSE_COST',
          ),
          1 => 
          array (
            'name' => 'paymenttype_c',
            'studio' => 'visible',
            'label' => 'LBL_PAYMENTTYPE',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'contractamount_c',
            'label' => 'LBL_CONTRACTAMOUNT',
          ),
        ),
      ),
      'LBL_PANEL_ADVANCED' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'englishcourse_c',
            'studio' => 'visible',
            'label' => 'LBL_ENGLISHCOURSE',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'freetime_c',
            'studio' => 'visible',
            'label' => 'LBL_FREETIME',
          ),
          1 => 
          array (
            'name' => 'devicetype_c',
            'studio' => 'visible',
            'label' => 'LBL_DEVICETYPE',
          ),
        ),
        2 => 
        array (
          0 => 
          array (
            'name' => 'workinshifts_c',
            'label' => 'LBL_WORKINSHIFTS',
          ),
          1 => 
          array (
            'name' => 'checkforcerlevel_c',
            'studio' => 'visible',
            'label' => 'LBL_CHECKFORCERLEVEL',
          ),
        ),
      ),
      'lbl_editview_panel2' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'fpaymentammount_c',
            'label' => 'LBL_FPAYMENTAMMOUNT',
          ),
          1 => 
          array (
            'name' => 'fpaymentsdate_c',
            'label' => 'LBL_FPAYMENTSDATE',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'spaymentammount_c',
            'label' => 'LBL_SPAYMENTAMMOUNT',
          ),
          1 => 
          array (
            'name' => 'spaymentsdate_c',
            'label' => 'LBL_SPAYMENTSDATE',
          ),
        ),
        2 => 
        array (
          0 => 
          array (
            'name' => 'tpaymentammount_c',
            'label' => 'LBL_TPAYMENTAMMOUNT',
          ),
          1 => 
          array (
            'name' => 'tpaymentsdate_c',
            'label' => 'LBL_TPAYMENTSDATE',
          ),
        ),
        3 => 
        array (
          0 => 
          array (
            'name' => 'fopaymentammount_c',
            'label' => 'LBL_FOPAYMENTAMMOUNT',
          ),
          1 => 
          array (
            'name' => 'fopaymentsdate_c',
            'label' => 'LBL_FOPAYMENTSDATE',
          ),
        ),
        4 => 
        array (
          0 => 
          array (
            'name' => 'moredetailspaymentammount_c',
            'studio' => 'visible',
            'label' => 'LBL_MOREDETAILSPAYMENTAMMOUNT',
          ),
        ),
      ),
      'LBL_PANEL_ASSIGNMENT' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'modified_by_name',
            'label' => 'LBL_MODIFIED_NAME',
          ),
          1 => 'refered_by',
        ),
      ),
    ),
  ),
);
?>
