allow changing package class of one-time charges post-billing, #25342
[freeside.git] / httemplate / view / cust_main / payment_history / voided_credit.html
1 <DEL><% emt("Credit by [_1]", $cust_credit_void->otaker, $reason ) %>\
2 <% $reason |h %></DEL>
3 <I>
4 <% emt("voided [_1]", time2str($date_format, $cust_credit_void->void_date) )%>
5 % my $void_user = $cust_credit_void->void_access_user;
6 % if ($void_user) {
7 <% emt('by [_1]', $void_user->username) %>
8 % }
9 <% $void_reason |h %>
10 </I>
11 <%init>
12
13 my( $cust_credit_void, %opt ) = @_;
14
15 my $date_format = $opt{'date_format'} || '%m/%d/%Y';
16
17 my $curuser = $FS::CurrentUser::CurrentUser;
18
19 #my $unvoid = ''; # not yet available
20 my $reason = $cust_credit_void->reason;
21 $reason = " ($reason)" if $reason;
22
23 my $void_reason = $cust_credit_void->void_reason;
24 $void_reason = " ($void_reason)" if $void_reason;
25 </%init>