@foreach ($data as $key => $group) @endforeach
{{ __('#') }} {{ __('Date') }} {{ __('Patient Name') }} {{ __('Tests') }} {{ __('Mail Fee') }} {{ __('Duplicate Fee') }} {{ __('Total') }} {{ __('Paid') }} {{ __('Due') }}
{{ $key + 1 }} {{ $group['created_at'] }} @if (isset($group['patient'])) {{ $group['patient']['name'] }} @endif
    @foreach ($group['tests'] as $test)
  • {{ $test['test']['name'] }}
  • @endforeach @foreach ($group['cultures'] as $culture)
  • {{ $culture['culture']['name'] }}
  • @endforeach
@foreach ($group['packages'] as $package) {{ $package['package']['name'] }}
    @foreach ($package['tests'] as $test)
  • {{ $test['test']['name'] }}
  • @endforeach @foreach ($package['cultures'] as $culture)
  • {{ $culture['culture']['name'] }}
  • @endforeach
@endforeach
{{ formated_price($group['mailing_fee']) }} {{ formated_price($group['duplicate_fee']) }} {{ formated_price($group['total']) }} {{ formated_price($group['paid']) }} {{ formated_price($group['due']) }}