mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 07:34:34 -04:00
Fixes for PSR loading
This commit is contained in:
parent
3e0c306d57
commit
4703496c7c
@ -9,7 +9,7 @@
|
|||||||
* @license https://opensource.org/licenses/AAL
|
* @license https://opensource.org/licenses/AAL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace App\DataMapper\Analytics;
|
namespace App\DataMapper\Analytics\Mail;
|
||||||
|
|
||||||
class EmailBounce
|
class EmailBounce
|
||||||
{
|
{
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* @license https://opensource.org/licenses/AAL
|
* @license https://opensource.org/licenses/AAL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace App\DataMapper\Analytics;
|
namespace App\DataMapper\Analytics\Mail;
|
||||||
|
|
||||||
class EmailSpam
|
class EmailSpam
|
||||||
{
|
{
|
||||||
|
@ -79,8 +79,9 @@ class Client extends BaseModel implements HasLocalePreference
|
|||||||
|
|
||||||
protected $with = [
|
protected $with = [
|
||||||
'gateway_tokens',
|
'gateway_tokens',
|
||||||
'documents'
|
'documents',
|
||||||
//'currency',
|
'contacts.company',
|
||||||
|
// 'currency',
|
||||||
// 'primary_contact',
|
// 'primary_contact',
|
||||||
// 'country',
|
// 'country',
|
||||||
// 'contacts',
|
// 'contacts',
|
||||||
|
@ -85,6 +85,7 @@ class Gateway extends StaticModel
|
|||||||
return [GatewayType::PAYPAL => ['refund' => true, 'token_billing' => false]]; //Paypal
|
return [GatewayType::PAYPAL => ['refund' => true, 'token_billing' => false]]; //Paypal
|
||||||
break;
|
break;
|
||||||
case 20:
|
case 20:
|
||||||
|
case 56:
|
||||||
return [GatewayType::CREDIT_CARD => ['refund' => true, 'token_billing' => true],
|
return [GatewayType::CREDIT_CARD => ['refund' => true, 'token_billing' => true],
|
||||||
GatewayType::BANK_TRANSFER => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable']],
|
GatewayType::BANK_TRANSFER => ['refund' => true, 'token_billing' => true, 'webhooks' => ['source.chargeable']],
|
||||||
GatewayType::ALIPAY => ['refund' => false, 'token_billing' => false],
|
GatewayType::ALIPAY => ['refund' => false, 'token_billing' => false],
|
||||||
|
@ -30,8 +30,8 @@ class StripeConnectGateway extends Migration
|
|||||||
Gateway::create($gateway);
|
Gateway::create($gateway);
|
||||||
|
|
||||||
if (Ninja::isNinja()) {
|
if (Ninja::isNinja()) {
|
||||||
Gateway::where('id', 20)->update(['visible' => 0]);
|
Gateway::whereIn('id', [20])->update(['visible' => 0]);
|
||||||
Gateway::where('id', 56)->update(['visible' => 1]);
|
Gateway::whereIn('id', [56])->update(['visible' => 1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user