mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for online payments page
This commit is contained in:
parent
472ba842eb
commit
e65fdd54b0
@ -439,7 +439,7 @@ class AccountController extends BaseController
|
||||
$account = Auth::user()->account;
|
||||
$account->load('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->getPublishableStripeKey()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user