@extends('layouts.app') @section('title', $supplier->name.' — Statement') @section('content')
{{ $supplier->contact_person }} · {{ $supplier->phone }}
Balance owed
{{ number_format($supplier->balance, 2) }}
| Date | Type | Reference | Amount |
|---|---|---|---|
| {{ \Carbon\Carbon::parse($entry['date'])->format('d M Y') }} | {{ $entry['ref'] }} | {{ $entry['direction'] === 'owe' ? '+' : '−' }}{{ number_format($entry['amount'], 2) }} | |
| No activity yet for this supplier. | |||