@extends('layouts.admin') @section('styles') @include('admin.payments.partials.payment-styles') @endsection @section('content')
@include('admin.partials.pro-hero', [ 'icon' => 'fas fa-wallet', 'title' => __('CreativePay — Payments'), 'subtitle' => __('কাস্টমার পেমেন্ট রিভিউ ও ম্যানুয়াল Approve/Reject করুন'), 'breadcrumbs' => [ ['label' => __('Dashboard'), 'url' => route('admin.dashboard')], ['label' => __('Payments'), 'url' => null], ], ]) @include('includes.admin.form-error') @include('includes.admin.form-success') @if(session('success')) @endif @if(session('error')) @endif @include('admin.payments.partials.payment-nav')
{{ __('Pending') }} {{ $counts['pending'] }}
{{ __('Completed') }} {{ $counts['completed'] }}
{{ __('Failed') }} {{ $counts['failed'] }}

{{ __('Payment Transactions') }}

SMS মেথডে TrxID মিললে Approve করুন — অর্ডার Paid ও সার্ভিস Activate হবে। SMS লগ দেখতে উপরের SMS Logs ট্যাব ব্যবহার করুন।

@forelse($payments as $p) @empty @endforelse
{{ __('Invoice') }} {{ __('Customer') }} {{ __('Amount') }} {{ __('Method') }} {{ __('TrxID') }} {{ __('Status') }} {{ __('Date') }} {{ __('Action') }}
{{ $p->invoice_id }}
{{ $p->full_name }} @if($p->sender_number) {{ $p->sender_number }} @endif @if($p->email) {{ $p->email }} @endif
৳{{ number_format($p->amount, 0) }} {{ ucfirst($p->payment_method ?? '-') }} @if($p->transaction_id) {{ $p->transaction_id }} @else — @endif @if($p->status === 'pending') Pending @elseif($p->status === 'completed') Paid @elseif($p->status === 'failed') Failed @else {{ ucfirst($p->status) }} @endif @if($p->status === 'pending' && $p->admin_note) {{ $p->admin_note }} @endif {{ $p->created_at->format('d M Y') }} {{ $p->created_at->format('H:i') }} · {{ $p->created_at->diffForHumans() }} @if($p->status === 'pending' && $p->transaction_id)
@csrf
@csrf
@else — @endif
{{ __('No payments found') }} {{ __('এই ফিল্টারে কোনো পেমেন্ট নেই') }}
@if($payments->hasPages())
{{ $payments->links() }}
@endif
@endsection