[freeside-commits] freeside/httemplate/search cust_bill.html, 1.19.2.10, 1.19.2.11
Ivan,,,
ivan at wavetail.420.am
Wed Sep 10 01:34:34 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv19390
Modified Files:
Tag: FREESIDE_1_7_BRANCH
cust_bill.html
Log Message:
add re-FTP reprint, RT#create-me-tommorow-for-enet
Index: cust_bill.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_bill.html,v
retrieving revision 1.19.2.10
retrieving revision 1.19.2.11
diff -u -d -r1.19.2.10 -r1.19.2.11
--- cust_bill.html 30 Mar 2008 02:45:10 -0000 1.19.2.10
+++ cust_bill.html 10 Sep 2008 08:34:32 -0000 1.19.2.11
@@ -188,7 +188,7 @@
qq!<FORM NAME="${_}form">!,
( map qq!<INPUT TYPE="hidden" NAME="$_" VALUE="$search{$_}">!, keys %search ),
qq!</FORM>!
-} qw( print_ email_ fax_ ) ).
+} qw( print_ email_ fax_ ftp_ ) ).
'<SCRIPT TYPE="text/javascript">
@@ -210,6 +210,12 @@
}
fax_process();
}
+function confirm_ftp_process() {
+ if ( ! confirm("Are you sure you want to re-FTP these invoices?") ) {
+ return;
+ }
+ ftp_process();
+}
</SCRIPT>';
@@ -225,6 +231,10 @@
push @$menubar, 'Fax these invoices' =>
"javascript:confirm_fax_process()"
if $conf->exists('hylafax');
+
+ push @$menubar, 'FTP these invoices' =>
+ "javascript:confirm_ftp_process()"
+ if $conf->exists('cust_bill-ftpformat');
}
</%init>
More information about the freeside-commits
mailing list