summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2001-12-18 06:45:32 +0000
committerivan <ivan>2001-12-18 06:45:32 +0000
commit428301a8083e09832ac414d2b89db26ba6ee5f4e (patch)
tree7fa393bfc5be3ecee30e17a1110dbc5018281c5a /httemplate
parent133be4f603b60052cb45a6e54104eed357df25df (diff)
oops. *sigh*
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/search/cust_pkg.cgi12
1 files changed, 6 insertions, 6 deletions
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi
index 7426276bd..070871e02 100755
--- a/httemplate/search/cust_pkg.cgi
+++ b/httemplate/search/cust_pkg.cgi
@@ -1,5 +1,5 @@
<%
-# <!-- $Id: cust_pkg.cgi,v 1.9 2001-12-18 06:38:25 ivan Exp $ -->
+# <!-- $Id: cust_pkg.cgi,v 1.10 2001-12-18 06:45:32 ivan Exp $ -->
use strict;
use vars qw ( $cgi @cust_pkg $sortby $query %part_pkg
@@ -159,11 +159,11 @@ END
my($cust_main)=qsearchs('cust_main',{'custnum'=>$cust_pkg->custnum});
my($pkgnum, $custnum, $last, $first, $company) = (
$cust_pkg->pkgnum,
- time2str("%D", $cust_pkg->setup ),
- time2str("%D", $cust_pkg->bill ),
- time2str("%D", $cust_pkg->susp ),
- time2str("%D", $cust_pkg->expire ),
- time2str("%D", $cust_pkg->cancel ),
+ time2str("%D", $cust_pkg->getfield('setup') ),
+ time2str("%D", $cust_pkg->getfield('bill') ),
+ time2str("%D", $cust_pkg->getfield('susp') ),
+ time2str("%D", $cust_pkg->getfield('expire') ),
+ time2str("%D", $cust_pkg->getfield('cancel') ),
$cust_pkg->custnum,
$cust_main ? $cust_main->last : '',
$cust_main ? $cust_main->first : '',