@hasrole('Reseller|Reseller Admin')
{{--
--}}

Balance sheet

@foreach ($resellerDashboard as $r) @endforeach
Name Balance POP
{{ $r->name }} {{ $r->balance[0]['amount'] ?? 0 }} @foreach ($r->pops as $pop) @if ($pop->reseller_id == $r->id) @endif @endforeach
{{ $pop->popname }} @if (!empty($pop->balance->first())) {{ $pop->balance->first()->amount }} @else 0 @endif
@endhasrole