@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'))
Track and manage all payment transactions
| 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 | |
|
No payments found Record your first payment to get started |
|||||||