X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fpart_svc.cgi;h=49c1c03d8edf97f4480a3aa9e7d5d9901075d22b;hp=7a47f1550f1e0707ce0a062e68dbfb757e5a6400;hb=833cfe5c9938d33c3e6b97ed610c25a7afa6eb04;hpb=ad3bcb39580173f0ac1b6357cb49515d48af7ddf diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index 7a47f1550..49c1c03d8 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -36,9 +36,26 @@ } -
+ Service Part #<% $part_svc->svcpart ? $part_svc->svcpart : "(NEW)" %> - - - - +<& /elements/tr-input-locale-text.html, + 'object' => $part_svc, + 'cgi' => $cgi, + 'field' => 'svc', + 'label' => 'Service', + 'curr_value' => $hashref->{svc}, +&> +%# +%# +%# +%# <& /elements/tr-select-part_svc_class.html, curr_value=>$hashref->{classnum} &> - + - + - + @@ -187,10 +211,9 @@ window.onload = function() {
-
-Table <% $widget->html %> +Table <% $widget->html %> -<% include('/elements/footer.html') %> +<& /elements/footer.html &> <%init> @@ -241,12 +264,12 @@ my $widget = new HTML::Widgets::SelectLayers( #'selected_layer' => $p_svcdb, 'selected_layer' => $hashref->{svcdb} || 'svc_acct', 'options' => \%svcdb, - 'form_name' => 'dummy', + 'form_name' => 'SvcEditMain', #'form_action' => 'process/part_svc.cgi', 'form_action' => 'part_svc.cgi', #self - 'form_elements' => [qw( svc svcpart classnum selfservice_access - disabled preserve - )], +# 'form_elements' => [qw( svc svcpart classnum selfservice_access +# disabled preserve +# )], 'html_between' => $help, 'layer_callback' => sub { include('elements/part_svc_column.html',
Service
Service
Self-service accessSelf-service access
Disable new ordersDisable new orders {disabled} eq 'Y' ? ' CHECKED' : '' %>>
Preserve this service on package cancellationPreserve this service on package cancellation {'preserve'} eq 'Y' ? ' CHECKED' : '' %>>