@extends('layouts.contentLayoutMaster') @php $breadcrumbs = [[['link' => route('guardians.index'), 'name' => "اولياء الأمور"], ['link' => route('users.edit',$guardian->user->id), 'name' => $guardian->user->getFullName()], ['link' => route('guardians.wallets.index',$guardian->user->id), 'name' => 'المحافظ']],['title' => 'تاريخ الحركات المالية']]; @endphp @section('title', 'تاريخ الحركات المالية ولي الأمر | ' . $guardian->user->getFullName()) @section('content')
@foreach ($wallets as $wallet)

{!! sprintf('%s - الرصيد (%s) %s',$wallet->name, getBadge(['success', $wallet->balanceFloat]),$wallet->description ?? 'قابل للسحب' ) !!}

التفاصيل
@endforeach
تفاصيل الحركات المالية الخاصة بـ ولي الأمر {{ $guardian->user->getFullName() }} لدي كل ولي امر محفظة تحتوي علي الرصيد المالي القابل للسحب ومحفظة اخري تحتوي علي الرصيد الترويجي الذي يمكنة استخدامة ولا يمكن سحبة عودة رقم الحركة المحفظة وصف الحركة المبلغ الاجراء ملاحظات المرجع المستخدم تاريخ الحركة @foreach ($transactions as $transaction) {{ $transaction->id }} {{ $transaction->wallet->name }} {{ getWalletMeta($transaction->meta, 'description') }} {{ $transaction->amountFloat . ' ر.س' }} {!! getBadge([$transaction->type == 'deposit' ? 'success' : 'danger', $transaction->type == 'deposit' ? 'اضافة' : 'خصم']) !!} {{ getWalletMeta($transaction->meta, 'reason') }} @if($url = getWalletMeta($transaction->meta, 'url')) @endif {{ getWalletMeta($transaction->meta, 'admin_name') }} {{ $transaction->created_at }} @endforeach {{ $transactions->appends(request()->except('page'))->links() }} @endsection