Skip to content

Instantly share code, notes, and snippets.

@rick0ff
Created December 4, 2012 07:59
Show Gist options
  • Save rick0ff/4201681 to your computer and use it in GitHub Desktop.
Save rick0ff/4201681 to your computer and use it in GitHub Desktop.
path: custom/modules/Agreements/
<?php
$hook_array['process_record'][] = Array(1, 'Sum_Each', 'custom/modules/Agreements/sum.php','SumAgreementsHook', 'sumTotalFromEachRow');
$hook_array['after_ui_frame'][] = Array(1, 'Display_Sum', 'custom/modules/Agreements/sum.php','SumAgreementsHook', 'displaySumTotal');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment