@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' => 'المحافظ'], [ 'name' => sprintf('سجل المحفظة (%s)',$wallet->name)]],['title' => 'تاريخ الحركات المالية']]; @endphp @section('title', sprintf('تفاصيل الحركات المالية ولي الأمر %s - المحفظة %s', $guardian->user->getFullName() , $wallet->name)) @section('content') {!! sprintf('تفاصيل الحركات المالية للمحفظة (%s) ولي الأمر (%s)' ,$wallet->name ,$guardian->user->getFullName()) !!} يمكنك ادناة الأطلاع علي تفاصيل الحركات المالية للمحفظة اضافة / سحب رقم الحركة وصف الحركة المبلغ الاجراء ملاحظات المرجع الرصيد المستخدم تاريخ الحركة @foreach ($transactions as $transaction) {{ $transaction->id }} {{ getWalletMeta($transaction->meta, 'description') }} {{ $transaction->amountFloat . ' ر.س' }} {!! getBadge([$transaction->type == 'deposit' ? 'success' : 'danger', $transaction->type == 'deposit' ? 'اضافة' : 'خصم']) !!} {{ getWalletMeta($transaction->meta, 'description') }} @if($path = getWalletMeta($transaction->meta, 'file_path')) @elseif($url = getWalletMeta($transaction->meta, 'url')) @endif {{ number_format($transaction->balance /100,2) }} ر.س {{ getWalletMeta($transaction->meta, 'user_name') }} {{ $transaction->created_at }} @endforeach {{ $transactions->appends(request()->except('page'))->links() }} @endsection