mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
Merge pull request #4320 from beganovich/v5-cp-display-tasks-based-on-property
(v5) Display tasks in the client portal sidebar
This commit is contained in:
commit
d93697367d
@ -72,6 +72,12 @@ class PortalComposer
|
||||
$data[] = ['title' => ctrans('texts.payment_methods'), 'url' => 'client.payment_methods.index', 'icon' => 'shield'];
|
||||
$data[] = ['title' => ctrans('texts.documents'), 'url' => 'client.documents.index', 'icon' => 'download'];
|
||||
|
||||
if (auth()->user('contact')->client->getSetting('enable_client_portal_tasks')) {
|
||||
$data[] = ['title' => ctrans('texts.tasks'), 'url' => 'client.dashboard', 'icon' => 'clock'];
|
||||
|
||||
// TODO: Update when 'tasks' module is available in client portal.
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
1
public/images/svg/clock.svg
Normal file
1
public/images/svg/clock.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clock"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>
|
After Width: | Height: | Size: 299 B |
Loading…
Reference in New Issue
Block a user