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
{{ __('Account') }}
{{ _('Account Code') }}
{{ __('Total') }}
@php $totalAmount = 0; @endphp @foreach ($totalAccounts as $type => $accounts) @if ($accounts != []) @endif @endforeach @foreach ($totalAccounts as $type => $accounts) @php if ($type == 'Assets') { continue; } @endphp @if ($accounts != [])
{{ 'Total for Liabilities & Equity' }}
{{ \Auth::user()->priceFormat($totalAmount) }}
@endif @php if ($type == 'Liabilities' || $type == 'Equity') { break; } @endphp @endforeach
@endsection @push('script-page') @endpush