summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-11-12 19:00:44 -0800
committerIvan Kohler <ivan@freeside.biz>2018-11-12 19:00:44 -0800
commitb7f3e1493aeb4061c65a5ba52dd8318f4662eb2e (patch)
treee0a895fabd32b8f1ae152bd33987be638ca3cb9f /httemplate/edit
parent434c049763741ac36f9b41df8102c6dd2eaf0fb0 (diff)
Option to ignore old CDRs, RT#81480
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/part_pkg.cgi8
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',