X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=fc033b97095c2d79ec3a4c2c40bfdde6e98e9da2;hp=f06a4fbd20f0da75c47c085f2eb75028fb952468;hb=3ce7691203a7737406bf2d4442f7fd84b81f847e;hpb=15e561850b61b10a92a46d8f3e316d53d4970087
diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html
index f06a4fbd2..fc033b970 100644
--- a/httemplate/view/cust_main/misc.html
+++ b/httemplate/view/cust_main/misc.html
@@ -1,76 +1,77 @@
-<%
- my( $cust_main ) = @_;
- my $conf = new FS::Conf;
-%>
+%
+% my( $cust_main ) = @_;
+% my $conf = new FS::Conf;
+%
+
-<%= ntable("#cccccc") %>
<%= &ntable("#cccccc",2) %>
+<% ntable("#cccccc") %> |
<% &ntable("#cccccc",2) %>
|
Customer number |
- <%= $cust_main->custnum %> |
+ <% $cust_main->custnum %> |
Status |
- <%= ucfirst($cust_main->status) %> |
+ <% ucfirst($cust_main->status) %> |
+%
+% my @agents = qsearch( 'agent', {} );
+% my $agent;
+% unless ( scalar(@agents) == 1 ) {
+% $agent = qsearchs('agent',{ 'agentnum' => $cust_main->agentnum } );
+%
-<%
- my @agents = qsearch( 'agent', {} );
- my $agent;
- unless ( scalar(@agents) == 1 ) {
- $agent = qsearchs('agent',{ 'agentnum' => $cust_main->agentnum } );
-%>
Agent |
- <%= $agent->agentnum %>: <%= $agent->agent %> |
+ <% $agent->agentnum %>: <% $agent->agent %> |
+%
+% } else {
+% $agent = $agents[0];
+% }
+%
+% if ( $cust_main->agent_custid ) {
+%
-<%
- } else {
- $agent = $agents[0];
- }
-
- if ( $cust_main->agent_custid ) {
-%>
Agent customer ref# |
- <%= $cust_main->agent_custid %> |
+ <% $cust_main->agent_custid %> |
+%
+% }
+%
+% unless ( FS::part_referral->num_part_referral == 1 ) {
+% my $referral = qsearchs('part_referral', {
+% 'refnum' => $cust_main->refnum
+% } );
+%
-<%
- }
-
- unless ( FS::part_referral->num_part_referral == 1 ) {
- my $referral = qsearchs('part_referral', {
- 'refnum' => $cust_main->refnum
- } );
-%>
Advertising source |
- <%= $referral->refnum %>: <%= $referral->referral%> |
+ <% $referral->refnum %>: <% $referral->referral%> |
+% }
-<% } %>
Referring Customer |
+%
+% my $referring_cust_main = '';
+% if ( $cust_main->referral_custnum
+% && ( $referring_cust_main =
+% qsearchs('cust_main', { custnum => $cust_main->referral_custnum } )
+% )
+% ) {
+%
+
+<%$cust_main->referral_custnum %>:
<%
- my $referring_cust_main = '';
- if ( $cust_main->referral_custnum
- && ( $referring_cust_main =
- qsearchs('cust_main', { custnum => $cust_main->referral_custnum } )
- )
- ) {
-%>
-
-<%=$cust_main->referral_custnum %>:
-<%=
( $referring_cust_main->company
? $referring_cust_main->company. ' ('.
$referring_cust_main->last. ', '. $referring_cust_main->first.
@@ -78,15 +79,15 @@
: $referring_cust_main->last. ', '. $referring_cust_main->first
)
%>
+% }
-<% } %>
|
Order taker |
- <%= $cust_main->otaker %> |
+ <% $cust_main->otaker %> |