@if ($shouldShowExtraLabInfoColumns) @endif @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 @if ($shouldShowExtraLabInfoColumns) @endif @endforeach
Date Uploaded Lab PhoneCity StateFiles Case and Job Info Has Cancellation? Download Status Shipping Status
{{ $batch->formattedCreatedAt() }} {{ $batch->userDlpObject->labName }} {{ $batch->userDlpObject->labPhone }} {{ $batch->userDlpObject->labCity }} {{ $batch->userDlpObject->labState }} @if (count($batch->files) == 1) {{ $batch->files[0]->filename_original }} @else {{ count($batch->files) }} files @endif @if ($batch->hasCaseAndJobInfo) Yes @else None @endif @if ($batch->hasCancellation) Yes @else No @endif {{-- If every file in the batch has been downloaded --}} @if ($batch->total_download_status == "all") Fully Downloaded {{-- If none of the files in the batch have been downloaded --}} @elseif ($batch->total_download_status == "none") Not Downloaded {{-- If some of the files have been downloaded --}} @elseif ($batch->total_download_status == "some") Partially Downloaded @endif {{-- If every file in the batch has been shipped --}} @if ($batch->total_shipped_status == "all") Shipped {{-- If none of the files in the batch have been shipped --}} @elseif ($batch->total_shipped_status == "none") Not Yet Shipped {{-- If some of the files have been shipped --}} @elseif ($batch->total_shipped_status == "some") Partially Shipped @endif
{!! Form::open(array('route' => 'file_download_checked', 'name' => 'form-batch-files', 'id' => 'form-batch-files-' . $batch->id, 'data-batch-id' => $batch->id)) !!}

Files

@if ($batch->hasCaseAndJobInfo) Click Here for Case and Job Info @else Case and Job Info: None @endif
@foreach ($batch->files as $file) @if ($file->download_status == 0) @endforeach
{!! Form::checkbox('check-all', '') !!} Filename Uploaded Downloaded Downloaded By Milling Type Shipping Type ID
{!! Form::checkbox('download-file[]', $file->id) !!} @if ($file->download_status == 0) {{ $file->filename_original }} @else {{ $file->filename_original }} @endif {{ $file->formattedCreatedAt() }} N/A @else {{ $file->updated_at->format('g:ia \o\n M j, Y') }} @endif download_status == 0) title="File Not Downloaded" > N/A @else title="{{ $file->updated_at->diffForHumans() }}" > {{ $file->updated_at->format('g:ia \o\n M j, Y') }} by {{ $downloaded_by }} @endif @if ($file->milling_type == 1) Economy @elseif ($file->milling_type == 2) Standard @elseif ($file->milling_type == 3) Premium @else Economy @endif @if ($file->shipping_type == 1) Regular @elseif ($file->shipping_type == 2) Next Day Air Saver (3pm) @elseif ($file->shipping_type == 3) Next Day Air (12pm) @else Regular @endif {{ $file->id }}
{!! Form::hidden('batch_from_lab_name', $batch->userDlpObject->labName) !!} {!! Form::hidden('batch_id', $batch->id) !!}
@if ($DOWNLOADED_COUNT > 0) @else @endif
@if ($DOWNLOADED_COUNT > 0) Batch @else Batch @endif
@if (!empty($batch->message))
{{ $batch->message }}
@else
No message attached.
@endif
{!! Form::close() !!}
{!! $batches->render() !!}