@extends('layouts.app') @section('title', 'Payment Details: ' . $supplierPayment->payment_number) @section('content')
LKR {{ number_format($supplierPayment->amount, 2) }}
{{ $supplierPayment->payment_date->format('M d, Y') }}
{{ $supplierPayment->reference_number ?? '-' }}
{{ $supplierPayment->supplier->company_name }}
@if($supplierPayment->supplier->contact_person){{ $supplierPayment->supplier->contact_person }}
@endif @if($supplierPayment->supplier->phone){{ $supplierPayment->supplier->phone }}
@endifInvoice: {{ $supplierPayment->supplierCredit->invoice_number }}
@endif{{ $supplierPayment->payment_date->format('l, F d, Y') }}
LKR {{ number_format($supplierPayment->amount, 2) }}
{{ $supplierPayment->payment_method->label() }}
{{ $supplierPayment->reference_number ?? 'N/A' }}
{{ $supplierPayment->processedBy->name }}
{{ $supplierPayment->created_at->format('M d, Y H:i') }}
{{ $supplierPayment->updated_at->format('M d, Y H:i') }}
{{ $supplierPayment->notes }}
LKR {{ number_format($supplierPayment->supplierCredit->original_amount, 2) }}
LKR {{ number_format($supplierPayment->supplierCredit->paid_amount, 2) }}
LKR {{ number_format($supplierPayment->supplierCredit->outstanding_amount, 2) }}
This credit still has an outstanding balance
Record Another Payment