diff options
author | ivan <ivan> | 2008-06-05 10:34:04 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-06-05 10:34:04 +0000 |
commit | 48269cecf062b277bfa81c7bfdc6519518bef95a (patch) | |
tree | 4334303bc1a2a7c9ffdee10ab075527eb832732a | |
parent | 3ec524908776eb164b7613880238693007a8b4a7 (diff) |
docs for search_sql
-rw-r--r-- | FS/FS/cust_pkg.pm | 72 |
1 files changed, 57 insertions, 15 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 49968725b..b84eda130 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -1581,27 +1581,69 @@ sub cancel_sql { "cust_pkg.cancel IS NOT NULL AND cust_pkg.cancel != 0"; } -=item search_sql HREF +=item search_sql HASHREF -Returns a qsearch hash expression to search for parameters specified in HREF. +Returns a qsearch hash expression to search for parameters specified in HASHREF. Valid parameters are =over 4 + =item agentnum -=item magic - /^(active|inactive|suspended|cancell?ed)$/ -=item status - /^(active|inactive|suspended|one-time charge|inactive|cancell?ed)$/ + +=item magic + +active, inactive, suspended, cancel (or cancelled) + +=item status + +active, inactive, suspended, one-time charge, inactive, cancel (or cancelled) + =item classnum -=item pkgpart - list specified how? -=item setup - arrayref of beginning and ending epoch date -=item last_bill - arrayref of beginning and ending epoch date -=item bill - arrayref of beginning and ending epoch date -=item adjourn - arrayref of beginning and ending epoch date -=item susp - arrayref of beginning and ending epoch date -=item expire - arrayref of beginning and ending epoch date -=item cancel - arrayref of beginning and ending epoch date -=item query - /^(pkgnum/APKG_pkgnum)$/ -=item cust_fields - a value suited to passing to FS::UI::Web::cust_header -=item CurrentUser - specifies the user for agent virtualization + +=item pkgpart + +list specified how? + +=item setup + +arrayref of beginning and ending epoch date + +=item last_bill + +arrayref of beginning and ending epoch date + +=item bill + +arrayref of beginning and ending epoch date + +=item adjourn + +arrayref of beginning and ending epoch date + +=item susp + +arrayref of beginning and ending epoch date + +=item expire + +arrayref of beginning and ending epoch date + +=item cancel + +arrayref of beginning and ending epoch date + +=item query + +pkgnum or APKG_pkgnum + +=item cust_fields + +a value suited to passing to FS::UI::Web::cust_header + +=item CurrentUser + +specifies the user for agent virtualization + =back =cut |