@extends('layouts.report_pdf') @section('title') {{__('Company report')}}-{{$data['company']['name']}}-{{date('Y-m-d')}} @endsection @section('content')
{{-- --}}
|
{{__('Company report')}} |
{{__('Company')}} : {{$data['company']['name']}} {{__('Date')}} : {{date('Y-m-d H:i')}} {{__('Date range')}} : {{date('Y-m-d H:i',strtotime($data['from']))}} - {{date('Y-m-d H:i',strtotime($data['to']))}} |
| {{__('Invoices')}} | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| # | {{__('Date')}} | {{__('Branch')}} | {{__('Patient Name')}} | {{__('Contract')}} | {{__('Tests')}} | {{__('Total')}} | ||||||
| {{$invoice['id']}} | {{date('d-m-Y H:i',strtotime($invoice['created_at']))}} | @if(isset($invoice['patient'])) {{$invoice['branch']['name_'.$locale]}} @endif | @if(isset($invoice['patient'])) {{$invoice['patient']['name']}} @endif | @if(isset($invoice['contract'])) {{$invoice['contract']['name']}} @endif |
|
{{$invoice['total']}} | ||||||
| {{__('Tests')}} | ||
|---|---|---|
| {{__('Name')}} | {{__('Count')}} | {{__('Total')}} |
| {{__('No data available')}} | ||
| {{$test['test_name']}} | {{$test['count']}} | {{$test['total']}} |
| {{__('Cultures')}} | ||
|---|---|---|
| {{__('Name')}} | {{__('Count')}} | {{__('Total')}} |
| {{__('No data available')}} | ||
| {{$culture['culture_name']}} | {{$culture['count']}} | {{$culture['total']}} |
| {{__('Packages')}} | ||
|---|---|---|
| {{__('Name')}} | {{__('Count')}} | {{__('Total')}} |
| {{__('No data available')}} | ||
| {{$package['package_name']}} | {{$package['count']}} | {{$package['total']}} |
| {{__('Summary')}} | |
|---|---|
| {{__('Total')}} | {{$data['total']}} |