@if($reseller)
Status:
{{ ucfirst($reseller->status) }}
Credit Limit:
BDT{{ number_format($reseller->credit_limit, 2) }}
Current Balance:
BDT{{ number_format($reseller->current_balance, 2) }}
Available Credit:
BDT{{ number_format($reseller->credit_limit - $reseller->current_balance, 2) }}
Credit Utilization:
{{ number_format(($reseller->current_balance / max($reseller->credit_limit, 1)) * 100, 1) }}%
Member Since:
{{ $reseller->created_at->format('M d, Y') }}
Last Updated:
{{ $reseller->updated_at->format('M d, Y') }}
@else
No reseller profile found
Contact administrator to set up your reseller account
@endif