From 8e5fab2148c7dc492b9fffe271c3dcf8df55b01f Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 27 Mar 2011 22:46:38 +0000 Subject: better prospect -> customer conversion, RT#7111 --- httemplate/view/cust_main/contacts.html | 2 +- httemplate/view/cust_main/contacts_new.html | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 httemplate/view/cust_main/contacts_new.html (limited to 'httemplate/view/cust_main') 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 @@
% } % } - +<% 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 ) { +
+Contacts +<% ntable("#cccccc",2) %> +% foreach my $contact ( @contacts ) { + + Contact + <% $contact->line %> + +% } + + +% } + +<%init> + +my( $cust_main ) = @_; +#my $conf = new FS::Conf; + +my @contacts = $cust_main->cust_contact; + + -- cgit v1.2.1