[freeside-commits] branch FREESIDE_3_BRANCH updated. 0cd16691f5919a6e63bc99b409e56f5517d07e80
Ivan
ivan at 420.am
Sun Aug 25 21:18:48 PDT 2013
The branch, FREESIDE_3_BRANCH has been updated
via 0cd16691f5919a6e63bc99b409e56f5517d07e80 (commit)
from c54bf9bd1bfcdc57ad2dd68a12d90968a15fbe4c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0cd16691f5919a6e63bc99b409e56f5517d07e80
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Aug 25 21:18:46 2013 -0700
continue sales person work: customer and package selection, commissions, reporting. RT#23402
diff --git a/FS/FS/UI/Web/small_custview.pm b/FS/FS/UI/Web/small_custview.pm
index ae0a421..4d70519 100644
--- a/FS/FS/UI/Web/small_custview.pm
+++ b/FS/FS/UI/Web/small_custview.pm
@@ -31,7 +31,7 @@ sub small_custview {
my $html = '<DIV ID="fs_small_custview" CLASS="small_custview">';
- $html = qq!View <A HREF="$url?! . $cust_main->custnum . '">'
+ $html = qq!<A HREF="$url?! . $cust_main->custnum . '">'
if $url;
$html .= 'Customer #<B>'. $cust_main->display_custnum. '</B></A>'.
diff --git a/httemplate/browse/agent.cgi b/httemplate/browse/agent.cgi
index fc9ce54..568d3f3 100755
--- a/httemplate/browse/agent.cgi
+++ b/httemplate/browse/agent.cgi
@@ -84,12 +84,12 @@ full offerings (via their type).<BR><BR>
<TD CLASS="inv" BGCOLOR="<% $bgcolor %>">
% if ( $agent->agent_custnum ) {
- <% include('/elements/small_custview.html',
- $agent->agent_custnum,
- scalar($conf->config('countrydefault')),
- 1, #show balance
- )
- %>
+ <& /elements/small_custview.html,
+ $agent->agent_custnum,
+ scalar($conf->config('countrydefault')),
+ 1, #show balance
+ $p.'view/cust_main.cgi',
+ &>
% }
</TD>
diff --git a/httemplate/browse/sales.html b/httemplate/browse/sales.html
index d7375b9..47db420 100644
--- a/httemplate/browse/sales.html
+++ b/httemplate/browse/sales.html
@@ -38,6 +38,7 @@ push @fields, sub {
$sales->sales_custnum,
scalar($conf->config('countrydefault')),
1, #show balance
+ $p.'view/cust_main.cgi',
);
};
push @links, '';
-----------------------------------------------------------------------
Summary of changes:
FS/FS/UI/Web/small_custview.pm | 2 +-
httemplate/browse/agent.cgi | 12 ++++++------
httemplate/browse/sales.html | 1 +
3 files changed, 8 insertions(+), 7 deletions(-)
More information about the freeside-commits
mailing list