@extends('core::layouts.master') @section('title') {{trans_choice('accounting::general.balance_sheet',1)}} @endsection @section('content')
{{trans_choice('general.reset',1)}}!
@if(!empty($end_date))
@foreach($assets as $key) @endforeach @foreach($liabilities as $key) @endforeach @foreach($equities as $key) @endforeach
{{trans_choice('core::general.branch',1)}}: @if(!empty($data->first())) {{$data->first()->branch}} @endif {{trans_choice('accounting::general.as_on',1)}}: {{$end_date}}
{{trans_choice('accounting::general.gl_code',1)}} {{trans_choice('core::general.account',1)}} {{trans_choice('accounting::general.balance',1)}}

{{trans_choice('accounting::general.asset',2)}}

{{ $key->gl_code }} {{$key->name}} {{ number_format(($key->debit - $key->credit),2) }}

{{trans_choice('core::general.total',1)}} {{trans_choice('accounting::general.asset',2)}}

{{ number_format($total_assets,2) }}

{{trans_choice('accounting::general.liability',2)}}

{{ $key->gl_code }} {{$key->name}} {{ number_format(($key->credit - $key->debit),2) }}

{{trans_choice('core::general.total',1)}} {{trans_choice('accounting::general.liability',2)}}

{{ number_format($total_liabilities,2) }}

{{trans_choice('accounting::general.equity',2)}}

{{ $key->gl_code }} {{$key->name}} {{ number_format(($key->credit - $key->debit),2) }}

{{trans_choice('core::general.total',1)}} {{trans_choice('accounting::general.equity',2)}}

{{ number_format($total_equities,2) }}

{{trans_choice('core::general.total',1)}} {{trans_choice('accounting::general.liability',2)}} {{trans_choice('core::general.and',1)}} {{trans_choice('accounting::general.equity',2)}}

{{ number_format($total_equities+$total_liabilities,2) }}

@endif
@endsection @section('scripts') @endsection