diff options
author | ivan <ivan> | 2011-03-27 22:46:38 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-03-27 22:46:38 +0000 |
commit | 8e5fab2148c7dc492b9fffe271c3dcf8df55b01f (patch) | |
tree | c1d46b33a790b21b84c2a2617dc3554e341b6e36 /httemplate/view | |
parent | 130940a4115c3b96e4d7b2206bea2ecf8d882d6e (diff) |
better prospect -> customer conversion, RT#7111
Diffstat (limited to 'httemplate/view')
-rw-r--r-- | httemplate/view/cust_main/contacts.html | 2 | ||||
-rw-r--r-- | httemplate/view/cust_main/contacts_new.html | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index e91af54e6..a86c35cdd 100644 --- a/httemplate/view/cust_main/contacts.html +++ b/httemplate/view/cust_main/contacts.html @@ -96,7 +96,7 @@ <BR> % } % } - +<% include('contacts_new.html', $cust_main) %> <%once> my $daytime_label = FS::Msgcat::_gettext('daytime') =~ /^(daytime)?$/ diff --git a/httemplate/view/cust_main/contacts_new.html b/httemplate/view/cust_main/contacts_new.html new file mode 100644 index 000000000..bd812c7e7 --- /dev/null +++ b/httemplate/view/cust_main/contacts_new.html @@ -0,0 +1,22 @@ +% if ( @contacts ) { +<BR> +Contacts +<% ntable("#cccccc",2) %> +% foreach my $contact ( @contacts ) { + <TR> + <TD ALIGN="right">Contact</TD> + <TD BGCOLOR="#FFFFFF"><% $contact->line %></TD> + </TR> +% } +</TABLE> + +% } + +<%init> + +my( $cust_main ) = @_; +#my $conf = new FS::Conf; + +my @contacts = $cust_main->cust_contact; + +</%init> |