| {{__('Cashier')}} | {{__('Date')}} | {{__('Amount')}} | {{__('Payment method')}} | {{__('Transaction ID')}} | @can('add_payment_invoice') @endcan | @if(isset($invoice)) @foreach($invoice['patient_payments'] as $payment)|||
|---|---|---|---|---|---|---|---|---|
|
@if(isset($payment['user']))
{{$payment['user']['name']}}
@endif
|
{{$payment['date']}}
|
@if(
auth()->guard('admin')->user()->can('edit_other_payment_invoice')||
(auth()->guard('admin')->user()->can('edit_payment_invoice')&&$payment['user_id']==$current_user['id'])
)
|
|
|
@else
{{$payment['amount']}}
|
@if(isset($payment['payment_method']))
{{$payment['payment_method']['name']}}
@endif
|
{{$payment['kent_id']}}
|
@endif
@if(auth()->guard('admin')->user()->can('delete_other_payment_invoice')||(auth()->guard('admin')->user()->can('delete_payment_invoice')&&$current_user['id']==$payment['user_id'])) @endcan |
| {{$current_user['name']}} | {{now()->format('Y-m-d H:i')}} |
|
|
|
| {{__('Name')}} | {{__('Patient copayment')}} | {{__('Contract copayment')}} | {{__('Price')}} |
@if(isset($invoice)) {{count($invoice['all_tests'])+count($invoice['all_cultures'])}} @else 0 @endif |
|||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$parent_test['test']['name']}} |
|
{{format_money($parent_test['price'])}} | @can('delete_invoice_test') @endcan | ||||||||||
{{$test['test']['name']}} |
{{format_money($test['price'])}} | @can('delete_invoice_test') @endcan | |||||||||||
{{$culture['culture']['name']}} |
{{format_money($culture['price'])}} | @can('delete_invoice_test') @endcan | |||||||||||
{{$package['package']['name']}}{{count($package['tests'])+count($package['cultures'])}}{{__('Tests')}}
|
{{count($package['tests'])+count($package['cultures'])}}{{__('Tests')}}
|
{{format_money($package['price'])}} | @can('delete_invoice_test') @endcan | ||||||||||
|
|
|
@if(isset($invoice)&&isset($invoice['promo_code']))
|
| @if(isset($invoice)&&$invoice['p_c_discount_percentage']) {{__('A percentage discount applied of')}} {{$invoice['p_c_discount_percentage']}}% {{__('with amount of')}} {{$invoice['p_c_discount']}} @else {{__('A percentage discount applied of')}} % {{__('with amount of')}} @endif |
|
|
|
|
|
|
|
|
|
{{__('Points')}}
|
{{get_currency()}}
|
|
|