manually enter a paypal payment, RT#85603
authorIvan Kohler <ivan@freeside.biz>
Wed, 31 Mar 2021 03:35:41 +0000 (20:35 -0700)
committerIvan Kohler <ivan@freeside.biz>
Wed, 31 Mar 2021 03:35:41 +0000 (20:35 -0700)
FS/FS/Conf.pm
httemplate/view/cust_main/menu.html

index cbccffb..73ec5bc 100644 (file)
@@ -2672,7 +2672,7 @@ and customer address. Include units.',
     'section'     => 'payments',
     'description' => 'Available payment types.',
     'type'        => 'selectmultiple',
-    'select_enum' => [ qw(CARD DCRD CHEK DCHK) ], #BILL CASH WEST MCRD MCHK PPAL) ],
+    'select_enum' => [ qw(CARD DCRD CHEK DCHK PPAL) ], #BILL CASH WEST MCRD MCHK PPAL) ],
   },
 
   {
@@ -4203,6 +4203,13 @@ and customer address. Include units.',
   },
 
   {
+    'key'         => 'dashboard-topnotes',
+    'section'     => 'UI',
+    'description' => 'Note to display on the top of the front page',
+    'type'        => 'textarea',
+  },
+
+  {
     'key'         => 'dashboard-toplist',
     'section'     => 'UI',
     'description' => 'List of items to display on the top of the front page',
index 63d5c9a..1a69c60 100644 (file)
@@ -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} },
+        },
       ],
     },