From 7db25915018db59d1337142606e225810d188239 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 27 Mar 2013 15:08:27 -0700 Subject: [PATCH] Excel download of Agent Commission report, #22090 --- httemplate/search/agent_commission.html | 100 ++++++++++++++++++++++++++++++-- 1 file changed, 94 insertions(+), 6 deletions(-) diff --git a/httemplate/search/agent_commission.html b/httemplate/search/agent_commission.html index b8fbe200f..b94ae9f6e 100644 --- a/httemplate/search/agent_commission.html +++ b/httemplate/search/agent_commission.html @@ -1,6 +1,12 @@ %# still not a good way to do rows grouped by some field in a search.html %# report +% if ( $type eq 'xls' ) { +<% $data %>\ +% } else { <& /elements/header.html, $title &> +

+Download full results
+as Excel spreadsheet