@extends('layouts.app') @section('title','Trial Balance') @section('page_title','Trial Balance') @section('content')

Trial Balance

{{ $from }} to {{ $to }}

Export CSV
@include('reports.partials.date-filter')
@foreach($rows as $a)@if((float)$a->closing_debit!==0.0||(float)$a->closing_credit!==0.0)@endif @endforeach
CodeAccountTypeDebitCredit
{{ $a->code }}{{ $a->name }}{{ ucwords(str_replace('_',' ',$a->type)) }}{{ number_format($a->closing_debit,2) }}{{ number_format($a->closing_credit,2) }}
Total{{ number_format($totals['debit'],2) }}{{ number_format($totals['credit'],2) }}
@endsection