@extends('admin.layouts.app') @section('content')

Account Information Management

@if (session('success'))
{{ session('success') }}
@endif
@foreach ($accounts as $account)
{{ $account->account_type }} Account
@if ($account->account_type == 'Paypal')

Account Holder Name: {{ $account->account_holder_name }}

@else

Network: {{ $account->network ?? 'N/A' }}

Icon: @if ($account->icon) Network Icon @else No icon uploaded @endif

@endif

Information: {{ Str::limit($account->account_information, 100) }}

@csrf @method('DELETE')
@endforeach
@endsection