@extends('layouts.pdf') @section('title') {{__('Receipt')}}-{{$group['id']}}-{{date('Y-m-d')}} @endsection @section('content')
| {{__('Test Name')}} | {{__('Price')}} | |
|---|---|---|
| @if(isset($test['test'])) {{$test['test']['name']}} @endif | {{formated_price($test['price'])}} | |
@if(isset($package['package']))
{{$package['package']['name']}}
@endif
|
{{formated_price($package['price'])}} | |
| {{__('Mail Fee')}} | {{formated_price($group['mailing_fee'])}} | |
| {{__('Duplicate Fee')}} | {{formated_price($group['duplicate_fee'])}} | |
| {{__('Subtotal')}} | {{formated_price($group['subtotal'])}} | |
| {{__('Total')}} | {{formated_price($group['total'])}} | |
|
{{__('Paid')}}
@foreach($group['payments'] as $payment) {{formated_price($payment['amount'])}} {{__('On')}} {{$payment['date']}} {{__('By')}} {{$payment['payment_method']['name']}} @endforeach |
@if(count($group['payments'])) {{formated_price($group['paid'])}} @else {{formated_price(0)}} @endif | |
| {{__('Due')}} | {{formated_price($group['due'])}} | |
| {{__('OR Number')}} | {{$pm->group_or_number}} Date: {{ date('F d, Y', strtotime($pm['created_at'])) }} | |