[freeside-commits] freeside/httemplate/edit/process prospect_main.html, 1.1, 1.2

Ivan,,, ivan at wavetail.420.am
Wed Oct 13 18:14:29 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail.420.am:/tmp/cvs-serv4104/httemplate/edit/process

Modified Files:
	prospect_main.html 
Log Message:
more contact work and preliminary business card upload

Index: prospect_main.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/prospect_main.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- prospect_main.html	28 Dec 2009 19:18:19 -0000	1.1
+++ prospect_main.html	14 Oct 2010 01:14:27 -0000	1.2
@@ -4,7 +4,7 @@
      'agent_virt'     => 1,
      'process_o2m' => {
        'table'  => 'contact',
-       'fields' => [qw( first last title comment )],
+       'fields' => \@contact_fields,
      },
      'redirect' => popurl(3). 'view/prospect_main.html?',
    )
@@ -31,4 +31,9 @@
 
 };
 
+my @contact_fields = qw( first last title comment emailaddress );
+foreach my $phone_type ( qsearch({table=>'phone_type', order_by=>'weight'}) ) {
+  push @contact_fields, 'phonetypenum'.$phone_type->phonetypenum;
+}
+
 </%init>



More information about the freeside-commits mailing list