@extends('layouts.app') @section('title') {{__('Group Receipt')}} @endsection @section('css') @endsection @section('breadcrumb')

{{__('Group Tests')}}

@endsection @section('content')

{{__('Receipt')}}

{{__('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
{{__('Doctor')}} : @if(isset($group['doctor'])) {{$group['doctor']['name']}} @endif {{__('Date')}} : {{date('d-m-Y H:i',strtotime($group['created_at'])) }}

{{__('Due Date')}} : {{date('d/m/Y',strtotime($group['created_at']))}}

@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()}}
@include('admin.groups.modals.print_barcode') @endsection @section('scripts') @endsection