@extends('layouts.pdf') @section('content')
| {{__('Group Tests')}} | ||||||||
|---|---|---|---|---|---|---|---|---|
| {{__('Date')}} | {{__('Patient Name')}} | {{__('Doctor')}} | {{__('Tests')}} | {{__('Subtotal')}} | {{__('Discount')}} | {{__('Total')}} | {{__('Paid')}} | {{__('Due')}} |
| {{__('No data available')}} | ||||||||
| {{date('d-m-Y H:i',strtotime($group['created_at']))}} | @if(isset($group['patient'])) {{$group['patient']['name']}} @endif | @if(isset($group['doctor'])) {{$group['doctor']['name']}} @endif |
|
{{formated_price($group['subtotal'])}} | {{formated_price($group['discount'])}} | {{formated_price($group['total'])}} | {{formated_price($group['paid'])}} | {{formated_price($group['due'])}} |
| {{__('Expenses')}} | ||
|---|---|---|
| {{__('Category')}} | {{__('Date')}} | {{__('Amount')}} |
| {{__('No data available')}} | ||
| @if(isset($expense['category'])) {{$expense['category']['name']}} @endif | {{date('d-m-Y',strtotime($expense['date']))}} | {{formated_price($expense['amount'])}} |
| {{__('Accounting Report Summary')}} | |
|---|---|
| {{__('Total')}}: | {{formated_price($data['total'])}} |
| {{__('Paid')}}: | {{formated_price($data['paid'])}} |
| {{__('Due')}}: | {{formated_price($data['due'])}} |
| {{__('Expenses')}}: | {{formated_price($data['total_expenses'])}} |
| {{__('Profit')}}: | {{formated_price($data['profit'])}} |