mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 07:04:35 -04:00
Default show dashboard to false
This commit is contained in:
parent
ccf65f1c7c
commit
989d2fe574
@ -30,7 +30,7 @@ class CompanySettings extends BaseSettings
|
|||||||
public $enable_client_portal_tasks = false; //@ben to implement
|
public $enable_client_portal_tasks = false; //@ben to implement
|
||||||
public $enable_client_portal_password = false; //@implemented
|
public $enable_client_portal_password = false; //@implemented
|
||||||
public $enable_client_portal = true; //@implemented
|
public $enable_client_portal = true; //@implemented
|
||||||
public $enable_client_portal_dashboard = true; // @TODO There currently is no dashboard so this is pending
|
public $enable_client_portal_dashboard = false; // @TODO There currently is no dashboard so this is pending
|
||||||
public $signature_on_pdf = false; //@implemented
|
public $signature_on_pdf = false; //@implemented
|
||||||
public $document_email_attachment = false; //@TODO I assume this is 3rd party attachments on the entity to be included
|
public $document_email_attachment = false; //@TODO I assume this is 3rd party attachments on the entity to be included
|
||||||
|
|
||||||
|
@ -22,6 +22,6 @@ class DashboardController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
return redirect()->route('client.invoices.index');
|
return $this->render('dashboard.index');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Invoice Ninja (https://invoiceninja.com).
|
|
||||||
*
|
|
||||||
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
||||||
*
|
|
||||||
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
|
|
||||||
*
|
|
||||||
* @license https://opensource.org/licenses/AAL
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace App\Http\Controllers;
|
|
||||||
|
|
||||||
use Illuminate\Http\Response;
|
|
||||||
|
|
||||||
class DashboardController extends BaseController
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Create a new controller instance.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function __construct()
|
|
||||||
{
|
|
||||||
$this->middleware('auth:user');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Show the application dashboard.
|
|
||||||
*
|
|
||||||
* @return Response
|
|
||||||
*/
|
|
||||||
public function index()
|
|
||||||
{
|
|
||||||
// dd(json_decode(auth()->user()->permissions(),true));
|
|
||||||
return view('dashboard.index');
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user