DSARs
@can('dsars.create')
@endcan
@if($draftTranches->isNotEmpty())
@foreach($draftTranches as $draftTranche)
Draft tranche in progress
— {{ $draftTranche->dsars->count() }} DSAR(s) awaiting review
started {{ $draftTranche->created_at->diffForHumans() }}
Continue
@endforeach
@endif
@if($dsars->count())
@php $needsPostingCount = $dsars->where('status', 'needs posting')->count(); @endphp
@can('dsars.mark-posted')
@if($needsPostingCount > 0)
@if(count($postIds) > 0)
@endif
@endif
@endcan
@else
No DSARs have been created.
@endif
@if($showAdd)