X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fpart_svc.cgi;h=b80118f898fe7cc2c051169e77667fffd295287d;hp=2ec0242694a01498ada1ccdb74a36a5558abfe71;hb=aad287228dfbe5ef01be73ebaaa9a06dfbe11226;hpb=e0c23bec998267cf2d72ee2a98fa2a88ee1de066 diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index 2ec024269..b80118f89 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -31,11 +31,31 @@ font-size: smaller; font-style: italic; } +.selectrole { + font-size: small +} -
+ 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} &> - + - + - + @@ -164,10 +211,9 @@ window.onload = function() {
-
-Table <% $widget->html %> +Table <% $widget->html %> -<% include('/elements/footer.html') %> +<& /elements/footer.html &> <%init> @@ -205,11 +251,11 @@ my $help = ''; unless ( $hashref->{svcpart} ) { $help = ' '. include('/elements/popup_link.html', - 'action' => $p.'docs/part_svc-table.html', - 'label' => 'help', + 'action' => $p.'docs/part_svc-table.html', + 'label' => 'help', 'actionlabel' => 'Service table help', - 'width' => 763, - #'height' => 400, + 'width' => 960, + 'height' => 400, ); } @@ -218,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' : '' %>>