diff --git a/app/Http/Controllers/ClientPortal/NinjaPlanController.php b/app/Http/Controllers/ClientPortal/NinjaPlanController.php index 78fab8df7cf7..24ff46adb4d1 100644 --- a/app/Http/Controllers/ClientPortal/NinjaPlanController.php +++ b/app/Http/Controllers/ClientPortal/NinjaPlanController.php @@ -179,7 +179,7 @@ class NinjaPlanController extends Controller ->queue(); $ninja_company = Company::on('db-ninja-01')->find(config('ninja.ninja_default_company_id')); - $ninja_company->notification(new NewAccountNotification($account, $client))->ninja(); + $ninja_company->notification(new NewAccountNotification($subscription->company->account, $client))->ninja(); return $this->render('plan.trial_confirmed', $data); } @@ -196,7 +196,7 @@ class NinjaPlanController extends Controller public function plan() { - return $this->trial(); + // return $this->trial(); //harvest the current plan $data = []; $data['late_invoice'] = false; diff --git a/resources/views/portal/ninja2020/plan/trial.blade.php b/resources/views/portal/ninja2020/plan/trial.blade.php index cef67f7ca497..c5e65ed3dfd1 100644 --- a/resources/views/portal/ninja2020/plan/trial.blade.php +++ b/resources/views/portal/ninja2020/plan/trial.blade.php @@ -1445,14 +1445,10 @@ Ensure the default browser behavior of the `hidden` attribute.