From: ivan Date: Sat, 11 Dec 2004 07:51:00 +0000 (+0000) Subject: voiding of echeck payments instead of refunds X-Git-Tag: BEFORE_FINAL_MASONIZE~787 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=c21b6e69583bec632de7fcd340c29982c868f73d voiding of echeck payments instead of refunds --- diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index acb33d291..f8dc7d924 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -1363,6 +1363,13 @@ httemplate/docs/config.html 'type' => 'text', }, + { + 'key' => 'echeck-void', + 'section' => 'billing', + 'description' => 'Enable local-only voiding of echeck payments in addition to refunds against the payment gateway', + 'type' => 'checkbox', + }, + ); 1; diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 322f0674e..d5d77f2a5 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -6,16 +6,16 @@ my $conf = new FS::Conf; my %uiview = (); my %uiadd = (); foreach my $part_svc ( qsearch('part_svc',{}) ) { - $uiview{$part_svc->svcpart} = popurl(2). "view/". $part_svc->svcdb . ".cgi"; - $uiadd{$part_svc->svcpart}= popurl(2). "edit/". $part_svc->svcdb . ".cgi"; + $uiview{$part_svc->svcpart} = $p. "view/". $part_svc->svcdb . ".cgi"; + $uiadd{$part_svc->svcpart}= $p. "edit/". $part_svc->svcdb . ".cgi"; } -print header("Customer View", menubar( - 'Main Menu' => popurl(2) -)); - %> +<%= header("Customer View", menubar( + 'Main Menu' => $p, +)) %> +