@extends('layouts.main_without_top_button') @section('title') Debtors Reports @stop @section('navigation') @stop @section('contentinner')
PRINT {{----}} {{--EXPORT--}}
DEBTOR REPORT
AS OF {{\Carbon\Carbon::parse($date)->toFormattedDateString()}}
{{----}} {{--*/ $dr_total = 0 /*--}} {{--*/ $cr_total = 0 /*--}} @foreach($clients as $index=>$client) {{--*/ $dr_total +=0 /*--}} {{--*/ $cr_total +=0 /*--}} @endforeach {{----}} {{----}} {{----}} {{----}} {{----}} {{----}}
S/N Name Currency Total Balance OutstandingAmount Due
{{++$index}} {{$client->name}} {{$client->default_currency}} {{number_format($client->getBalance(),2)}}
TOTAL{{number_format($dr_total,2)}}
@stop