diff options
author | levinse <levinse> | 2011-07-06 04:16:06 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-07-06 04:16:06 +0000 |
commit | 368708fcc7f5ae75fb43fdcb8127a99529ca92e9 (patch) | |
tree | c3d74552c165b50457c731db17c4d19ec9cd0832 /httemplate/edit/process | |
parent | f01a86fd426cee878c089e29ed70f272eef68063 (diff) |
modify backdated payment application behaviour, RT11870
Diffstat (limited to 'httemplate/edit/process')
-rwxr-xr-x | httemplate/edit/process/cust_pay.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/edit/process/cust_pay.cgi b/httemplate/edit/process/cust_pay.cgi index d6bbf06b0..38f161642 100755 --- a/httemplate/edit/process/cust_pay.cgi +++ b/httemplate/edit/process/cust_pay.cgi @@ -7,7 +7,8 @@ % if ( $cgi->param('apply') eq 'yes' ) { % my $cust_main = qsearchs('cust_main', { 'custnum' => $linknum }) % or die "unknown custnum $linknum"; -% $cust_main->apply_payments( 'manual' => 1 ); +% $cust_main->apply_payments( 'manual' => 1, +% 'backdate_application' => ($_date < time-86400) ); % } % if ( $link eq 'popup' ) { % |