@extends('layouts.main') @push('styles') @endpush @section('content')

{{ __('layout.alter_investigations_results') }}

{{ Form::open(['method'=>'post','route' => 'investigations.alter_results']) }} {{ Form::hidden('patient_id', 0, ['id' => 'patient_id']) }}
{{ Form::label('search_patient', 'Search By Patient') }}
{{ Form::submit(__('investigations.search'), ['class'=>'btn btn-success pull-right']) }}
{{ Form::close() }}
@include('flash::message') @if($search_text != "")


@endif
@foreach($results as $result) @endforeach @if(count($results) <= 0) @endif
{{ __('investigations.patient_number') }} {{ __('investigations.patient_names') }} {{ __('investigations.ordered_investigations') }} {{ __('investigations.gender') }} {{ __('investigations.date_of_birth') }} {{ __('investigations.submission_date') }} {{ __('investigations.actions') }}
{{ get_name($result->patient_id, 'id', 'number', 'patients') }} {!! insurance_flag($result->patient_id) !!} investigation_id) ?>
    @foreach($investigation_ids as $investigation_id)
  1. {{ get_name($investigation_id, 'id', 'name', 'investigations') }}
  2. @endforeach
patient_id, 'id', 'gender', 'patients') ?> @if($gender == 1) {{ __('investigations.male') }} @elseif($gender == 2) {{ __('investigations.female') }} @elseif($gender == 3) {{ __('investigations.other') }} @endif {{ streamline_date_plain(get_name($result->patient_id, 'id', 'date_of_birth', 'patients')) }} {{ removeSeconds($result->created_at) }} {{ Form::open(['route' => 'investigations.alter_ordered_results']) }} {{ Form::hidden('patient_id',$result->patient_id) }} {{ Form::hidden('id',$result->id) }} {{ Form::close() }}
{{ __('investigations.no_investigations_found') }}
@endsection @push('scripts') @endpush