mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
Fix for online payments page
This commit is contained in:
parent
030a4ec356
commit
d4e25bbc2a
@ -439,7 +439,7 @@ class AccountController extends BaseController
|
|||||||
$account = Auth::user()->account;
|
$account = Auth::user()->account;
|
||||||
$account->load('account_gateways');
|
$account->load('account_gateways');
|
||||||
$count = count($account->account_gateways);
|
$count = count($account->account_gateways);
|
||||||
$trashedCount = AccountGateway::scope($account->id)->withTrashed()->count();
|
$trashedCount = AccountGateway::scope()->withTrashed()->count();
|
||||||
|
|
||||||
if ($accountGateway = $account->getGatewayConfig(GATEWAY_STRIPE)) {
|
if ($accountGateway = $account->getGatewayConfig(GATEWAY_STRIPE)) {
|
||||||
if (! $accountGateway->getPublishableStripeKey()) {
|
if (! $accountGateway->getPublishableStripeKey()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user