@extends('layouts.contentLayoutMaster') @php $breadcrumbs = [[['link' => route('indebt.index'), 'name' => "المديونيات"],['name'=> 'مديونية طالب ']],['title'=> 'مديونية طالب ']]; @endphp @section('title', 'مديونية طالب ') @section('vendor-style') @endsection @section('page-style') @endsection @section('content') مديونية الطالب {{$student->student_name}} لولي الامر {{$guardian->user->first_name.' '.$guardian->user->last_name}} قائمة المديونيات .. {{$list->count()}} مديونية الاجراءات سنة المديونية كود التعاقد حالة الدفع اجمالي المديونية المبلغ المدفوع المتبقي @foreach ($list as $key => $record) @can('indebt-list') @if(!$record->status && round($record->total_amount - $record->total_paid,2) > 0) ادفع @endif @endcan {{ $record->academic_year_name }} {{ $record->contract_id }} {{ \App\Models\Debt::STATUS[$record->status] }} {{ $record->total_amount }} ر.س {{ $record->total_paid }} ر.س {{ round($record->total_amount - $record->total_paid,2) }} ر.س @endforeach @endsection