[freeside-commits] freeside/httemplate/edit cust_main.cgi, 1.72,
1.73
Ivan,,,
ivan at wavetail.420.am
Sat Dec 23 17:28:40 PST 2006
- Previous message: [freeside-commits]
freeside/FS/FS Record.pm, 1.128, 1.129 Schema.pm,
1.38, 1.39 svc_broadband.pm, 1.7, 1.8
- Next message: [freeside-commits] freeside/FS/FS cust_main.pm, 1.257,
1.258 cust_pay.pm, 1.46, 1.47 cust_refund.pm, 1.27,
1.28 cust_pay_void.pm, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv14795/httemplate/edit
Modified Files:
cust_main.cgi
Log Message:
fix more paymask regressions: allow editing records with existing expired cards, fix masking just-entered values when erroring out, fix echeck entry inserting as empty routing code and "xxEK" account number, remove old/deprecated/unused payinfo_maksed subs and calls
Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main.cgi,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- cust_main.cgi 15 Dec 2006 08:25:44 -0000 1.72
+++ cust_main.cgi 24 Dec 2006 01:28:38 -0000 1.73
@@ -17,6 +17,7 @@
%my $error = '';
%my($custnum, $username, $password, $popnum, $cust_main, $saved_pkgpart);
%my(@invoicing_list);
+%my $payinfo;
%my $same = '';
%if ( $cgi->param('error') ) {
% $error = $cgi->param('error');
@@ -36,6 +37,7 @@
% @invoicing_list = split( /\s*,\s*/, $cgi->param('invoicing_list') );
% $same = $cgi->param('same');
% $cust_main->setfield('paid' => $cgi->param('paid')) if $cgi->param('paid');
+% $payinfo = $cust_main->payinfo; # don't mask an entered value on errors
%} elsif ( $cgi->keywords ) { #editing
% my( $query ) = $cgi->keywords;
% $query =~ /^(\d+)$/;
@@ -52,6 +54,7 @@
% $password = '';
% $popnum = 0;
% @invoicing_list = $cust_main->invoicing_list;
+% $payinfo = $cust_main->paymask;
%} else {
% $custnum='';
% $cust_main = new FS::cust_main ( {} );
@@ -64,6 +67,7 @@
% @invoicing_list = ();
% push @invoicing_list, 'POST'
% unless $conf->exists('disablepostalinvoicedefault');
+% $payinfo = '';
%}
%$cgi->delete_all();
%
@@ -259,6 +263,7 @@
<!-- billing info -->
<% include( 'cust_main/billing.html', $cust_main,
+ 'payinfo' => $payinfo,
'invoicing_list' => \@invoicing_list,
)
%>
- Previous message: [freeside-commits]
freeside/FS/FS Record.pm, 1.128, 1.129 Schema.pm,
1.38, 1.39 svc_broadband.pm, 1.7, 1.8
- Next message: [freeside-commits] freeside/FS/FS cust_main.pm, 1.257,
1.258 cust_pay.pm, 1.46, 1.47 cust_refund.pm, 1.27,
1.28 cust_pay_void.pm, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list