mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 23:54:29 -04:00
Minor fixes for first account creation
This commit is contained in:
parent
11ae85732b
commit
f417b27e55
@ -79,12 +79,14 @@ class CreateAccount
|
||||
|
||||
if(Ninja::isHosted())
|
||||
{
|
||||
|
||||
$sp794f3f->trial_started = now();
|
||||
$sp794f3f->trial_plan = 'pro';
|
||||
// $sp794f3f->plan = 'pro';
|
||||
$sp794f3f->save();
|
||||
|
||||
}
|
||||
|
||||
$sp794f3f->save();
|
||||
|
||||
$sp035a66 = CreateCompany::dispatchNow($this->request, $sp794f3f);
|
||||
$sp035a66->load('account');
|
||||
$sp794f3f->default_company_id = $sp035a66->id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user