-push @$menubar, 'Fax these invoices' =>
- "javascript:confirm_fax_process()"
- if $conf->exists('hylafax');
+if ( $FS::CurrentUser::CurrentUser->access_right('Resend invoices') ) {
+
+ push @$menubar, emt('Print these invoices') =>
+ "javascript:confirm_print_process()",
+ emt('Email these invoices') =>
+ "javascript:confirm_email_process()";
+
+ push @$menubar, emt('Fax these invoices') =>
+ "javascript:confirm_fax_process()"
+ if $conf->exists('hylafax');
+
+ push @$menubar, emt('FTP these invoices') =>
+ "javascript:confirm_ftp_process()"
+ if $conf->exists('cust_bill-ftpformat');
+
+ push @$menubar, emt('Spool these invoices') =>
+ "javascript:confirm_spool_process()"
+ if $conf->exists('cust_bill-spoolformat');
+
+}