mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -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['rc'] = '';
|
||||
|
||||
if(request()->has('rc'))
|
||||
$data['rc'] = request()->input('rc');
|
||||
|
||||
$this->buildCache();
|
||||
|
||||
return view('index.index', $data);
|
||||
|
@ -30,6 +30,8 @@ class ReminderJob implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, MakesReminders, MakesDates;
|
||||
|
||||
public $tries = 1;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
@ -48,6 +50,7 @@ class ReminderJob implements ShouldQueue
|
||||
//multiDB environment, need to
|
||||
foreach (MultiDB::$dbs as $db) {
|
||||
MultiDB::setDB($db);
|
||||
nlog("set db {$db}");
|
||||
$this->processReminders();
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html data-report-errors="{{ $report_errors }}">
|
||||
<html data-report-errors="{{ $report_errors }}" data-rc="{{ $rc }}">
|
||||
<head>
|
||||
<!-- Source: https://github.com/invoiceninja/invoiceninja -->
|
||||
<!-- Version: {{ config('ninja.app_version') }} -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user