projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#38733: Sales forecasting using quotes [percentage sign and check]
[freeside.git]
/
httemplate
/
view
/
cust_main
/
payment_history.html
diff --git
a/httemplate/view/cust_main/payment_history.html
b/httemplate/view/cust_main/payment_history.html
index
171c29c
..
ebd1e73
100644
(file)
--- a/
httemplate/view/cust_main/payment_history.html
+++ b/
httemplate/view/cust_main/payment_history.html
@@
-28,6
+28,7
@@
% my $bgcolor2 = '#ffffff';
% my $bgcolor = '';
% my $bgcolor2 = '#ffffff';
% my $bgcolor = '';
+<THEAD>
<TR>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Date') |h %></TH>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Description') |h %></TH>
<TR>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Date') |h %></TH>
<TH CLASS="grid" BGCOLOR="#cccccc"><% mt('Description') |h %></TH>
@@
-37,6
+38,7
@@
<TH CLASS="grid" BGCOLOR="#cccccc"><FONT SIZE=-1><% mt('Refund') |h %></FONT></TH>
<TH CLASS="grid" BGCOLOR="#cccccc"><FONT SIZE=-1><% mt('Balance') |h %></FONT></TH>
</TR>
<TH CLASS="grid" BGCOLOR="#cccccc"><FONT SIZE=-1><% mt('Refund') |h %></FONT></TH>
<TH CLASS="grid" BGCOLOR="#cccccc"><FONT SIZE=-1><% mt('Balance') |h %></FONT></TH>
</TR>
+</THEAD>
%#display payment history
%#display payment history
@@
-192,12
+194,6
@@
my $custnum = $cust_main->custnum;
my $curuser = $FS::CurrentUser::CurrentUser;
my $curuser = $FS::CurrentUser::CurrentUser;
-my @payby = grep /\w/, $conf->config('payby');
-#@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH WEST COMP ))
-@payby = (qw( CARD DCRD CHEK DCHK LECB BILL CASH COMP ))
- unless @payby;
-my %payby = map { $_=>1 } @payby;
-
my %status = (
'Queued' => 'O', #Open
'In-transit' => 'I',
my %status = (
'Queued' => 'O', #Open
'In-transit' => 'I',
@@
-215,7
+211,7
@@
my %opt = (
qw( card_refund-days date_format )
),
( map { $_ => $conf->exists($_) }
qw( card_refund-days date_format )
),
( map { $_ => $conf->exists($_) }
- qw( delete
invoices delete
payments deleterefunds pkg-balances
+ qw( deletepayments deleterefunds pkg-balances
cust_credit_bill_pkg-manual cust_bill_pay_pkg-manual
)
),
cust_credit_bill_pkg-manual cust_bill_pay_pkg-manual
)
),
@@
-224,11
+220,12
@@
my %opt = (
#rights
( map { $_ => $curuser->access_right($_) }
(
#rights
( map { $_ => $curuser->access_right($_) }
(
- 'View invoices', 'Void invoices', 'Unvoid invoices', '
Delete
invoices',
+ 'View invoices', 'Void invoices', 'Unvoid invoices', '
Resend
invoices',
'Apply payment', 'Refund credit card payment', 'Refund Echeck payment',
'Apply payment', 'Refund credit card payment', 'Refund Echeck payment',
+ 'Post refund', 'Post check refund', 'Post cash refund ', 'Refund payment',
'Credit card void', 'Echeck void', 'Void payments', 'Unvoid payments',
'Credit card void', 'Echeck void', 'Void payments', 'Unvoid payments',
- '
Delete payment', '
Unapply payment',
- 'Apply credit', '
Delete credit', '
Unapply credit', 'Void credit', 'Unvoid credit',
+ 'Unapply payment',
+ 'Apply credit', 'Unapply credit', 'Void credit', 'Unvoid credit',
'Delete refund',
'Billing event reports', 'View customer billing events',
)
'Delete refund',
'Billing event reports', 'View customer billing events',
)
@@
-237,6
+234,7
@@
my %opt = (
#customer information
'total_owed' => $cust_main->total_owed,
'total_unapplied_refunds' => $cust_main->total_unapplied_refunds,
#customer information
'total_owed' => $cust_main->total_owed,
'total_unapplied_refunds' => $cust_main->total_unapplied_refunds,
+ 'has_email_address' => scalar($cust_main->invoicing_list_emailonly),
);
$opt{'date_format'} ||= '%m/%d/%Y';
);
$opt{'date_format'} ||= '%m/%d/%Y';