From b7f3e1493aeb4061c65a5ba52dd8318f4662eb2e Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 12 Nov 2018 19:00:44 -0800 Subject: Option to ignore old CDRs, RT#81480 --- httemplate/edit/part_pkg.cgi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'httemplate/edit') 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', -- cgit v1.2.1