@extends('layouts.master') @section('title', 'Edit Lab | Proxima - Medical Management app') @section('title-topbar', 'Edit Lab') @section('css') @endsection @section('content')
{{ __('basic.dashboard') }} | {{ __('basic.lab') }} | {{ __('patientappo.edit lab result') }}
{{ __('patientappo.edit lab result') }}
@csrf @method('PUT')

{{ __('basic.patient') }}

{{ $lab->patient->name }}

{{ __('basic.id') }} {{ $lab->patient->id }}


{{ __('basic.name') }}

{{ $lab->service_item->name }}

{{ __('basic.code') }}

{{ $lab->code }}

{{ __('basic.created') }}

{{ date('d M Y h:i a', strtotime($lab->created_at)) }}

{{ __('patientappo.appointment date') }}

{{ date('d M Y h:i a', strtotime($lab->appointment->start_at)) }}

@if ($lab->invoice_item->invoice->status == 0) @php $text_color_invoice = 'cancel-color-btn'; $msg_invoice = __('basic.not paid'); @endphp @elseif ($lab->invoice_item->invoice->status == 1) @php $text_color_invoice = 'pend-color-btn'; $msg_invoice = __('basic.pending'); @endphp @elseif ($lab->invoice_item->invoice->status == 2) @php $text_color_invoice = 'done-color-btn'; $msg_invoice = __('basic.paid'); @endphp @endif
{{ __('basic.payment status') }}
{{ $msg_invoice }}
{{ __('basic.payment code') }}

{{ $lab->invoice_item->invoice->code }}

@if (!empty($lab->xray_file)) @php $img_url = URL::asset('img/lab/' . $lab->xray_file); @endphp @else @php $img_url = URL::asset('img/dashboard/cloud-upload-1912186-1617655.png'); @endphp @endif
{{ __('basic.choose pic') }}
@error('x_ray_file') {{ $message }} @enderror

{{ $lab->note_doctor }}
@error('lab_note') {{ $message }} @enderror
@endsection @section('js') @endsection