diff --git a/app/Http/Controllers/ClientPortal/DashboardController.php b/app/Http/Controllers/ClientPortal/DashboardController.php index 7074b8189f39..4c7bd6894d30 100644 --- a/app/Http/Controllers/ClientPortal/DashboardController.php +++ b/app/Http/Controllers/ClientPortal/DashboardController.php @@ -22,6 +22,7 @@ class DashboardController extends Controller */ public function index() { - return $this->render('dashboard.index'); + return redirect()->route('client.invoices.index'); + //return $this->render('dashboard.index'); } } diff --git a/app/Http/ViewComposers/PortalComposer.php b/app/Http/ViewComposers/PortalComposer.php index d7d7ae179d9b..ea8383f6e589 100644 --- a/app/Http/ViewComposers/PortalComposer.php +++ b/app/Http/ViewComposers/PortalComposer.php @@ -67,8 +67,9 @@ class PortalComposer { $data = []; - if($this->settings->enable_client_portal_dashboard == TRUE) - $data[] = [ 'title' => ctrans('texts.dashboard'), 'url' => 'client.dashboard', 'icon' => 'activity']; + //@todo wire this back in when we are happy with dashboard. + // if($this->settings->enable_client_portal_dashboard == TRUE) + // $data[] = [ 'title' => ctrans('texts.dashboard'), 'url' => 'client.dashboard', 'icon' => 'activity']; $data[] = ['title' => ctrans('texts.invoices'), 'url' => 'client.invoices.index', 'icon' => 'file-text']; $data[] = ['title' => ctrans('texts.recurring_invoices'), 'url' => 'client.recurring_invoices.index', 'icon' => 'file']; diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 2fec4cb8a87d..f89dd1350aa9 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -3259,7 +3259,7 @@ return [ 'enable_only_for_development' => 'Enable only for development', 'test_pdf' => 'Test PDF', - 'status_cancelled' => 'Cancelled', + 'cancelled' => 'Cancelled', 'checkout_authorize_label' => 'Checkout.com can be can saved as payment method for future use, once you complete your first transaction. Don\'t forget to check "Store credit card details" during payment process.',