minor fixes for client portal

This commit is contained in:
David Bomba 2021-01-15 22:19:34 +11:00
parent 2b77951ea0
commit cbce8c8a46
3 changed files with 6 additions and 4 deletions

View File

@ -22,6 +22,7 @@ class DashboardController extends Controller
*/ */
public function index() public function index()
{ {
return $this->render('dashboard.index'); return redirect()->route('client.invoices.index');
//return $this->render('dashboard.index');
} }
} }

View File

@ -67,8 +67,9 @@ class PortalComposer
{ {
$data = []; $data = [];
if($this->settings->enable_client_portal_dashboard == TRUE) //@todo wire this back in when we are happy with dashboard.
$data[] = [ 'title' => ctrans('texts.dashboard'), 'url' => 'client.dashboard', 'icon' => 'activity']; // 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.invoices'), 'url' => 'client.invoices.index', 'icon' => 'file-text'];
$data[] = ['title' => ctrans('texts.recurring_invoices'), 'url' => 'client.recurring_invoices.index', 'icon' => 'file']; $data[] = ['title' => ctrans('texts.recurring_invoices'), 'url' => 'client.recurring_invoices.index', 'icon' => 'file'];

View File

@ -3259,7 +3259,7 @@ return [
'enable_only_for_development' => 'Enable only for development', 'enable_only_for_development' => 'Enable only for development',
'test_pdf' => 'Test PDF', '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.', '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.',