@extends('layouts.dashboard') @section('title', __('messages.payments')) @section('header', 'Payment Transactions Management') @section('sidebar') @include('company-admin.partials.sidebar') @endsection @section('content') @if(session('success'))
{{ session('success') }}
@endif

Payment Transactions

Track and manage all payment transactions

Record Payment
@forelse($payments as $payment) @empty @endforelse
Payment Number Tenant Type Amount Payment Date Method Status Actions
{{ $payment->payment_number }}
{{ $payment->created_at->format('M d, Y') }}
@if($payment->tenant)
{{ $payment->tenant->full_name }}
{{ $payment->tenant->phone }}
@elseif($payment->customer)
{{ $payment->customer->name }}
{{ $payment->customer->email }}
@else N/A @endif
{{ $payment->type }}
{{ number_format($payment->amount, 0) }}
{{ $payment->currency }}
{{ $payment->payment_date ? \Carbon\Carbon::parse($payment->payment_date)->format('M d, Y') : 'N/A' }} {{ $payment->payment_method ? ucfirst(str_replace('_', ' ', $payment->payment_method)) : 'N/A' }} @if($payment->status === 'completed') Completed @elseif($payment->status === 'pending') Pending @elseif($payment->status === 'overdue') Overdue @else Failed @endif
@csrf @method('DELETE')

No payments found

Record your first payment to get started

@if($payments->hasPages())
{{ $payments->links() }}
@endif
@endsection