X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmenu.html;h=1a69c60bbffc1999d0cdf480df58baf2e6a708b5;hb=d856e90f730f72d173c2eedde4c81bba20c583b8;hp=cc9f1fc712977a43807ebcb943aeda971e1f09fb;hpb=cbaaf7761d53743db699d046500bf4013e021e79;p=freeside.git diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html index cc9f1fc71..1a69c60bb 100644 --- a/httemplate/view/cust_main/menu.html +++ b/httemplate/view/cust_main/menu.html @@ -380,6 +380,15 @@ my @menu = ( # acl => [ 'Post payment', ], ## condition => sub { $payby{MCHK} }, #}, + { + label => 'Record manual (non-Freeside) Paypal payment', + popup => "edit/cust_pay.cgi?popup=1;payby=PPAL;custnum=$custnum", + actionlabel => 'Enter Paypal payment', + width => 763, + height => 392, + acl => [ 'Post Payment', 'Post Paypal payment', ], + condition => sub { $payby{PPAL} }, + }, ], }, @@ -467,6 +476,9 @@ my @menu = ( actionlabel => 'Enter electronic check refund', width => 440, acl => ['Post refund' ], + condition => sub { + FS::pay_batch->can_handle_electronic_refunds + }, }, ],