diff options
author | khoff <khoff> | 2005-03-21 22:13:39 +0000 |
---|---|---|
committer | khoff <khoff> | 2005-03-21 22:13:39 +0000 |
commit | 18c025613fa052cf4ba8d484f1296cc2a1719a24 (patch) | |
tree | 334919583d3ecdd78413ad7405b6092e62f614ad /httemplate/edit/cust_main.cgi | |
parent | 30189fa2e5987bafeb4714a83b7f130c568b221c (diff) |
Added support for FAX invoice destinations using a HylaFAX server.
Faxing plain text invoices is not supported.
Diffstat (limited to 'httemplate/edit/cust_main.cgi')
-rwxr-xr-x | httemplate/edit/cust_main.cgi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index 3910b4b84..61468f382 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -302,8 +302,11 @@ if ( $payby_default eq 'HIDE' ) { print qq! CHECKED! if ( ! @invoicing_list && ! $conf->exists('disablepostalinvoicedefault') ) || grep { $_ eq 'POST' } @invoicing_list; - print qq!>Postal mail invoice</TD></TR>!; - my $invoicing_list = join(', ', grep { $_ ne 'POST' } @invoicing_list ); + print qq!>Postal mail invoice</TD></TR><TR><TD>!; + print qq!<INPUT TYPE="checkbox" NAME="invoicing_list_FAX" VALUE="FAX"!; + print qq! CHECKED! if (grep { $_ eq 'FAX' } @invoicing_list); + print qq!>FAX invoice</TD></TR>!; + my $invoicing_list = join(', ', grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list ); print qq!<TR><TD>Email invoice <INPUT TYPE="text" NAME="invoicing_list" VALUE="$invoicing_list"></TD></TR>!; print "<TR><TD>Billing type</TD></TR>", |