@extends('layouts.admin') @section('content')
Installment Transactions
@lang('student.filter by')

Installments List

@if (count($installments) > 0) @if ($installments->total() > 4000) @else
@endif @endif
@php $count=0 @endphp @forelse ($installments as $installment) @empty @endforelse
@lang('student.table.id') student name @lang('student.table.course name') Course status @lang('student.table.teacher name') due date percentage amount amount EGP amount AED payment currency Rate paid at
{{ ++$count }} {{ $installment->first_name.' '.$installment->middle_name.' '.$installment->last_name }} {{$installment->has_label ? ' ( '.$installment->label.' ) ':''}} {{$installment->acyname.'_'.$installment->cname.' ( '.$installment->lshort_name.' )'}} {{ $installment->is_active ? 'Active':'inActive' }} {{ $installment->ttname }} {{ $installment->due_date }} {{$installment->installment_amount}} % {{$installment->amount}} {{$installment->amount_aed}} @php // if the installment is EGP it will show as EGP if($installment->payment_currency == 2){ $currency = 'EGP'; } else{ if($installment->is_paid){ $currency = ($installment->payment_currency == '1') ? 'AED' : 'EGP'; }else{ // else we chck the student profile and based on that we show the currency $currency = ($installment->payment_gateway == '1') ? 'AED':'EGP'; } } @endphp {{ $currency }} {{ $installment->rate ? $installment->rate : '-' }} {{-- --}} {{ $installment->paid_date}}
empty table

There is no data!

{{ $installments->appends(Request::except('page'))->render('inc.paginate') }}

Displaying {{$installments->count()}} of {{ $installments->total() }} transaction(s).

{{-- @endif --}}
@endsection @section('admin-js') {{-- draw all data tables --}} @endsection