mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for sorting recurring invoices
This commit is contained in:
parent
3fed2f1a77
commit
bf913f1d71
@ -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',
|
||||
|
@ -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()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user