diff options
author | Christopher Burger <burgerc@freeside.biz> | 2019-06-06 10:00:26 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2019-06-06 10:00:26 -0400 |
commit | c8de09c1c19c34eb9384c391b81b90bd0f0ba8a5 (patch) | |
tree | dc32d4df854a0e2d3d15f212a3700529f8847a79 /FS | |
parent | a3092d901441a8640c1f7f9be4b0374146e43b0a (diff) |
RT# 83251 - removed search for unprovisioned services
Diffstat (limited to 'FS')
-rwxr-xr-x | FS/bin/freeside-svcbroadband_update_speeds | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/FS/bin/freeside-svcbroadband_update_speeds b/FS/bin/freeside-svcbroadband_update_speeds index b3b257a5a..8a6f33f7d 100755 --- a/FS/bin/freeside-svcbroadband_update_speeds +++ b/FS/bin/freeside-svcbroadband_update_speeds @@ -47,12 +47,12 @@ my @services = qsearch({ }); ### get list of all unprovisioned services -my $ups_extra_sql = "where cust_pkg.cancel is null and pkg_svc.quantity > 0 and pkg_svc.quantity > (select count(1) from cust_svc where cust_svc.pkgnum = cust_pkg.pkgnum and cust_svc.svcpart = pkg_svc.svcpart) and pkg_svc.svcpart = $opt_s"; -my @unprovisioned_services = qsearchs({ - 'table' => 'cust_pkg', - 'addl_from' => 'JOIN pkg_svc using (pkgpart)', - 'extra_sql' => $ups_extra_sql, -}); +#my $ups_extra_sql = "where cust_pkg.cancel is null and pkg_svc.quantity > 0 and pkg_svc.quantity > (select count(1) from cust_svc where cust_svc.pkgnum = cust_pkg.pkgnum and cust_svc.svcpart = pkg_svc.svcpart) and pkg_svc.svcpart = $opt_s"; +#my @unprovisioned_services = qsearch({ +# 'table' => 'cust_pkg', +# 'addl_from' => 'JOIN pkg_svc using (pkgpart)', +# 'extra_sql' => $ups_extra_sql, +#}); my $speed; $speed = 'package' if $opt_p; |