@extends('layouts.admin') @section('content')
Attendance Transactions
@lang('student.filter by')
{{-- --}}
{{-- tabs --}}

Transactions List

@if (count($transactions) > 0) @if ($transactions->total() >5000) @else
@endif @endif
@if (request()->transaction_tab != 'deleted') @endif @php $count=0; @endphp @forelse ($transactions as $transaction) @if (request()->transaction_tab != 'deleted') @endif @empty @endforelse
id Student course name Enrollment Method Teacher date amount due (EGP) amount due (AED) Transaction Currency Student Currency Rate statusRefund
{{ ++$count }} {{ $transaction->first_name . ' ' . $transaction->middle_name. ' ' . $transaction->last_name}} {{$transaction->has_label ? ' ( '.$transaction->label.' ) ':''}} {{ $transaction->cname }} ( {{ $transaction->lshort_name }} ) ( {{ $transaction->acyname }}) {{$transaction->fees_by_lesson ? 'By Lesson':'By Course'}} {{ $transaction->ttname }} {{ $transaction->created_at->format('d-m-Y') . ' / '}} {{date('h:i A', strtotime($transaction->created_at))}} {{ $transaction->amount_due }} EGP {{ $transaction->amount_due_aed }} AED {{ $transaction->currency == 2 ? 'EGP':'AED' }} {{ $transaction->payment_gateway == 2 ? 'EGP':'AED' }} {{ $transaction->rate ? $transaction->rate : 0 }} @if($transaction->is_extra) Extra @endif @if ($transaction->is_refunded == 1 || $transaction->is_refunded_after_post == 1) Refunded @else Paid @endif @if ($transaction->is_posted) Posted @else Un-Posted @endif {{$transaction->is_live == 1 ? 'Live':'Recording'}} @if ($transaction->deleted_at) Deleted @endif @if ($transaction->is_refunded == 1 || $transaction->is_refunded_after_post == 1) Already Refunded @else
@endif
empty table

There is no data!

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

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

{{-- refund reason modeal --}} @endsection @section('admin-js') {{-- draw all data tables --}} @endsection