X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main-contacts.html;h=9f0654608f7f98ba898f909deeaca28afb8b8e76;hb=167dbdad01e2c1b62fd9be43cc05212e8c874a02;hp=bae58bd332a686626b8cdec1abf8cea5306d39de;hpb=83f70978574fef3401020cb11cf651d12c139b3b;p=freeside.git diff --git a/httemplate/edit/cust_main-contacts.html b/httemplate/edit/cust_main-contacts.html index bae58bd33..9f0654608 100644 --- a/httemplate/edit/cust_main-contacts.html +++ b/httemplate/edit/cust_main-contacts.html @@ -1,9 +1,10 @@ -<% include('elements/edit.html', +<& elements/edit.html, 'name_singular' => 'customer contacts', #yes, we're editing all of them 'table' => 'cust_main', - 'post_url' => popurl(1). 'process/cust_main-contacts.html', - 'labels' => { 'custnum' => ' ', #XXX supress this line entirely, its being redundant - 'contactnum' => 'Contact', + 'post_url' => popurl(1). 'process/cust_main-contacts.html', + 'no_pkey_display' => 1, + 'labels' => { + 'contactnum' => ' ', #'Contact', #'locationnum' => ' ', }, 'fields' => [ @@ -12,7 +13,7 @@ 'colspan' => 6, 'm2m_method' => 'cust_contact', 'm2m_dstcol' => 'contactnum', - 'm2_label' => 'Contact', + 'm2_label' => ' ', #'Contact', 'm2_error_callback' => $m2_error_callback, }, ], @@ -20,17 +21,17 @@ #'edit_callback' => $edit_callback, #'error_callback' => $error_callback, 'agent_virt' => 1, - 'menubar' => [], #remove "view all" link + 'menubar' => [], #remove "view all" link #XXX it would be nice if this could instead be after the error but before # the table - 'html_init' => include('/elements/small_custview.html', - $custnum, - $conf->config('countrydefault') || 'US', - 1, #no balance - ), - ) -%> + 'html_init' => include('/elements/small_custview.html', + $custnum, + $conf->config('countrydefault') || 'US', + 1, #no balance + ). + '
', +&> <%init> my $curuser = $FS::CurrentUser::CurrentUser;