@extends('layouts.app') @section('title', __('Supplier Payables')) @section('content')
{{ __('Supplier Payables') }}
{{ __('Suppliers whom the business still owes money.') }}
{{ __('Add Payment') }}
@forelse($suppliers as $supplier) @empty @endforelse @if($suppliers->isNotEmpty()) @endif
{{ __('Supplier') }} {{ __('Phone') }} {{ __('Outstanding Balance') }} {{ __('Actions') }}
{{ $supplier->name }}{{ $supplier->address ?: '-' }} {{ $supplier->phone ?: '-' }} {{ number_format($supplier->outstanding_balance, 2) }} {{ $supplier->payment_currency_code ?: $moneyCode }}
{{ __('No suppliers with outstanding balances.') }}
{{ __('Total') }}{{ number_format($suppliers->sum('outstanding_balance'), 2) }} {{ $moneyCode }}
@endsection