feat:adds ability to share portfolios

also includes basic permissions and authorization
This commit is contained in:
hackerESQ
2024-10-21 22:23:20 -05:00
parent 63c4c1c228
commit f93bfad3ce
18 changed files with 375 additions and 41 deletions
+4
View File
@@ -28,15 +28,18 @@
<x-badge value="{{ __('Wishlist') }}" class="badge-secondary mr-3" />
@endif
@can('fullAccess', $portfolio)
<x-button
title="{{ __('Manage Portfolio') }}"
icon="o-pencil"
class="btn-circle btn-ghost btn-sm text-secondary"
@click="$dispatch('toggle-manage-portfolio')"
/>
@endcan
<x-ib-flex-spacer />
@can('fullAccess', $portfolio)
<div>
<x-button
label="{{ __('Create Transaction') }}"
@@ -44,6 +47,7 @@
@click="$dispatch('toggle-create-transaction')"
/>
</div>
@endcan
</x-ib-toolbar>
@livewire('portfolio-performance-chart', [