@extends('layouts.admin') @section('title') Manage Payments @endsection @section('style') @endsection @section('content')
{{-- Large Alert Bar removed from here to hide the 'Black Circle' --}}
@if($payments->count() > 0) @foreach($payments as $pay) @endforeach @endif
# Date Submitted User Details Plan Amount Proof Actions
{{ $loop->iteration }}
{{ \Carbon\Carbon::parse($pay->created_at)->format('d M Y') }}
{{ \Carbon\Carbon::parse($pay->created_at)->format('h:i A') }}
{{ strtoupper(substr($pay->user_name, 0, 1)) }}
{{ $pay->user_name }} {{ $pay->email }}
@php $isYearly = $pay->amount > 20; @endphp @if($isYearly) YEARLY @else MONTHLY @endif
${{ number_format($pay->amount, 2) }}
{{-- MODAL --}} @endsection @section('script') @endsection