@extends('distributor.layouts.app') @section('title', 'PV Ledger') @section('content')

PV Ledger

Track all your PV (Point Value) transactions

Clear

Total PV Credits

{{ number_format($totalCredit, 2) }} PV

Total PV Debits

{{ number_format($totalDebit, 2) }} PV

Net PV Balance

{{ number_format($netPv, 2) }} PV

@forelse($pvEntries as $entry) @empty @endforelse
Date & Time Type Description Order PV Amount Balance
{{ $entry->created_at->format('M d, Y') }}
{{ $entry->created_at->format('h:i A') }}
{{ ucfirst(str_replace('_', ' ', $entry->pv_type)) }}
{{ $entry->description ?? 'N/A' }}
@if($entry->order) #{{ $entry->order->order_number }} @else - @endif {{ $entry->pv_amount >= 0 ? '+' : '' }}{{ number_format($entry->pv_amount, 2) }} PV {{ number_format($entry->pv_amount, 2) }} PV

No PV transactions found

Your PV ledger will appear here when you make transactions

@if($pvEntries->hasPages())
{{ $pvEntries->withQueryString()->links() }}
@endif

PV Type Legend

Purchase
Matching Bonus
Generation Bonus
Sponsor Bonus
Rank Bonus
Weekly Flush
@endsection @push('styles') @endpush