5 <& /elements/popup_link-send_report_batch.html,
6 reportname => 'sales_commission_pkg',
7 label => 'Click here to send reports by email',
10 <& /elements/popup_link.html, $params &>\
13 my $params = { 'closetext' => emt('Close') };
15 if (ref($_[0]) eq 'HASH') {
16 $params = { %$params, %{ $_[0] } };
18 $params = { %$params, @_ };
21 $params->{'label'} ||= emt('Send reports by email');
22 $params->{'actionlabel'} ||= emt('Send reports');
23 #$params->{'width'} ||= 350;
24 $params->{'height'} ||= 650;
26 $params->{'action'} = $fsurl. 'misc/send-report.html?reportname='. $params->{'reportname'};