@extends('layouts.app') @section('header')
@endsection @section('content')
@foreach($advancePayments as $advancepayment) @if(isset($advancepayment->patient)) @else @endif @if(isset($advancepayment->admission)) @else @endif @endforeach
Patient Name Admission Code Amount Mode Other Created By Action
{{ $advancepayment->patient->firstname.' '.$advancepayment->patient->lastname }}{{ $advancepayment->admission->admission_code }}{{ $advancepayment->amount }} {{ \FormHelper::getPaymentText($advancepayment->method) }} {{ $advancepayment->other }} {{ $advancepayment->user->firstname.' '.$advancepayment->user->lastname }} @if(isset($advancepayment->admission)) edit @endif Delete
@endsection @section('scripts') @include('layouts.datatables', ['id' => 'dt-advancepayment']) @endsection