diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2018-11-12 19:00:44 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2018-11-12 19:00:44 -0800 |
| commit | b7f3e1493aeb4061c65a5ba52dd8318f4662eb2e (patch) | |
| tree | e0a895fabd32b8f1ae152bd33987be638ca3cb9f /httemplate/edit | |
| parent | 434c049763741ac36f9b41df8102c6dd2eaf0fb0 (diff) | |
Option to ignore old CDRs, RT#81480
Diffstat (limited to 'httemplate/edit')
| -rwxr-xr-x | httemplate/edit/part_pkg.cgi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi index 71ba46dcb..50382077f 100755 --- a/httemplate/edit/part_pkg.cgi +++ b/httemplate/edit/part_pkg.cgi @@ -9,6 +9,7 @@ #'viewall_dir' => 'browse', 'viewall_url' => $p.'browse/part_pkg.cgi', 'html_init' => include('/elements/init_overlib.html'). + include('/elements/init_calendar.html'). $javascript, 'html_bottom' => $html_bottom, 'body_etc' => @@ -1016,6 +1017,13 @@ my $html_bottom = sub { : '' ). '>'; + } elsif ( $href->{$field}{'type'} eq 'date' ) { + + $html .= include('/elements/input-date-field.html', { + 'name' => $layer.'__'.$field, + 'value' => $options{$field}, + }); + } elsif ( $href->{$field}{'type'} =~ /^select-rt-/ ) { $html .= include('/elements/'.$href->{$field}{'type'}.'.html', |
