@can('billing.discount-approve')
@csrf
@endcan
@if ($plans->isEmpty()) Create an installment plan for an approved patient balance. @else
@foreach ($plans as $plan) @endforeach
PlanPatientTotalPaidRemainingStatus
{{ $plan->plan_no }}
{{ $plan->installment_count }} · {{ $plan->frequency }}
{{ $plan->patient?->full_name }}
{{ $plan->patient?->medical_record_number }}
{{ number_format($plan->total_amount, 2) }} {{ number_format($plan->paid_amount, 2) }} {{ number_format($plan->remaining_balance, 2) }}
{{ $plans->links() }}
@endif