@extends('layouts.app') @section('title','Shares') @section('page-title','Share Registry') @section('content')
Credit Union Share Registry
Member shareholdings · Price: ${{ number_format($stats['price_per_share'],2) }} USD / L${{ number_format($stats['price_per_share'] * $rate,2) }} LRD per share
Issue Shares Dividends
{{-- KPI Strip --}}
{{ number_format($stats['shareholders']) }}
Shareholders
{{ number_format($stats['total_issued']) }}
Total Shares Issued
${{ number_format($stats['total_capital_usd'],0) }}
Share Capital (USD)
≈ L${{ number_format($stats['total_capital_usd'] * $rate,0) }}
{{ $stats['pending_deductions'] }}
Pending Deductions
@if($stats['pending_deductions'] > 0)
Awaiting payroll processing
@endif
{{-- Pending deductions action bar --}} @if($stats['pending_deductions'] > 0)
{{ $stats['pending_deductions'] }} salary deductions pending
Export the schedule for payroll and then bulk-confirm after processing
@csrf
Export Excel
@endif {{-- Filters --}}
@forelse($shareholders as $sh) @php $priceUsd = $stats['price_per_share']; $currentVal = $sh->total_shares * $priceUsd; $pct = $stats['total_issued'] > 0 ? round(($sh->total_shares/$stats['total_issued'])*100,2) : 0; @endphp @empty @endforelse
Member Shares Held % Ownership Total Invested (USD) Total Invested (LRD) Current Value Dividends Earned Status
{{ strtoupper(substr($sh->member->name,0,2)) }}
{{ $sh->member->name }}
{{ $sh->member->member_id }}
{{ number_format($sh->total_shares) }}
{{ $pct }}%
${{ number_format($sh->total_invested_usd,2) }} L${{ number_format($sh->total_invested_lrd,2) }} ${{ number_format($currentVal,2) }} @if($currentVal > $sh->total_invested_usd) @endif ${{ number_format($sh->total_dividends_usd,2) }} {{ ucfirst($sh->status) }} View
No shareholders yet
@if($shareholders->hasPages())
{{ $shareholders->links() }}
@endif
@endsection