From 4454c0bae42714d3dc215572a15a0ad0960b20fe Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 12 May 2003 07:33:47 +0000 Subject: [PATCH] fix service links --- httemplate/view/cust_main.cgi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index af2babcba..3934a3dcb 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -430,8 +430,8 @@ foreach my $pkg (sort pkgsort_pkgnum_cancel @$packages) { if ( $pkg->{cancel} ) { #status: cancelled - print 'Cancelled '. - pkg_datestr($pkg,'cancel'). ''; + print 'Cancelled '. + ''. pkg_datestr($pkg,'cancel'). ''; unless ( $pkg->{setup} ) { print 'Never billed'; } else { @@ -448,8 +448,8 @@ foreach my $pkg (sort pkgsort_pkgnum_cancel @$packages) { } else { if ( $pkg->{susp} ) { #status: suspended - print 'Suspended '. - pkg_datestr($pkg,'susp'). ''; + print 'Suspended '. + ''. pkg_datestr($pkg,'susp'). ''; unless ( $pkg->{setup} ) { print 'Never billed'; } else { @@ -486,8 +486,8 @@ foreach my $pkg (sort pkgsort_pkgnum_cancel @$packages) { 'Billed '. pkg_datestr($pkg,'setup'). ''; } else { - print 'Active, '. - 'billed '. freq($pkg->{freq}). ''. + print 'Active'. + ', billed '. freq($pkg->{freq}). ''. 'Setup '. pkg_datestr($pkg, 'setup'). ''; } @@ -835,14 +835,14 @@ return \@packages; sub svc_link { my ($svcpart, $svc) = (shift,shift) or return ''; - return qq!$svcpart->{svc}!; + return qq!$svcpart->{svc}!; } sub svc_label_link { my ($svcpart, $svc) = (shift,shift) or return ''; - return qq!$svc->{label}!; + return qq!$svc->{label}!; } -- 2.11.0