@extends('layouts.app') @section('title', __('Supplier Payments')) @section('content')
{{ __('Outstanding') }}
{{ money($totals['pending']) }}
{{ __('Overdue') }}
{{ money($totals['overdue']) }}
{{ __('Paid') }}
{{ money($totals['paid']) }}
| {{ __('Reference') }} | {{ __('Supplier') }} | {{ __('Purchase') }} | {{ __('Amount') }} | {{ __('Method') }} | {{ __('Due') }} | {{ __('Status') }} | |
|---|---|---|---|---|---|---|---|
| {{ $payment->reference }} | {{ $payment->supplier?->name }} | {{ $payment->purchase?->reference ?? '—' }} | {{ money($payment->amount) }} | {{ __(ucfirst(str_replace('_',' ',$payment->payment_method))) }} | {{ $payment->due_date?->format('d/m/Y') ?? '—' }} | {{ __(ucfirst($payment->status)) }} |
@if ($payment->status !== 'paid')
@endif
|
| {{ __('No payments.') }} | |||||||