X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FDashboards%2FSubscription.html;h=83680ef000e425223f8fafb8955f994a4a9b97c5;hp=3bf39d069141c0c06a1276a6b214afa5f211b630;hb=7322f2afedcc2f427e997d1535a503613a83f088;hpb=ae14e320388fa5e7f400bff1c251ef885b7952e6 diff --git a/rt/share/html/Dashboards/Subscription.html b/rt/share/html/Dashboards/Subscription.html index 3bf39d069..83680ef00 100644 --- a/rt/share/html/Dashboards/Subscription.html +++ b/rt/share/html/Dashboards/Subscription.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -176,6 +176,8 @@
<% loc("Leave blank to send to your current email address ([_1])", $session{'CurrentUser'}->EmailAddress) %>
+% $m->callback( %ARGS, CallbackName => 'SubscriptionFormEnd', FieldsRef => \%fields, +% SubscriptionObj => $SubscriptionObj, DashboardObj => $Dashboard ); @@ -216,6 +218,9 @@ my %fields = ( Counter => 0, ); +$m->callback( %ARGS, CallbackName => 'SubscriptionFields', FieldsRef => \%fields, + SubscriptionObj => $SubscriptionObj, DashboardObj => $Dashboard); + # update any fields with the values from the subscription object if ($SubscriptionObj) { for my $field (keys %fields) { @@ -230,6 +235,8 @@ for my $field (keys %fields) { if defined($ARGS{$field}); } +$m->callback( %ARGS, CallbackName => 'MassageSubscriptionFields', FieldsRef => \%fields, + SubscriptionObj => $SubscriptionObj, DashboardObj => $Dashboard); # this'll be defined on submit if (defined $ARGS{Save}) {