summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2021-03-30 20:35:44 -0700
committerIvan Kohler <ivan@freeside.biz>2021-03-30 20:35:44 -0700
commitd9596a71ff6b9b78b0423662df1b69e604e45413 (patch)
treedb1e2eb05781de4c028c11f160386cdf4183c319
parent96c3f2f68af47a3ac9dca07c51b7b4d5a0930671 (diff)
manually enter a paypal payment, RT#85603
-rw-r--r--FS/FS/Conf.pm16
-rw-r--r--httemplate/view/cust_main/menu.html9
2 files changed, 24 insertions, 1 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index ad566731c..fc9708b05 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -2689,7 +2689,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) ],
},
{
@@ -4217,6 +4217,20 @@ 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-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} },
+ },
],
},