@extends('layouts.app') @section('title', 'Trial Balance') @include('inventory.accounting.partials.styles') @section('content')
{{ \Carbon\Carbon::parse($from)->format('M j') }} – {{ \Carbon\Carbon::parse($to)->format('M j, Y') }}
| Code | Name | Type | Debit | Credit |
|---|---|---|---|---|
{{ $r['code'] }} |
{{ $r['name'] }} | {{ str_replace('_',' ', $r['type']) }} | {{ $r['debit'] > 0 ? number_format($r['debit'], 2) : '' }} | {{ $r['credit'] > 0 ? number_format($r['credit'], 2) : '' }} |
| No activity in this period. | ||||
| Totals | {{ number_format($trial['total_debit'], 2) }} | {{ number_format($trial['total_credit'], 2) }} | ||