diff options
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/misc/process/void-cust_bill.html | 6 | ||||
-rw-r--r-- | httemplate/misc/void-cust_bill.html | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/httemplate/misc/process/void-cust_bill.html b/httemplate/misc/process/void-cust_bill.html index 7773b0ba9..01982eb08 100755 --- a/httemplate/misc/process/void-cust_bill.html +++ b/httemplate/misc/process/void-cust_bill.html @@ -19,8 +19,8 @@ my $invnum = $1; my $cust_bill = qsearchs('cust_bill',{'invnum'=>$invnum}); -my $custnum = $cust_bill->custnum; - -my $error = $cust_bill->void( scalar($cgi->param('reason')) ); +my $error = $cust_bill->void( scalar($cgi->param('reason')), + scalar($cgi->param('reprocess_cdrs')), + ); </%init> diff --git a/httemplate/misc/void-cust_bill.html b/httemplate/misc/void-cust_bill.html index 1608fd051..5d517bed9 100644 --- a/httemplate/misc/void-cust_bill.html +++ b/httemplate/misc/void-cust_bill.html @@ -17,6 +17,14 @@ <TD><INPUT TYPE="text" NAME="reason" VALUE="<% $cgi->param('reason') |h %>"></TD> </TR> +% if ( $cust_bill->has_call_details ) { + <& /elements/tr-checkbox.html, + label => 'Reprocess CDRs', + field => 'reprocess_cdrs', + value => '1', + &> +% } + </TABLE> <BR> |