[freeside-commits] freeside/httemplate/edit/process cust_main.cgi,
1.22, 1.23 cust_refund.cgi, 1.3, 1.4
Jeff Finucane,420,,
jeff at wavetail.420.am
Sat Aug 26 16:15:15 PDT 2006
- Previous message: [freeside-commits]
freeside/httemplate/edit cust_bill_pay.cgi, 1.13,
1.14 cust_credit.cgi, 1.15, 1.16 cust_credit_bill.cgi, 1.12,
1.13 part_bill_event.cgi, 1.31, 1.32
- Next message: [freeside-commits] freeside/httemplate/misc bill.cgi, 1.10,
1.11 download-batch.cgi, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory wavetail:/tmp/cvs-serv28724/httemplate/edit/process
Modified Files:
cust_main.cgi cust_refund.cgi
Log Message:
batch refactor continued
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_main.cgi,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- cust_main.cgi 23 Aug 2006 22:25:37 -0000 1.22
+++ cust_main.cgi 26 Aug 2006 23:15:13 -0000 1.23
@@ -126,7 +126,7 @@
% my $berror = $new->bill;
% $new->apply_payments;
% $new->apply_credits;
-% $berror ||= $new->collect;
+% $berror ||= $new->collect 'realtime' => 1;
% warn "Warning, error billing during backend-realtime: $berror" if $berror;
%
% }
@@ -152,3 +152,4 @@
%}
%
+
Index: cust_refund.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_refund.cgi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cust_refund.cgi 23 Aug 2006 22:25:37 -0000 1.3
+++ cust_refund.cgi 26 Aug 2006 23:15:13 -0000 1.4
@@ -1,4 +1,4 @@
-%
+ %
%
%$cgi->param('custnum') =~ /^(\d*)$/ or die "Illegal custnum!";
%my $custnum = $1;
@@ -7,11 +7,7 @@
%
%my $error = '';
%if ( $cgi->param('payby') =~ /^(CARD|CHEK)$/ ) {
-% my %payby2bop = (
-% 'CARD' => 'CC',
-% 'CHEK' => 'ECHECK',
-% );
-% my $bop = $payby2bop{$1};
+% my $bop = FS::payby::$payby2bop{$1};
% $cgi->param('refund') =~ /^(\d*)(\.\d{2})?$/
% or die "illegal refund amount ". $cgi->param('refund');
% my $refund = "$1$2";
- Previous message: [freeside-commits]
freeside/httemplate/edit cust_bill_pay.cgi, 1.13,
1.14 cust_credit.cgi, 1.15, 1.16 cust_credit_bill.cgi, 1.12,
1.13 part_bill_event.cgi, 1.31, 1.32
- Next message: [freeside-commits] freeside/httemplate/misc bill.cgi, 1.10,
1.11 download-batch.cgi, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list