@extends('layouts.app') @section('title', $title) @section('content')
@include('reports.partials.header', ['title' => $title, 'period' => __('As of').' '.\App\Support\DualDate::format(now(), 'Y-m-d')])
@php($total = 0) @foreach($parties as $party) @php($total += $party->balance) @endforeach
{{ $type === 'customer' ? __('Customer') : __('Supplier') }}{{ __('Phone') }}{{ __('Current Balance') }}
{{ $party->name }}{{ $party->phone ?: '-' }}{{ number_format($party->balance, 2) }} {{ $moneyCode }}
{{ __('Total Balance') }}{{ number_format($total, 2) }} {{ $moneyCode }}
@if(!empty($appSettings['report_footer']))

{{ $appSettings['report_footer'] }}

@endif @endsection