@extends('admin.admin_master') @section('admin')

Payments and Refunds

@error('name')
{{ $message }}
@enderror
@error('start_date')
{{ $message }}
@enderror
@error('end_date')
{{ $message }}
@enderror
@php($i = 1) @foreach($PaymentAttemptUsers as $item) @endforeach
Sl Name Email Phone Register Date Payment Date Refund Date Status Payment/Refund Amount Reason
{{ $PaymentAttemptUsers->firstItem()+$loop->index }} {{ $item->user->name }} @if($item->payment_status!=4 && $item->payment_status==1) {{ $item->email }} @elseif($item->payment_status==4) {{ $item->user->email }} @else {{ $item->user->email }} @endif {{ $item->user->mobile_number }} {{Carbon\Carbon::parse($item->user->created_at)->format("Y-m-d")}} @if($item->payment_status==1 || $item->payment_status==4) {{Carbon\Carbon::parse($item->updated_at)->format("Y-m-d")}} @else - @endif
{{-- Register: {{Carbon\Carbon::parse($item->user->created_at)->format("Y-M-d")}}
Payment: {{Carbon\Carbon::parse($item->created_at)->format("Y-M-d")}}
--}} @if($item->refund_date!=null) {{$item->refund_date ? Carbon\Carbon::parse($item->refund_date)->format("Y-m-d") :null}}
@else - @endif
@if($item->payment_status==1) @elseif($item->payment_status!=4) @elseif($item->payment_status==4) @endif @if($item->payment_status==1 || $item->payment_status==4) {{$item->currency." ".$item->amount }} @endif {{-- --}} @if($item->payment_status!=1 && $item->payment_status!=4) {{$item->txMsg}} @endif
@endsection