@extends('backend.partials.master') @section('title') {{ ___('label.payment_management') }} @endsection @section('maincontent')
{{ ___('label.collected') }}

{{ currency_symbol() }}{{ number_format($collected) }}

{{ ___('label.outstanding') }}

{{ currency_symbol() }}{{ number_format($outstanding) }}

{{ ___('label.fully_paid') }}

{{ $fullyPaid }} / {{ $pilgrims->count() }}

{{-- Pilgrims pay in instalments, so the field takes the amount received now and the repository moves it from due to paid. --}} @forelse($pilgrims as $p) @php $fid = 'hajj-pay-' . $p->id; @endphp {{ $p->pilgrim_no }} {{ $p->name }} {{ $p->package_title }} {{ currency_symbol() }}{{ number_format($p->amount_paid) }} {{ currency_symbol() }}{{ number_format($p->amount_due) }} {{ admin_label($p->payment_status) }} @if(hasPermission('hajj_update'))
@else — @endif @empty {{ ___('alert.no_data_available') }} @endforelse
@if(hasPermission('hajj_update')) @foreach($pilgrims as $p)
@csrf @method('PUT')
@endforeach @endif
@endsection