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