RT# 74665 - set a default close date if global config quotation_disable_after_days...
[freeside.git] / httemplate / edit / mailinglistmember.html
1 <% include( 'elements/edit.html',
2               'name_singular' => 'member',
3               'table'         => 'mailinglistmember',
4               'popup'         => 1,
5               'fields'        => [
6                 { field=>'listnum', type=>'hidden', },
7                 { field=>'svcnum', type=>'hidden', }, #not yet
8                 { field=>'contactemailnum', type=>'hidden', }, #not yet
9                 { field=>'email', type=>'text', },
10               ],
11               'labels' => { 'membernum' => 'Member',
12                             'email'     => 'Email address',
13                           },
14               'new_callback' => $new_callback,
15           )
16 %>
17 <%init>
18
19 my $new_callback = sub {
20   #my( $cgi, $object, $fields_listref, $opt_hashref ) = @_;
21   my( $cgi, $object ) = @_;
22   $object->listnum( $cgi->param('listnum') );
23 };
24
25 </%init>