projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
agent-ize invoice_default_terms, RT#32513
[freeside.git]
/
httemplate
/
view
/
cust_main
/
billing.html
diff --git
a/httemplate/view/cust_main/billing.html
b/httemplate/view/cust_main/billing.html
index
749004d
..
78d51d0
100644
(file)
--- a/
httemplate/view/cust_main/billing.html
+++ b/
httemplate/view/cust_main/billing.html
@@
-260,7
+260,12
@@
<TR>
<TD ALIGN="right"><% mt('Invoice terms') |h %></TD>
<TD BGCOLOR="#ffffff">
<TR>
<TD ALIGN="right"><% mt('Invoice terms') |h %></TD>
<TD BGCOLOR="#ffffff">
- <% $cust_main->invoice_terms || emt('Default').' ('. ( $conf->config('invoice_default_terms') || emt('Payable upon receipt') ). ')' %>
+ <% $cust_main->invoice_terms
+ || emt('Default').' ('. ( $conf->config('invoice_default_terms', $cust_main->agentnum)
+ || emt('Payable upon receipt')
+ ).
+ ')'
+ %>
</TD>
</TR>
<TR>
</TD>
</TR>
<TR>
@@
-273,6
+278,9
@@
? "Default ($money_char". sprintf("%.2f", $default_credit_limit). ")"
: emt('Unlimited')
%>
? "Default ($money_char". sprintf("%.2f", $default_credit_limit). ")"
: emt('Unlimited')
%>
+% if ( $cust_main->num_cust_main_credit_limit ) {
+ <A HREF="<% $p %>search/cust_main_credit_limit.html?custnum=<% $cust_main->custnum %>">(incidents)</A>
+% }
</TD>
</TR>
</TD>
</TR>