@include('livewire.tenant.lemarex.collection.partials._header')
@include('livewire.tenant.lemarex.collection.partials._tools')
| @if ($manageColumns['name']) |
|
@endif
@if ($manageColumns['type'])
Type | @endif @if ($manageColumns['total'])Total | @endif @if ($manageColumns['owners'])Owners | @endif @if ($manageColumns['notifications'])Notifications | @endif @if ($manageColumns['pipeline'])Pipeline | @endif @if ($manageColumns['status'])Status | @endif @if ($manageColumns['created_at'])
|
@endif
@if ($manageColumns['updated_at'])
|
@endif
@if ($manageColumns['action'])
Action | @endif|
|---|---|---|---|---|---|---|---|---|---|---|---|
| @if ($collection->visibility == '0' && $collection->leads_count == 0 && $collection->deals_count == 0) @else @endif | {{ $collection->name }} | @if ($manageColumns['type']){{ config('env.collection_types')[$collection->type] }} | @endif @if ($manageColumns['total'])@if ($collection->type == 'leads') {{ $collection->leads_count }} @elseif($collection->type == 'deals') {{ $collection->deals_count }} {{-- @elseif($collection->type == 'projects') {{ $collection->projects->count() }} --}} @else 0 @endif | @endif @if ($manageColumns['owners'])
|
@endif
@if ($manageColumns['notifications'])
|
@endif
@if ($manageColumns['pipeline'])
{{ $collection->pipeline->name }} | @endif @if ($manageColumns['status']){{ $collection->trashed() ? 'Deleted' : ($collection->status == 1 ? 'Active' : 'Inactive') }} | @endif @if ($manageColumns['created_at']){{ $collection->created_at }} | @endif @if ($manageColumns['updated_at']){{ $collection->updated_at }} | @endif @if ($manageColumns['action'])@endif |
{{ $collections->links() }}