mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for recurring invoice number for pending plans
This commit is contained in:
parent
83b99f296f
commit
ce2ad45015
@ -163,7 +163,7 @@ class NinjaPlanController extends Controller
|
||||
$recurring_invoice->save();
|
||||
$r = $recurring_invoice->calc()->getRecurringInvoice();
|
||||
|
||||
$recurring_invoice->service()->start()->save();
|
||||
$recurring_invoice->service()->applyNumber()->start()->save();
|
||||
|
||||
LightLogs::create(new TrialStarted())
|
||||
->increment()
|
||||
|
@ -52,6 +52,9 @@ class SetupController extends Controller
|
||||
if ($check['system_health'] == true && $check['simple_db_check'] && Schema::hasTable('accounts') && $account = Account::all()->first()) {
|
||||
return redirect('/');
|
||||
}
|
||||
|
||||
if(Ninja::isHosted())
|
||||
return redirect('/');
|
||||
|
||||
return view('setup.index', ['check' => $check]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user