@extends('layouts.admin') @section('content')
| @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}} |
|
There is no data! |
|||||||||||
Displaying {{$installments->count()}} of {{ $installments->total() }} transaction(s).