<?php

/**
 * SP Engage Integration
 * @author Celenia Software
 */

$dependencies['Opportunities']['sales_stage'] = array(
    'hooks'     => array( 0 => "edit" , 1 => "view" ),
    'trigger'   => 'true',
    'formula'   => 'equal($sp_synctosilverpop, 0)',
    'onload'    => true,
    'actions'   => array(
        0 => array(
            'name'      => 'SetPanelVisibility',
            'params'    => array(
                'target' => 'LBL_SP_CONTACTINSIGHT',
                'value'  => false,
            )
        )
    )
);
