[freeside-commits] freeside/httemplate/search inventory_class.html, 1.2, NONE cust_pkg.cgi, 1.35, 1.36

Ivan,,, ivan at wavetail.420.am
Fri Apr 21 17:58:41 PDT 2006


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv26322/httemplate/search

Modified Files:
	cust_pkg.cgi 
Removed Files:
	inventory_class.html 
Log Message:
start of package class web UI (add/edit package classes, package class selection in package def edit)

--- inventory_class.html DELETED ---

Index: cust_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pkg.cgi,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- cust_pkg.cgi	7 Aug 2005 00:40:02 -0000	1.35
+++ cust_pkg.cgi	22 Apr 2006 00:58:39 -0000	1.36
@@ -19,8 +19,10 @@
 
   my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
   push @where,
-    "bill >= $beginning ",
-    "bill <= $ending",
+    #"bill >= $beginning ",
+    #"bill <= $ending",
+    "CASE WHEN bill IS NULL THEN 0 ELSE bill END >= $beginning ",
+    "CASE WHEN bill IS NULL THEN 0 ELSE bill END <= $ending",
     '( cancel IS NULL OR cancel = 0 )';
 
 } else {
@@ -141,7 +143,7 @@
                   'name'        => 'packages',
                   'query'       => $sql_query,
                   'count_query' => $count_query,
-                  'redirect'    => $link,
+                  #'redirect'    => $link,
                   'header'      => [ '#',
                                      'Package',
                                      'Status',



More information about the freeside-commits mailing list