diff options
| author | ivan <ivan> | 2007-09-29 02:17:48 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2007-09-29 02:17:48 +0000 |
| commit | 4b5c6ba830fe2845a0055e1fcf5af0c7e8b8cd0c (patch) | |
| tree | 4f79e06b5214a13597258acc1d8e528cd884dc32 /httemplate/search/report_tax.cgi | |
| parent | 11f1a064f3618bac4078c8ae86654b3182ec0e07 (diff) | |
fix ambiguous agentnum errors in cust_event.html & report_tax.cgi (provide a table option in access_user::agentnums_sql so this is easy to fix for other reports too)
Diffstat (limited to 'httemplate/search/report_tax.cgi')
| -rwxr-xr-x | httemplate/search/report_tax.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi index e97480540..bb9c8f433 100755 --- a/httemplate/search/report_tax.cgi +++ b/httemplate/search/report_tax.cgi @@ -226,7 +226,7 @@ if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) { my $agent = qsearchs('agent', { 'agentnum' => $1 } ); die "agent not found" unless $agent; $agentname = $agent->agent; - $where .= ' AND agentnum = '. $agent->agentnum; + $where .= ' AND cust_main.agentnum = '. $agent->agentnum; } my $gotcust = " |
