[freeside-commits] freeside/httemplate/misc payment.cgi, 1.11,
1.12 change_pkg.cgi, 1.2, 1.3
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Jan 17 15:27:19 PST 2007
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail:/tmp/cvs-serv1644/httemplate/misc
Modified Files:
payment.cgi change_pkg.cgi
Log Message:
link to customer from manual payment screen (ticket 1414)
Index: change_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/change_pkg.cgi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- change_pkg.cgi 23 Aug 2006 22:25:38 -0000 1.2
+++ change_pkg.cgi 17 Jan 2007 23:27:17 -0000 1.3
@@ -27,10 +27,7 @@
% " ( pkgnum ". cust_pkg->pkgnum. ")";
%my $agent = $cust_main->agent;
%
-%print header("Change Package", menubar(
-% "View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
-% 'Main Menu' => $p,
-%));
+%print header("Change Package");
%
%print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
% "</FONT><BR><BR>"
@@ -38,7 +35,8 @@
%
%my $part_pkg = $cust_pkg->part_pkg;
%
-%print small_custview( $cust_main, $conf->config('countrydefault') ).
+%print small_custview( $cust_main, $conf->config('countrydefault') || '' , '',
+% "${p}view/cust_main.cgi").
% qq!<FORM ACTION="${p}edit/process/cust_pkg.cgi" METHOD=POST>!.
% qq!<INPUT TYPE="hidden" NAME="custnum" VALUE="$custnum">!.
% qq!<INPUT TYPE="hidden" NAME="remove_pkg" VALUE="$pkgnum">!.
Index: payment.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/payment.cgi,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- payment.cgi 29 Dec 2006 08:35:33 -0000 1.11
+++ payment.cgi 17 Jan 2007 23:27:17 -0000 1.12
@@ -31,7 +31,7 @@
%
<% include( '/elements/header.html', "Process $type{$payby} payment" ) %>
-<% include( '/elements/small_custview.html', $cust_main ) %>
+<% include( '/elements/small_custview.html', $cust_main, '', '', popurl(2) . "view/cust_main.cgi" ) %>
<FORM NAME="OneTrueForm" ACTION="process/payment.cgi" METHOD="POST" onSubmit="document.OneTrueForm.process.disabled=true">
<INPUT TYPE="hidden" NAME="custnum" VALUE="<% $custnum %>">
<INPUT TYPE="hidden" NAME="payby" VALUE="<% $payby %>">
More information about the freeside-commits
mailing list