@extends('layouts.contentLayoutMaster') @php $breadcrumbs = [[['link' => route('home'), 'name' => "الرئيسية"],['link' => route('accounts.index'), 'name' => 'الحسابات'],['link' => route('accounts.index'), 'name' => 'حركة الصندوق']],['title'=> 'حركة الصندوق']]; @endphp @section('vendor-style') @endsection @section('page-style') @endsection @section('title', 'سجل حركة الصندوق') @section('content')
{!! sprintf('حركة الصندوق خلال العام الدراسي (%s) - الفترة من (%s) الي (%s)',$year->year_name ,$date_from, $date_to) !!} {!! sprintf('معروض (%s) من (%s) عملية دفع مؤكدة - صفحة رقم (%s) من (%s) صفحة',$PaymentAttempts->count(),$PaymentAttempts->total() , $PaymentAttempts->currentPage(),$PaymentAttempts->lastPage()) !!} م الطالب ولي الامر {{-- الصف--}} {{-- خ.السداد--}} الفترة الدفعة المبلغ عن طريق المرجع بواسطة التاريخ @foreach($PaymentAttempts as $key => $PaymentAttempt) @php $transactionable=$PaymentAttempt->transaction->transactionable; $student =$PaymentAttempt->transactionable_type != 'App\Models\Application' && $transactionable && $transactionable->student_id != null ? \App\Models\Student::find($transactionable->student_id) : null; $student_name =$PaymentAttempt->transactionable_type == 'App\Models\Application' ?$transactionable->student_name : ($student ? $student->student_name : '') ; $guardian =$PaymentAttempt->transactionable_type == 'App\Models\Application' && $transactionable && $transactionable->guardian_id != null ? \App\Models\guardian::where('guardian_id',$transactionable->guardian_id)->first() : ($student && $student->guardian_id ? \App\Models\guardian::where('guardian_id',$student->guardian_id)->first() : null) ; $parent = $guardian ? \App\Models\User::find($guardian->guardian_id) : null; @endphp {{ $PaymentAttempt->id }} {{ $student_name }} {{ $parent ? sprintf('%s (%s)',$parent->first_name.' '.$parent->last_name,$guardian->national_id) : '' }} {{-- {{ sprintf('%s - %s - %s - %s',$PaymentAttempt->school_name , $PaymentAttempt->gender_name, $PaymentAttempt->grade_name, $PaymentAttempt->level_name) }}--}} {{-- {{ $PaymentAttempt->plan_name }}--}} {{ $PaymentAttempt->period_name }} {{ sprintf('%s',$PaymentAttempt->installment_name) }} {{ $PaymentAttempt->received_ammount }} {{ $PaymentAttempt->method_name }} {!! $PaymentAttempt->bank_name ? sprintf('(%s)',$PaymentAttempt->account_number,$PaymentAttempt->bank_name) : '' !!} {!! $PaymentAttempt->network_name ? sprintf('(%s)',$PaymentAttempt->network_account_number,$PaymentAttempt->network_name) : '' !!} @if(! empty($PaymentAttempt->attach_pathh) && Storage::disk('s3')->exists($PaymentAttempt->attach_pathh)) @else {{ $PaymentAttempt->reference }} @endif {{ $PaymentAttempt->admin_name }} {{ $PaymentAttempt->updated_at->format('m-d-Y') }} @endforeach {{ $PaymentAttempts->appends(request()->except('page'))->links() }}

الاحصائيات

تم التحديث في {{ Carbon\Carbon::now()->format('d-m-Y') }} عن الساعة {{ Carbon\Carbon::now()->format('H:m:s') }}

{{ $PaymentAttempts->sum('received_ammount') }} ر.س

التحصيلات بالصفحة

{{ $PaymentAttempts->count() }} حركة

عدد الحركات بالصفحة

{{ $PaymentAttempts->total() }} حركة

عدد الحركات

{{ $sum_payments }} ر.س

اجمالي التحصيلات

@endsection @section('vendor-script') @endsection @section('page-script') @endsection