@extends('layouts.adminapp') @section('content')
@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)
@endsection