@extends('layouts.dashboard_sidebar') @section('title', 'View Uploaded Batch') @section('main-content')

Batch uploaded at {{ $batch->formattedCreatedAt() }} by {{ $batch->user->dlp_user()->labName }}

@if ($isLoggedInUserAnAdmin) Print All Cases @endif
    @foreach ($batch->cases as $case)
  • Case 1

    @if (!is_null($case->cancellation))
    Case Cancelled at 9:04pm on Jul 17, 2025. Message: @if (is_null($case->cancellation->message)) -- None -- @else @endif
    @endif
    @if ($isLoggedInUserAnAdmin) Print @else @if (is_null($case->cancellation) && $case->hasUncancelledJob) Cancel @endif @endif
    Patient Name: {{ $case->patientName }} Shipping Method: {{ $case->shippingMethod->name }} Turnaround Speed: {{ $case->turnaroundSpeed->displayName }}
      @foreach ($case->jobs as $job)
    • Job 1

      @if (!is_null($job->cancellation))
      Job Cancelled at 9:04pm on Jul 17, 2025. Message: @if (is_null($job->cancellation->message)) -- None -- @else @endif
      @endif
      @if (!$isLoggedInUserAnAdmin) @if (is_null($case->cancellation) && is_null($job->cancellation)) Cancel @endif @endif
      {{-- long lines needed because these includes break if split up --}} @include('admin-and-user.batch-with-case-and-job-data-job-section', ['job' => $job, 'isChildJob' => false])
        @foreach ($job->bridgeChildJobs as $childJob)
      • Bridge Unit

        @include('admin-and-user.batch-with-case-and-job-data-job-section', ['job' => $childJob, 'isChildJob' => true])
      • @endforeach
    • @endforeach

    Estimated Case Price: ${{ number_format($case->estimatedPriceInCents / 100, 2) }}

  • @endforeach
{!! Html::style('case-and-job-styling-for-both-upload-and-read-views.css') !!} @stop {{-- i just put the modals here because that's what the existing modals in the app do. this also makes it so you can't see the modal during page load. and it puts the modal in a top-level spot (which is suggested by the bootstrap docs). --}} @section('extra-scripts') @stop