@extends('users.admin.layouts.master') @section('styles') @endsection @section('content')

Clinic MS

INVOICE No. : {{$payment->id}} INVOICE Date : {{now()}}
@if(isset($payment->patient)) Patient Name : {{$payment->patient->first_name.' '.$payment->patient->last_name}} Patient Id : {{$payment->patient->id}} @endif @if(isset($payment->doctor)) Refereed By Doctor : {{$payment->doctor->first_name.' '.$payment->doctor->last_name}} @endif
@foreach($payment->paymentitems as $p) @endforeach
Item Name Item Price Quantity Total
{{$p->name}} ${{$p->price}} {{$p->pivot->payment_item_quantity}} ${{$p->price*$p->pivot->payment_item_quantity}}
@endsection @section('scripts') @endsection