@extends('layouts.admin') @section('content')
Refunded To Students Via Paymob

Amount List

{{-- Export btn --}} @if (count($total_refund_to_students) > 0)
@if (request()->date) @elseif (request()->start_date && request()->end_date) @endif

Total Refunds: {{$total_refund_to_students->sum('amount_aed')}} AED

@endif
@php $count=0 @endphp @foreach ($total_refund_to_students as $item) @endforeach
Id Name Refunded By Amount Amount AED Date/Time
{{++$count}} {{$item->user->first_name.' '.$item->user->middle_name.' '.$item->user->last_name}} {{$item->refundedBy->first_name.' '.$item->refundedBy->middle_name.' '.$item->refundedBy->last_name}} {{$item->amount}} {{$item->amount_aed}} {{ date('Y-m-d', strtotime($item->created_at)) . ' / '}} {{date('h:i A', strtotime($item->created_at))}}
@endsection