From f641486e28214ad1eca18c47d2252701b83614f1 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Fri, 16 Oct 2015 15:32:32 -0700 Subject: separate setup and recur discounts, #14092 --- httemplate/misc/order_pkg.html | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html index cb2bd4832..e28250110 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -127,22 +127,7 @@ % if ( $discount_cust_pkg || $waive_setup_fee ) { <% mt('Discounting') |h %> <% ntable("#cccccc") %> - -% if ( $waive_setup_fee ) { - - <% mt('Waive setup fee') |h %> - - -% } - -% if ( $discount_cust_pkg ) { - <& /elements/tr-select-discount.html, - 'element_etc' => 'DISABLED', - 'colspan' => 7, - 'cgi' => $cgi, - &> -% } - + <& /elements/tr-select-pkg-discount.html &>
% } -- cgit v1.2.1 From 974fceaaca8e1404750a60a4daafb568b1be5159 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Tue, 20 Oct 2015 20:56:13 -0500 Subject: RT#38217: Send email when logging conditions are met --- httemplate/misc/delete-log_email.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 httemplate/misc/delete-log_email.html (limited to 'httemplate/misc') diff --git a/httemplate/misc/delete-log_email.html b/httemplate/misc/delete-log_email.html new file mode 100644 index 000000000..cc17b15a0 --- /dev/null +++ b/httemplate/misc/delete-log_email.html @@ -0,0 +1,20 @@ +% if ($error) { +

<% $error %>

+% } else { +

Log email condition deleted

+ +% } + +<%init> +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right([ 'View system logs', 'Configuration' ]); + +my $logemailnum = $cgi->param('logemailnum'); +$logemailnum =~ /^\d+$/ or die "bad logemailnum '$logemailnum'"; +my $log_email = FS::log_email->by_key($logemailnum) + or die "logemailnum '$logemailnum' not found"; +my $error = $log_email->delete; + + -- cgit v1.2.1