@extends ('layouts/template') @section('content')
Bills
@foreach ($bills as $bill) @endforeach
Created Patient Reason Role Amount
{{ friendly_date_time($bill->created_at, true) }} {{ $bill->client->displayName() }} @if($bill->careMonth) {{ $bill->code }} - {{ friendly_month($bill->careMonth->start_date) }} @elseif($bill->note) {{ $bill->code }} - Note @endif @if(!empty($bill->reason1))
{{ $bill->reason1 }}
@endif
hcp_pro_id === $pro->id) $roles[] = 'HCP'; if($bill->cm_pro_id === $pro->id) $roles[] = 'CM'; if($bill->rme_pro_id === $pro->id) $roles[] = 'RME'; if($bill->rmm_pro_id === $pro->id) $roles[] = 'RMM'; $roles = implode("
", $roles); ?> {!! $roles !!}
@if($bill->hcp_pro_id === $pro->id) @if($bill->has_hcp_been_paid) HCP Received:${{ $bill->hcp_payment_amount }} @else HCP Expected:{{ $bill->hcp_expected_payment_amount ? '$' . $bill->hcp_expected_payment_amount : '-' }} @endif @endif @if($bill->cm_pro_id === $pro->id) @if($bill->has_cm_been_paid) HCP Received:${{ $bill->cm_payment_amount }} @else HCP Expected:{{ $bill->cm_expected_payment_amount ? '$' . $bill->cm_expected_payment_amount : '-' }} @endif @endif @if($bill->rmm_pro_id === $pro->id) @if($bill->has_rmm_been_paid) HCP Received:${{ $bill->rmm_payment_amount }} @else HCP Expected:{{ $bill->rmm_expected_payment_amount ? '$' . $bill->rmm_expected_payment_amount : '-' }} @endif @endif @if($bill->rme_pro_id === $pro->id) @if($bill->has_rme_been_paid) HCP Received:${{ $bill->rme_payment_amount }} @else HCP Expected:{{ $bill->rme_expected_payment_amount ? '$' . $bill->rme_expected_payment_amount : '-' }} @endif @endif
@endsection