move credit card transaction results out of paybatch and into real fields, #18548
[freeside.git] / httemplate / edit / process / cust_pay.cgi
index 8664883..a002fa1 100755 (executable)
@@ -40,7 +40,7 @@ my $field = my $link = $1;
 $field = 'custnum' if $field eq 'popup';
 
 my $_date;
-if ( $FS::CurrentUser::CurrentUser->access_right(['Backdate payment']) ) {
+if ( $FS::CurrentUser::CurrentUser->access_right('Backdate payment') ) {
   $_date = parse_datetime($cgi->param('_date'));
 }
 else {
@@ -57,6 +57,8 @@ my $new = new FS::cust_pay ( {
         bank depositor account teller
       )
   #} fields('cust_pay')
+  # gatewaynum, processor, auth, order_number
+  # are for realtime payments only, and can't be entered manually
 } );
 
 my @rights = ('Post payment');