projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02b9c53
)
eliminate funkiness with reappearing "Postal invoice" on errors
author
ivan
<ivan>
Fri, 15 Dec 2006 08:25:44 +0000
(08:25 +0000)
committer
ivan
<ivan>
Fri, 15 Dec 2006 08:25:44 +0000
(08:25 +0000)
httemplate/edit/cust_main.cgi
patch
|
blob
|
history
httemplate/edit/cust_main/billing.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/cust_main.cgi
b/httemplate/edit/cust_main.cgi
index
daddd8e
..
748cdde
100755
(executable)
--- a/
httemplate/edit/cust_main.cgi
+++ b/
httemplate/edit/cust_main.cgi
@@
-62,6
+62,8
@@
% $password = '';
% $popnum = 0;
% @invoicing_list = ();
+% push @invoicing_list, 'POST'
+% unless $conf->exists('disablepostalinvoicedefault');
%}
%$cgi->delete_all();
%
diff --git
a/httemplate/edit/cust_main/billing.html
b/httemplate/edit/cust_main/billing.html
index
ae56307
..
77db7b6
100644
(file)
--- a/
httemplate/edit/cust_main/billing.html
+++ b/
httemplate/edit/cust_main/billing.html
@@
-409,11
+409,7
@@
<TR>
<TD WIDTH="608" COLSPAN="2"><INPUT TYPE="checkbox" NAME="invoicing_list_POST" VALUE="POST" <%
- ( ( ! @invoicing_list
- && ! $conf->exists('disablepostalinvoicedefault')
- && ! $cust_main->custnum
- )
- || grep { $_ eq 'POST' } @invoicing_list )
+ ( grep { $_ eq 'POST' } @invoicing_list )
? 'CHECKED'
: ''