X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=a0fc2d67bda458203dd02a2b2492f49edc35fcd5;hp=6057017533a09d41cf731ae1cfde6235b49932eb;hb=0a7ce21242738438169d6e9dba8856770ffa1af4;hpb=6db0053308daae19135066c5bf4d20e82f0a5780;ds=sidebyside
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index 605701753..a0fc2d67b 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -3,7 +3,6 @@
my $conf = new FS::Conf;
-#false laziness with view/cust_pkg.cgi, but i'm trying to make that go away so
my %uiview = ();
my %uiadd = ();
foreach my $part_svc ( qsearch('part_svc',{}) ) {
@@ -401,7 +400,7 @@ foreach my $pkg (sort pkgsort_pkgnum_cancel @$packages) {
>
- <%=$pkg->{pkgnum}%>:
+ <%=$pkg->{pkgnum}%>:
<%=$pkg->{pkg}%> - <%=$pkg->{comment}%>
<% unless ($pkg->{cancel}) { %>
( <%=pkg_change_link($pkg)%> )
@@ -571,9 +570,12 @@ function cust_credit_areyousure(href) {
<% if ( $conf->config('payby-default') ne 'HIDE' ) { %>
-
Payment History
- (Post payment
- | Post credit)
+
Payment History
+ Post cash/check payment
+ | Process credit card payment
+ | Process electronic check (ACH) payment
+ Post credit
+
<%
#get payment history
@@ -712,9 +714,9 @@ function cust_credit_areyousure(href) {
}
if ( $cust_credit->credited > 0 ) {
$desc .= ' - $'.
- $cust_credit->unapplied. ' unapplied'.
+ $cust_credit->credited. ' unapplied'.
qq! (apply'.
+ $cust_credit->crednum. '">apply)'.
' ';
}
}
@@ -990,11 +992,6 @@ sub pkg_datestr {
$strip;
}
-#sub pkg_details_link {
-# my $pkg = shift or return '';
-# return qq!Details!;
-#}
-
sub pkg_change_link {
my $pkg = shift or return '';
return qq!Change package!;
|