1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

minor fixes for ninja hosted

This commit is contained in:
David Bomba 2021-09-01 14:36:22 +10:00
parent 8177237774
commit d36bb0dcbc

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 */