[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 77013a067fa4612c41c72fee369f681eac32ae4f
Ivan
ivan at 420.am
Tue Dec 11 16:34:23 PST 2012
The branch, FREESIDE_2_3_BRANCH has been updated
via 77013a067fa4612c41c72fee369f681eac32ae4f (commit)
from 61f1dbf6a14999ac75ad76c7b2b6f706ed438c11 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 77013a067fa4612c41c72fee369f681eac32ae4f
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Dec 11 16:34:22 2012 -0800
create credits by selecting line items, RT#18676
diff --git a/httemplate/edit/process/credit-cust_bill_pkg.html b/httemplate/edit/process/credit-cust_bill_pkg.html
index d3323e6..8b2f3f3 100644
--- a/httemplate/edit/process/credit-cust_bill_pkg.html
+++ b/httemplate/edit/process/credit-cust_bill_pkg.html
@@ -28,11 +28,14 @@ foreach my $billpkgnum_setuprecur (@billpkgnum_setuprecurs) {
}
my $error = FS::cust_credit->credit_lineitems(
- 'newreasonnum' => scalar($cgi->param('newreasonnum')),
- 'newreasonnum_type' => scalar($cgi->param('newreasonnumT')),
+ #the lineitems to credit
'billpkgnums' => \@billpkgnums,
'setuprecurs' => \@setuprecurs,
'amounts' => \@amounts,
+
+ #the credit
+ 'newreasonnum' => scalar($cgi->param('newreasonnum')),
+ 'newreasonnum_type' => scalar($cgi->param('newreasonnumT')),
map { $_ => scalar($cgi->param($_)) }
#fields('cust_credit')
qw( custnum _date amount reason reasonnum addlinfo ), #pkgnum eventnum
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/process/credit-cust_bill_pkg.html | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list