summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-11-12 19:00:51 -0800
committerIvan Kohler <ivan@freeside.biz>2018-11-12 19:00:51 -0800
commit206ae45f19e24886aa203f66a732f69632693cfb (patch)
treea8fa7cdd5076b37b1105eed661a2eec15f74b458 /httemplate
parent5865a3fa94a6e7ed1183cff72de0c5948808001d (diff)
Option to ignore old CDRs, RT#81480
Diffstat (limited to 'httemplate')
-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 f9cfee807..c6a442b15 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' =>
@@ -880,6 +881,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',