@extends('layouts.master') @section('title', 'Trial Balance') @section('page-header') Trial Balance @stop @push('style') @endpush @section('content')
From : {{ fdate(request('from'), 'd/m/Y') }}
To : {{ fdate(request('to'), 'd/m/Y') }}
@elseif(fdate(request('to') ?? today(), 'd/m/Y'))As On {{ fdate(request('to') ?? today(), 'd/m/Y') }}
@endif| Account Description | --}} {{--Dr. | --}} {{--Cr. | --}} {{--||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| NO RECORDS--}} {{-- FOUND! | --}} {{--||||||||||
| --}} {{-- {{ $accountGroup->name }}--}} {{-- | --}} {{-- @if ($accountGroup->balance_type == 'Debit')--}} {{----}}
{{-- | --}}
{{-- --}} {{-- 0.00--}} {{-- --}} {{-- | --}} {{-- @else--}} {{----}} {{-- 0.00--}} {{-- --}} {{-- | --}} {{----}}
{{-- | --}}
{{-- @endif--}}
{{-- @php--}}
{{-- $totalDebit += $creditAccountGroup;--}}
{{-- $totalCredit += $creditAccountGroup;--}}
{{-- @endphp--}}
{{-- ||||||
| --}} {{-- | --}} {{-- {{ $accountControl->name }}--}} {{-- | --}} {{-- @if ($accountGroup->balance_type == 'Debit')--}} {{----}} {{-- {{ number_format($debitAccountControl - $creditAccountControl, 2) }}--}} {{-- | --}} {{----}} {{-- 0.00--}} {{-- --}} {{-- | --}} {{-- @else--}} {{----}} {{-- 0.00--}} {{-- --}} {{-- | --}} {{----}} {{-- {{ number_format($creditAccountControl - $debitAccountControl, 2) }}--}} {{-- | --}} {{-- @endif--}} {{--|||||
| --}} {{-- | --}} {{-- | --}} {{-- --}} {{-- {{ $accountSubsidiary->name }}--}} {{-- --}} {{-- | --}} {{-- @if ($accountGroup->balance_type == 'Debit')--}} {{----}}
{{-- | --}}
{{-- --}} {{-- 0.00--}} {{-- --}} {{-- | --}} {{-- @else--}} {{----}} {{-- 0.00--}} {{-- --}} {{-- | --}} {{----}}
{{-- | --}}
{{-- @endif--}}
{{-- ||||
| --}} {{-- | --}} {{-- | --}} {{-- | {{ $account->name }} | --}} {{-- @if ($accountGroup->balance_type == 'Debit')--}} {{----}} {{-- {{ number_format($account->debit - $account->credit ?? 0, 2) }}--}} {{-- | --}} {{--0.00 | --}} {{----}} {{-- @else--}} {{-- | 0.00 | --}} {{----}} {{-- | --}} {{-- {{ number_format($account->credit - $account->debit ?? 0, 2) }}--}} {{-- | --}} {{-- @endif--}} {{--{{ $account->credit . '-' . $account->debit }} | --}} {{--
| Trail | --}} {{----}} {{-- {{ number_format($totalTrialAmountDebit, 0) }}--}} {{-- | --}} {{----}} {{-- {{ number_format($totalTrialAmountCredit, 0) }}--}} {{-- | --}} {{--||||||||
| Account Description | Dr. | Cr. | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NO RECORDS FOUND! | |||||||||||||
| {{ $accountGroup->name }} | @if ($accountGroup->balance_type == 'Debit'){{ number_format($debitAccountGroup - $creditAccountGroup, 2) }} | @else | {{ number_format($creditAccountGroup - $debitAccountGroup , 2) }} | ||||||||||
| @if ($accountGroup->balance_type == 'Debit') | {{ number_format($debitAccountControl - $creditAccountControl, 2) }} | @else | {{ number_format($creditAccountControl - $debitAccountControl, 2) }} | @endif||||||||||
|
|||||||||||||
| Trial Balance | {{ number_format($totalTrialAmountDebit, 0) }} | {{ number_format($totalTrialAmountCredit, 0) }} | |||||||||||
{{auth()->user()->name}}