@extends('layouts.app') @section('title', __('Customer Receivables')) @section('content')
| {{ __('Customer') }} | {{ __('Phone') }} | {{ __('Outstanding Balance') }} | {{ __('Actions') }} |
|---|---|---|---|
| {{ $customer->name }}{{ $customer->address ?: '-' }} | {{ $customer->phone ?: '-' }} | {{ number_format($customer->outstanding_balance, 2) }} {{ $customer->payment_currency_code ?: $moneyCode }} | @if($customer->whatsapp_link) {{ __('WhatsApp') }} @else @endif |
| {{ __('No customers with outstanding balances.') }} | |||
| {{ __('Total') }} | {{ number_format($customers->sum('outstanding_balance'), 2) }} {{ $moneyCode }} | ||