X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpart_export.cgi;h=5411feb5fba062f8424e070f0f871f628745823b;hb=0353e495131736a7c03d87b4d8c1d500cb96b863;hp=0e53e29d0b58a91ace18e83a90aee346d610b5fb;hpb=e3503e19a5a6c876f410903a3946dd9f1597aa46;p=freeside.git diff --git a/httemplate/edit/part_export.cgi b/httemplate/edit/part_export.cgi index 0e53e29d0..5411feb5f 100644 --- a/httemplate/edit/part_export.cgi +++ b/httemplate/edit/part_export.cgi @@ -183,6 +183,10 @@ my $widget = new HTML::Widgets::SelectLayers( ? $optinfo->{default} : '' ); + + #handle these with post_config_element + next if $type eq 'custom'; + if ( $type eq 'title' ) { $html .= qq!! . $label . @@ -281,8 +285,24 @@ my $widget = new HTML::Widgets::SelectLayers( $html .= ''; } + $html .= 'Do not suspend services' . + 'no_suspend eq 'Y'; + $html .= '>'; + $html .= ''; + # false laziness with config_element above + # create 'post_config_element' to generate the whole layer with a Mason component + if ( my $include = $exports->{$layer}{post_config_element} ) { + # might need to adjust the scope of this at some point + $html .= $m->scomp($include, + part_export => $part_export, + layer => $layer, + export_info => $exports->{$layer} + ); + } + $html .= '';