[freeside-commits] branch master updated. d856e90f730f72d173c2eedde4c81bba20c583b8

Ivan Kohler ivan at freeside.biz
Tue Mar 30 20:35:42 PDT 2021


The branch, master has been updated
       via  d856e90f730f72d173c2eedde4c81bba20c583b8 (commit)
      from  5bf0ab2d129310be344a9654c14796c7424138a8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d856e90f730f72d173c2eedde4c81bba20c583b8
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Mar 30 20:35:41 2021 -0700

    manually enter a paypal payment, RT#85603

diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index cbccffb94..73ec5bc6f 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -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',
diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html
index 63d5c9abd..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} },
+        },
       ],
     },
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Conf.pm                       | 9 ++++++++-
 httemplate/view/cust_main/menu.html | 9 +++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list