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

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')}} EGP

@endif
@php $count=0 @endphp @foreach ($total_refund_to_students as $item) @endforeach
Id Name Refunded By Amount platform 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}} @if ($item->platform == 'Opay') {{ $item->platform }} @else {{ $item->platform }} @endif {{ date('Y-m-d', strtotime($item->created_at)) . ' / '}} {{date('h:i A', strtotime($item->created_at))}}
@endsection