[freeside-commits] branch FREESIDE_4_BRANCH updated. c98df1778880e45db04e02c6f9595cf38e53533a

Ivan Kohler ivan at freeside.biz
Mon Apr 27 12:59:12 PDT 2020


The branch, FREESIDE_4_BRANCH has been updated
       via  c98df1778880e45db04e02c6f9595cf38e53533a (commit)
      from  7e77ce4537fbd2943e36f3b5f65558c389207bc5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c98df1778880e45db04e02c6f9595cf38e53533a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Apr 27 12:59:11 2020 -0700

    search svc_acct by service def

diff --git a/httemplate/elements/tr-select-part_svc.html b/httemplate/elements/tr-select-part_svc.html
index 959ac8dd9..efe18a0e6 100644
--- a/httemplate/elements/tr-select-part_svc.html
+++ b/httemplate/elements/tr-select-part_svc.html
@@ -5,7 +5,7 @@
 % } else { 
 
   <TR>
-    <TD ALIGN="right"><% $opt{'label'} || 'Service definition' %></TD>
+    <TH ALIGN="right"><% $opt{'label'} || 'Service definition' %></TH>
     <TD>
       <% include( '/elements/select-part_svc.html',
                     'multiple' => 1,
diff --git a/httemplate/search/report_svc_acct.html b/httemplate/search/report_svc_acct.html
index 3b8e46448..711905ac5 100755
--- a/httemplate/search/report_svc_acct.html
+++ b/httemplate/search/report_svc_acct.html
@@ -69,6 +69,8 @@
     
     <& /elements/tr-selectmultiple-part_pkg.html &> 
 
+    <& /elements/tr-select-part_svc.html, svcdb=>'svc_acct' &> 
+
 %   my $conf = new FS::Conf;
 %   if ( $conf->exists('svc_acct-tower_sector') 
 %        and FS::tower_sector->count > 0 ) {
diff --git a/httemplate/search/svc_acct.cgi b/httemplate/search/svc_acct.cgi
index ecf37b42e..7f423d521 100755
--- a/httemplate/search/svc_acct.cgi
+++ b/httemplate/search/svc_acct.cgi
@@ -254,6 +254,8 @@ if ( $cgi->param('magic') =~ /^(all|unlinked)$/ ) {
 
   $search_hash{'pkgpart'} = [ $cgi->param('pkgpart') ];
 
+  $search_hash{'svcpart'} = [ $cgi->param('svcpart') ];
+
   foreach my $field (qw( last_login last_logout )) {
 
     my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi, $field);

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/tr-select-part_svc.html | 2 +-
 httemplate/search/report_svc_acct.html      | 2 ++
 httemplate/search/svc_acct.cgi              | 2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list