X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=630d9e568e9b618f944e38ab9933f04c0473ed4a;hp=d960468a0454469c76feebb1a4a2d1385d804831;hb=d16051449aa84da6705b46573ccd98abdcb7551b;hpb=ee037398ef051cca986f799c52e52c0114f897c9
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index d960468a0..630d9e568 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -158,7 +158,7 @@ print '
';
my $referral = qsearchs('part_referral', {
'refnum' => $cust_main->refnum
} );
- print ' | Referral | ',
+ print ' |
Advertising source | ',
$referral->refnum, ": ", $referral->referral, ' |
';
}
print 'Order taker | ',
@@ -206,8 +206,7 @@ print ' ';
if ( $cust_main->payby eq 'CARD' ) {
my $payinfo = $cust_main->payinfo;
- $payinfo = substr($payinfo,0,4). 'x'x(length($payinfo)-4);
-
+ $payinfo = 'x'x(length($payinfo)-4). substr($payinfo,(length($payinfo)-4));
print 'Credit card |
',
'Card number | ',
$payinfo, ' |
',
@@ -266,7 +265,14 @@ foreach my $type_pkgs ( qsearch('type_pkgs',{'typenum'=> $agent->typenum }) ) {
$part_pkg->comment;
}
-print '
';
+print '
';
+
+print '
'.
+ qq!
!;
print <
@@ -364,7 +370,8 @@ foreach my $package (@packages) {
for ( qw( setup bill susp expire cancel ) ) {
print "", ( $package->getfield($_)
- ? time2str("%D", $package->getfield($_) )
+ ? time2str("%D %l:%M:%S%P %z",
+ $package->getfield($_) )
: ' '
), ' | ',
;
@@ -459,7 +466,7 @@ foreach my $bill (@bills) {
$payment->payinfo,
$cust_bill_pay->amount,
);
- $payinfo = substr($payinfo,0,4). 'x'x(length($payinfo)-4)
+ $payinfo = 'x'x(length($payinfo)-4). substr($payinfo,(length($payinfo)-4));
if $payby eq 'CARD';
my $target = "$payby$payinfo";
$payby =~ s/^BILL$/Check #/ if $payinfo;