@extends('layouts.contentLayoutMaster') @php $breadcrumbs = [[['link' => route('indebt.index'), 'name' => 'مديونيات الطلاب'],['link' => route('indebt.show',$guardian->guardian_id),'name' => 'تفاصيل المديونية']],['title'=> 'ادارة المديونيات ']]; @endphp @section('content') مديونية الطالب {{$student->student_name}} لولي الامر {{$guardian->user->first_name.' '.$guardian->user->last_name}} قائمة المديونيات .. {{$list->count()}} مديونية الاجراءات {{-- كود--}} سنة المديونية الدفعة اجمالي المديونية الضرائب خ.فترة خ.قسيمة خ.محفظة الأجمالي المدفوع المتبقي تاريخ الدفع بواسطة اخر تحديث @foreach($list as $key => $transaction) @can('accounts-list') {{-- --}} @endcan @if(!$transaction->payment_status) @can('accounts-list') {{-- ادفع--}} @endcan @endif {{-- --}} {{-- {{ $transaction->id }}--}} {{-- --}} {{ $transaction->academic_year_name }} {{ $transaction->installment_name }} {{ round($transaction->amount_before_discount, 2) }} {{ round($transaction->vat_amount,2) }} {{ round($transaction->period_discount,2) }} {{ round($transaction->coupon_discount,2) }} {{ round($transaction->wallet_discount,2) }} {{ round($transaction->amount_after_discount + $transaction->vat_amount, 2) }} {{ round($transaction->paid_amount, 2) }} {{ round($transaction->residual_amount, 2) }} {{ $transaction->payment_status && $transaction->payment_date ? 'تم الدفع' . $transaction->payment_date : 'يجب الدفع قبل' . $transaction->payment_due }} {{ $transaction->admin_name }} {{ $transaction->updated_at->diffforhumans() }} @endforeach @endsection