1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-21 08:51:34 +02:00

Merge pull request #6533 from turbo124/v5-develop

minor fixes for ninja hosted
This commit is contained in:
David Bomba 2021-09-01 14:36:40 +10:00 committed by GitHub
commit c45756a5a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ class NinjaPlanController extends Controller
$account = $client_contact->company->account; $account = $client_contact->company->account;
/* Current paid users get pushed straight to subscription overview page*/ /* Current paid users get pushed straight to subscription overview page*/
if($account->isPaid()) if($account->isPaidHostedClient())
return redirect('/client/subscriptions'); return redirect('/client/subscriptions');
/* Users that are not paid get pushed to a custom purchase page */ /* Users that are not paid get pushed to a custom purchase page */