diff options
author | ivan <ivan> | 2008-10-19 00:38:09 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-10-19 00:38:09 +0000 |
commit | 51d044c74ff531b744a6b570fe4a178654a0e7da (patch) | |
tree | 62f4435d7032ca93770ba035d1f94f2b0cdba2dc /httemplate/browse/agent.cgi | |
parent | 86a09d3645f2b92ecd735ce8354e5f99a64b050f (diff) |
add a master custnum field to agents, RT#2933 (roundabout)
Diffstat (limited to 'httemplate/browse/agent.cgi')
-rwxr-xr-x | httemplate/browse/agent.cgi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi index 234bfa74a..89739f00b 100755 --- a/httemplate/browse/agent.cgi +++ b/httemplate/browse/agent.cgi @@ -26,6 +26,7 @@ full offerings (via their type).<BR><BR> <TR> <TH CLASS="grid" BGCOLOR="#cccccc" COLSPAN=<% ( $cgi->param('showdisabled') || !dbdef->table('agent')->column('disabled') ) ? 2 : 3 %>>Agent</TH> <TH CLASS="grid" BGCOLOR="#cccccc">Type</TH> + <TH CLASS="grid" BGCOLOR="#cccccc">Master Customer</TH> <TH CLASS="grid" BGCOLOR="#cccccc"><FONT SIZE=-1>Invoice<BR>Template</FONT></TH> <TH CLASS="grid" BGCOLOR="#cccccc">Customers</TH> <TH CLASS="grid" BGCOLOR="#cccccc"><FONT SIZE=-1>Customer<BR>packages</FONT></TH> @@ -84,6 +85,17 @@ full offerings (via their type).<BR><BR> <A HREF="<%$p%>edit/agent_type.cgi?<% $agent->typenum %>"><% $agent->agent_type->atype %></A> </TD> + <TD CLASS="inv" BGCOLOR="<% $bgcolor %>"> +% if ( $agent->agent_custnum ) { + <% include('/elements/small_custview.html', + $agent->agent_custnum, + scalar($conf->config('countrydefault')), + 1, #show balance + ) + %> +% } + </TD> + <TD CLASS="grid" BGCOLOR="<% $bgcolor %>"> <% $agent->invoice_template || '(Default)' %> </TD> |