@foreach ($batches as $batch) {{-- If every file in the batch has been downloaded --}} @if ($batch->total_download_status == "all") {{-- If none of the files in the batch have been downloaded --}} @elseif ($batch->total_download_status == "none") {{-- If some of the files have been downloaded --}} @elseif ($batch->total_download_status == "some") @endif @endforeach
Date Uploaded Case and Job Info Has Cancellation? Files Download Status
{{ $batch->formattedCreatedAt() }} @if ($batch->hasCaseAndJobInfo) Yes
(Click to Expand) @else None @endif
@if ($batch->hasCancellation) Yes @else No @endif @if (count($batch->files) == 1) {{ $batch->files[0]->filename_original }} @else {{ count($batch->files) }} files @endif {{-- If every file in the batch has been downloaded --}} @if ($batch->total_download_status == "all") Fully Downloaded
Click to Expand
{{-- If none of the files in the batch have been downloaded --}} @elseif ($batch->total_download_status == "none") Not Yet Downloaded
Click to Expand
{{-- If some of the files have been downloaded --}} @elseif ($batch->total_download_status == "some") Partially Downloaded
Click to Expand
@endif
Files @if ($batch->hasCaseAndJobInfo) Click Here for Case and Job Info @else Case and Job Info: None @endif
File File Status
{!! $batches->render() !!}