Last active
August 2, 2017 04:21
-
-
Save hatimalam/1e16af4fc1bd3936b68b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$hook_version = 1; | |
$hook_array = array(); | |
$hook_array['before_save'] = array(); | |
$hook_array['before_save'][] = array( | |
1, | |
'Check discount percentage on opp save', | |
'custom/modules/Opportunities/customLogicHooks.php', | |
'CheckOppDiscount', | |
'check_opp_discount' | |
); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment