enable CardFortress in test database, #71513
[freeside.git] / httemplate / elements / popup_link-send_report_batch.html
1 <%doc>
2
3 Example:
4
5 <& /elements/popup_link-send_report_batch.html,
6   reportname => 'sales_commission_pkg',
7   label => 'Click here to send reports by email',
8 &>
9 </%doc>
10 <& /elements/popup_link.html, $params &>\
11 <%init>
12
13 my $params = { 'closetext' => emt('Close') };
14
15 if (ref($_[0]) eq 'HASH') {
16   $params = { %$params, %{ $_[0] } };
17 } else {
18   $params = { %$params, @_ };
19 }
20
21 $params->{'label'} ||= emt('Send reports by email');
22 $params->{'actionlabel'} ||= emt('Send reports');
23 #$params->{'width'} ||= 350;
24 $params->{'height'} ||= 650;
25
26 $params->{'action'} = $fsurl. 'misc/send-report.html?reportname='. $params->{'reportname'};
27
28 </%init>