Back
MedAid Platform
Medical Aid Management System

Provider Invoice

Invoice #: {{ $invoiceNumber }}

Date: {{ now()->format('d M Y') }}

Currency: {{ $currency }}

Provider Details

{{ $provider->name }}

@if($provider->trading_name)

Trading as: {{ $provider->trading_name }}

@endif

Practice #: {{ $provider->practice_number }}

Type: {{ ucfirst($provider->provider_type ?? 'N/A') }}

@if($provider->specialty)

Specialty: {{ $provider->specialty }}

@endif

Contact

@if($provider->phone)

{{ $provider->phone }}

@endif @if($provider->email)

{{ $provider->email }}

@endif @if($provider->address)

{{ $provider->address }}

@endif @if($provider->city)

{{ $provider->city }}

@endif

Banking Details

@if($provider->bank_name)

Bank: {{ $provider->bank_name }}

@endif @if($provider->bank_account)

Account: {{ $provider->bank_account }}

@endif @if($provider->bank_branch_code)

Branch: {{ $provider->bank_branch_code }}

@endif

Period

{{ \Carbon\Carbon::parse($from)->format('d M Y') }}

to

{{ \Carbon\Carbon::parse($to)->format('d M Y') }}

Claims Summary
@if($convertedClaims->isEmpty())

No claims found for this period.

@else @foreach($convertedClaims as $item) @endforeach
Claim # Service Date Member Status Billed ({{ $currency }}) Awarded ({{ $currency }}) Rate
{{ $item['claim']->claim_number }} {{ $item['claim']->service_date->format('d M Y') }} {{ $item['claim']->member->full_name ?? 'N/A' }} {{ ucfirst($item['claim']->status) }} {{ number_format($item['converted_billed_cents'] / 100, 2) }} {{ number_format($item['converted_awarded_cents'] / 100, 2) }} @if($item['original_currency'] !== $currency) @if($item['exchange_rate']) {{ $item['original_currency'] }} × {{ number_format($item['exchange_rate'], 4) }} @else No rate @endif @else @endif
TOTALS {{ $currency }} {{ number_format($totalBilledCents / 100, 2) }} {{ $currency }} {{ number_format($totalAwardedCents / 100, 2) }}
@endif
Total Billed {{ $currency }} {{ number_format($totalBilledCents / 100, 2) }}
Total Awarded {{ $currency }} {{ number_format($totalAwardedCents / 100, 2) }}
Amount Payable {{ $currency }} {{ number_format($totalAwardedCents / 100, 2) }}