[freeside-commits] freeside/httemplate/search cust_bill.html, 1.19.2.9, 1.19.2.10
Ivan,,,
ivan at wavetail.420.am
Sat Mar 29 19:45:13 PDT 2008
- Previous message: [freeside-commits] freeside/httemplate/view cust_bill.cgi, 1.37.2.1, 1.37.2.2
- Next message: [freeside-commits] freeside/httemplate/elements overlibmws_crossframe.js, 1.1, 1.2 overlibmws_draggable.js, 1.2, 1.3 overlibmws_iframe.js, 1.1, 1.2 overlibmws.js, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv14921/search
Modified Files:
Tag: FREESIDE_1_7_BRANCH
cust_bill.html
Log Message:
don't show invoice resend and payment posting links if you can't do that anyway
Index: cust_bill.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_bill.html,v
retrieving revision 1.19.2.9
retrieving revision 1.19.2.10
diff -u -d -r1.19.2.9 -r1.19.2.10
--- cust_bill.html 15 Mar 2008 19:52:30 -0000 1.19.2.9
+++ cust_bill.html 30 Mar 2008 02:45:10 -0000 1.19.2.10
@@ -213,15 +213,18 @@
</SCRIPT>';
-my $menubar = [
- 'Print these invoices' =>
- "javascript:confirm_print_process()",
- 'Email these invoices' =>
- "javascript:confirm_email_process()",
- ];
+my $menubar = [];
-push @$menubar, 'Fax these invoices' =>
- "javascript:confirm_fax_process()"
- if $conf->exists('hylafax');
+if ( $FS::CurrentUser::CurrentUser->access_right('Resend invoices') ) {
+
+ push @$menubar, 'Print these invoices' =>
+ "javascript:confirm_print_process()",
+ 'Email these invoices' =>
+ "javascript:confirm_email_process()";
+
+ push @$menubar, 'Fax these invoices' =>
+ "javascript:confirm_fax_process()"
+ if $conf->exists('hylafax');
+}
</%init>
- Previous message: [freeside-commits] freeside/httemplate/view cust_bill.cgi, 1.37.2.1, 1.37.2.2
- Next message: [freeside-commits] freeside/httemplate/elements overlibmws_crossframe.js, 1.1, 1.2 overlibmws_draggable.js, 1.2, 1.3 overlibmws_iframe.js, 1.1, 1.2 overlibmws.js, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list