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