@extends('layouts.master') @section('title', $title) @section('page_js') @endsection @section('action-btn')
@endsection @section('content')
{{--
{{ Form::open(['route' => ['balance.sheet.print']]) }} {{ Form::close() }}
{{ Form::open(['route' => ['balance.sheet.export']]) }} {{ Form::close() }}
--}}
@php $db_settings = \App\Models\Setting::get(); $settings = []; foreach ($db_settings as $row) { $settings[$row->name] = $row->value; } @endphp
{{ __('Account') }}
{{--
{{ _('Account Code') }}
--}}
{{ __('Total') }}
@php $totalAmount = 0; @endphp @foreach ($chartAccounts as $type => $items) {{-- @if ($accounts != []) @endif --}} @endforeach
{{ 'Net income' }}
{{ number_format($totalAmount, 2) }}
{{-- @foreach ($chartAccounts as $type => $accounts) @php if ($type == 'Assets') { continue; } @endphp @if ($accounts != [])
{{ 'Total for Liabilities & Equity' }}
{{ number_format($totalAmount, 2) }}
@endif @php if ($type == 'Liabilities' || $type == 'Equity') { break; } @endphp @endforeach --}}
@endsection