@extends('layouts.contentLayoutMaster') @php $breadcrumbs = [[['link' => route('guardians.index'), 'name' => "اولياء الأمور"], ['link' => route('debts.index'), 'name' => "المديونيات"], ['link' => route('debts.show',$debt->id), 'name' => "مديونيات : $debt->first_name"]],['title' => 'مديونيات ولي الأمر']]; @endphp @section('title', 'مديونيات ولي الأمر : '. $debt->getFullName()) @section('vendor-style') @endsection @section('page-style') @endsection @section('content')
@foreach($students as $k => $student) @if($student_transactions = $transactions->where('student_id', $k)) @if(count($student_transactions)> 0) مديونية الطالب : {{ $student }} عودة # الدفعة عن عام الي عام المبلغ مدفوع متبقي تاريح الترحيل التفاصيل @foreach ($student_transactions as $transaction) {{ $transaction->id }} {{ $transaction->installment_name }} {{ $transaction->debt_year_name ?? 'غير محدد' }} {{ $transaction->year_name }} {{ $transaction->amount_after_discount + $transaction->vat_amount}} ر.س {{ $transaction->paid_amount }} ر.س {{ $transaction->residual_amount }} ر.س {{ $transaction->created_at->format('Y-m-d') }} تفاصيل المديونية @endforeach @endif @endif @endforeach @endsection @section('vendor-script') @endsection @section('page-script') @endsection