@extends('layouts.report_pdf') @section('title') {{__('Delegate')}}-{{$data['sample_collector']['name']}}-{{date('Y-m-d')}} @endsection @section('content')
{{-- --}}
|
{{__('Delegate report')}} |
{{__('Delegate')}} : {{$data['sample_collector']['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')}} | {{__('Patient Name')}} | {{__('Tests')}} | {{__('Total')}} | {{__('Commission')}} | {{__('Paid')}} | {{__('Due')}} | ||||||
| {{$invoice['id']}} | {{date('d-m-Y H:i',strtotime($invoice['created_at']))}} | @if(isset($invoice['patient'])) {{$invoice['patient']['name']}} @endif |
|
{{format_money($invoice['total_for_commission'])}} | {{format_money($invoice['sample_collector_commission'])}} | {{format_money($invoice['sample_collector_paid'])}} | {{format_money($invoice['sample_collector_due'])}} | ||||||
| {{__('Payouts')}} | |||
|---|---|---|---|
| # | {{__('Date')}} | {{__('Amount')}} | {{__('Payment method')}} |
| {{$payout['id']}} | {{date('d-m-Y',strtotime($payout['date']))}} | {{format_money($payout['amount'])}} | @if(isset($payout['payment_method'])) {{$payout['payment_method']['name']}} @endif |
| {{__('Tests')}} | ||
|---|---|---|
| {{__('Name')}} | {{__('Count')}} | {{__('Total')}} |
| {{$test['test_name']}} | {{format_money($test['count'])}} | {{format_money($test['total'])}} |
| {{__('Cultures')}} | ||
|---|---|---|
| {{__('Name')}} | {{__('Count')}} | {{__('Total')}} |
| {{$culture['culture_name']}} | {{format_money($culture['count'])}} | {{format_money($culture['total'])}} |
| {{__('Packages')}} | ||
|---|---|---|
| {{__('Name')}} | {{__('Count')}} | {{__('Total')}} |
| {{$package['package_name']}} | {{format_money($package['count'])}} | {{format_money($package['total'])}} |
| {{__('Summary')}} | |
|---|---|
| {{__('Total')}} | {{format_money($data['total'])}} |
| {{__('Commission')}} | {{format_money($data['commission'])}} |
| {{__('Paid')}} | {{format_money($data['paid'])}} |
| {{__('Due')}} | {{format_money($data['due'])}} |