@extends('layouts.adminapp') @section('title') {{ __('lng.BalanceSheet') }} - {{ __('lng.Print') }} @endsection @section('active_report', 'active') @section('open_report', 'open') @section('open_account', 'open') @section('active_account', 'active') @section('balance_sheet', 'active') @section('content')

{{ __('lng.Print') }}

@include('PrintHeader.header')

{{ __('lng.BalanceSheet') }}

@php $TotalAssets=0; @endphp @foreach ($Assets as $Asset) @if ($Asset->GroupID == PBConst::ACC_GROUP_SUNDRY_DEBTORS) @else @endif @php $TotalAssets+=$Asset->credited; @endphp @endforeach
{{ __('lng.Assets') }} {{ __('lng.Amount') }}
{{ __('lng.AccountsReceivable') }} @currency($Asset->credited)
{{ App\Models\AccountGroup::find($Asset->GroupID)->title ?? '' }} @currency($Asset->credited)
{{ __('lng.TotalCurrentAssets') }} @currency($TotalAssets)
@php $TotalLiabilities=0; @endphp @foreach ($Liabilities as $Liability) @if ($Liability->GroupID == PBConst::ACC_GROUP_SUNDRY_CREDITORS) @else @endif @php $TotalLiabilities+=$Liability->debited; @endphp @endforeach
{{ __('lng.Liabilities') }} {{ __('lng.Amount') }}
{{ __('lng.AccountsPayable') }} @currency($Liability->debited)
{{ App\Models\AccountGroup::find($Liability->GroupID)->title ?? '' }} @currency($Liability->debited)
{{ __('lng.TotalCurrentLiabilities') }} @currency($TotalLiabilities)
{{ __('lng.Back') }}
@endsection