@extends('layouts.admin') @section('content')
Total Salfny

Salfny List

@if (count($total_salfny) > 0)

Total Salfny (EGP): {{$total_salfny->sum('total')}} EGP

Total Salfny (AED): {{$total_salfny->sum('total_aed')}} AED

@endif
@php $count=0 @endphp @foreach ($total_salfny as $item) @endforeach
Id Student Name Amount EGP Amount AED Created at Updated at
{{++$count}} {{$item->user->first_name.' '.$item->user->middle_name.' '.$item->user->last_name}} {{$item->total}} {{$item->total_aed}} {{ date('Y-m-d', strtotime($item->created_at)) . ' / '}} {{date('h:i A', strtotime($item->created_at))}} {{ date('Y-m-d', strtotime($item->updated_at)) . ' / '}} {{date('h:i A', strtotime($item->updated_at))}}
@endsection