@extends('layouts.pdf') @section('content')
getLocale()=='ar') align="right" @endif> {{__('Due date')}} : {{date('d-m-Y')}}
@foreach($group['tests'] as $test) @endforeach @foreach($group['cultures'] as $culture) @endforeach
{{__('Test Name')}} {{__('Price')}}
{{$test['price']}} {{get_currency()}}
{{$culture['price']}} {{get_currency()}}
{{__('Subtotal')}} {{$group['subtotal']}} {{get_currency()}}
{{__('Discount')}} @if(!empty($group['contract']))
( {{$group['contract']['title']}} {{$group['contract']['discount']}}% ) @endif
{{$group['discount']}} {{get_currency()}}
{{__('Total')}} {{$group['total']}} {{get_currency()}}
{{__('Paid')}} {{$group['paid']}} {{get_currency()}}
{{__('Due')}} {{$group['due']}} {{get_currency()}}

{{ __('Lab Test Required') }}

Patient Code : @if(isset($group['patient'])) {{ $group['patient']['code'] }} @endif Patient Name : @if(isset($group['patient'])) {{ $group['patient']['name'] }} @endif
Age : @if(isset($group['patient'])) {{$group['patient']['age']}} @endif Gender : @if(isset($group['patient'])) {{ __($group['patient']['gender']) }} @endif
Referred By : @if(isset($group['doctor'])) {{ $group['doctor']['name'] }} @endif Date & Time: {{ \Carbon\Carbon::parse($group['created_at'])->setTimezone('Asia/Karachi')->format('d-m-Y h:i A') }}
@foreach($group['tests'] as $test) @endforeach @foreach($group['cultures'] as $culture) @endforeach
{{__('Test Required')}} {{__('Result')}}
@endsection