From bf913f1d711b8eeeb87e4f9ef21b3a77f81f8ee9 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 2 May 2024 10:05:18 +1000 Subject: [PATCH] Fixes for sorting recurring invoices --- .../ValidationRules/Account/BlackListRule.php | 2 ++ app/Models/Gateway.php | 16 ++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/Http/ValidationRules/Account/BlackListRule.php b/app/Http/ValidationRules/Account/BlackListRule.php index 736d82065f17..1d65de052fa6 100644 --- a/app/Http/ValidationRules/Account/BlackListRule.php +++ b/app/Http/ValidationRules/Account/BlackListRule.php @@ -21,6 +21,8 @@ class BlackListRule implements ValidationRule { /** Bad domains +/- dispoable email domains */ private array $blacklist = [ + 'anonaddy.me', + 'nqmo.com', 'wireconnected.com', 'secure-coinspot.com', 'casasotombo.com', diff --git a/app/Models/Gateway.php b/app/Models/Gateway.php index f862caf91f7a..0faadebd6819 100644 --- a/app/Models/Gateway.php +++ b/app/Models/Gateway.php @@ -75,14 +75,14 @@ class Gateway extends StaticModel return $this->getMethods(); } - /** - * Test if gateway is custom. - * @return bool TRUE|FALSE - */ - public function isCustom(): bool - { - return in_array($this->id, [62, 67, 68]); //static table ids of the custom gateways - } + // /** + // * Test if gateway is custom. + // * @return bool TRUE|FALSE + // */ + // public function isCustom(): bool + // { + // return in_array($this->id, [62, 67, 68]); //static table ids of the custom gateways + // } public function getHelp() {