Fixes for sorting recurring invoices

This commit is contained in:
David Bomba 2024-05-02 10:05:18 +10:00
parent 3fed2f1a77
commit bf913f1d71
2 changed files with 10 additions and 8 deletions

View File

@ -21,6 +21,8 @@ class BlackListRule implements ValidationRule
{ {
/** Bad domains +/- dispoable email domains */ /** Bad domains +/- dispoable email domains */
private array $blacklist = [ private array $blacklist = [
'anonaddy.me',
'nqmo.com',
'wireconnected.com', 'wireconnected.com',
'secure-coinspot.com', 'secure-coinspot.com',
'casasotombo.com', 'casasotombo.com',

View File

@ -75,14 +75,14 @@ class Gateway extends StaticModel
return $this->getMethods(); return $this->getMethods();
} }
/** // /**
* Test if gateway is custom. // * Test if gateway is custom.
* @return bool TRUE|FALSE // * @return bool TRUE|FALSE
*/ // */
public function isCustom(): bool // public function isCustom(): bool
{ // {
return in_array($this->id, [62, 67, 68]); //static table ids of the custom gateways // return in_array($this->id, [62, 67, 68]); //static table ids of the custom gateways
} // }
public function getHelp() public function getHelp()
{ {