dbfdg @extends('layouts.admin') @section('page-title') {{ __('Balance Sheet') }} @endsection @section('breadcrumb') @endsection @push('script-page') @endpush @section('action-btn')
{{ Form::open(['route' => ['balance.sheet.export']]) }} {{ Form::close() }}
@endsection @section('content')
@php $authUser = \Auth::user()->creatorId(); $user = App\Models\User::find($authUser); @endphp
@php $totalAmount = 0; @endphp
{{ __('Liabilities & Equity') }}
@foreach ($totalAccounts as $type => $accounts) @if ($accounts != [] && $type != 'Assets') @endif @endforeach @if ($totalAmount != 0)
{{ 'Total for Liabilities & Equity' }}
{{ \Auth::user()->priceFormat($totalAmount) }}
@endif
@php $total = 0; $totalAmounts = 0; @endphp
{{ __('Assets') }}
@foreach ($totalAccounts as $type => $accounts) @if ($accounts != [] && $type == 'Assets') @endif @endforeach @if ($totalAmounts != 0)
{{ 'Total for Assets' }}
{{ \Auth::user()->priceFormat($totalAmounts) }}
@endif
@endsection