mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 08:04:34 -04:00
Minor fixes
This commit is contained in:
parent
3fe22e79a8
commit
acfb3ac3af
@ -736,6 +736,11 @@ class BaseController extends Controller
|
|||||||
$data['report_errors'] = true;
|
$data['report_errors'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$data['rc'] = '';
|
||||||
|
|
||||||
|
if(request()->has('rc'))
|
||||||
|
$data['rc'] = request()->input('rc');
|
||||||
|
|
||||||
$this->buildCache();
|
$this->buildCache();
|
||||||
|
|
||||||
return view('index.index', $data);
|
return view('index.index', $data);
|
||||||
|
@ -30,6 +30,8 @@ class ReminderJob implements ShouldQueue
|
|||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, MakesReminders, MakesDates;
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, MakesReminders, MakesDates;
|
||||||
|
|
||||||
|
public $tries = 1;
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@ -48,6 +50,7 @@ class ReminderJob implements ShouldQueue
|
|||||||
//multiDB environment, need to
|
//multiDB environment, need to
|
||||||
foreach (MultiDB::$dbs as $db) {
|
foreach (MultiDB::$dbs as $db) {
|
||||||
MultiDB::setDB($db);
|
MultiDB::setDB($db);
|
||||||
|
nlog("set db {$db}");
|
||||||
$this->processReminders();
|
$this->processReminders();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html data-report-errors="{{ $report_errors }}">
|
<html data-report-errors="{{ $report_errors }}" data-rc="{{ $rc }}">
|
||||||
<head>
|
<head>
|
||||||
<!-- Source: https://github.com/invoiceninja/invoiceninja -->
|
<!-- Source: https://github.com/invoiceninja/invoiceninja -->
|
||||||
<!-- Version: {{ config('ninja.app_version') }} -->
|
<!-- Version: {{ config('ninja.app_version') }} -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user