@extends('layouts.app') @section('style') @stop @section('content')
@lang('menu.BalanceSheet')
@permission(['balancesheet-list']) @endpermission @permission('balancesheet-export') @endpermission
{!!company()['name']!!}
@lang('menu.BalanceSheetByPrevYearComparison')
{{$date}}
  • @lang('layout.Account') @lang('layout.Total') @lang('layout.TotalLastYear') @lang('layout.Change') {{getHomeCurrency()['symbol']}} @lang('layout.Change')%
  • @lang('layout.Assets')
    • @lang('layout.CurrentAssets')
      • @lang('layout.OtherCurrentAssets')
          @foreach($otherCurrentAsset as $accountRow) @if($accountRow['Amount'] != 0 || $accountRow['LAmount'] != 0 || !empty($accountRow['children'])) @if(!empty($accountRow['children']) && getShowSubAccount() !="false") @foreach($accountRow['children'] as $key=>$fc) @if($fc['Amount'] != 0 || $fc['LAmount'] != 0 || !empty($fc['children'])) @if(!empty($fc['children'])) @foreach($fc['children'] as $key1=>$sc) @if($sc['Amount'] != 0 || !empty($sc['children'])) @endif @if(!empty($sc['children'])) @foreach($sc['children'] as $key2=>$tc) @if($tc['Amount'] != 0 || $tc['LAmount'] != 0 || !empty($tc['children'])) @endif @endforeach @endif @if(!empty($sc['children'])) @endif @endforeach @endif @if(!empty($fc['children'])) @endif @endif @endforeach @endif @if(!empty($accountRow['children'])) @endif @endif @endforeach
          {{$accountRow['AccountName']}} {{myRound($accountRow['Amount'])}} {{myRound($accountRow['LAmount'])}} {{myRound($accountRow['Amount']- $accountRow['LAmount'])}} {{getHomeCurrency()['symbol']}} @if($accountRow['LAmount'] == 0) 100 @else {{myRound((($accountRow['Amount']-$accountRow['LAmount'])*100)/$accountRow['LAmount'])}} @endif
          {{$key+1}} {{$fc['AccountName']}} {{myRound($fc['Amount']) }} {{myRound($fc['LAmount']) }} {{myRound($fc['Amount']-$fc['LAmount']) }} @if(!empty($fc['children'])) @if($fc['LAmount'] == 0) 100 @else {{myRound((($fc['Amount']-$fc['LAmount'])*100)/$fc['LAmount'])}} @endif @endif
          @if(App::isLocale('fa') || App::isLocale('pa')) {{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}} @endif {{$sc['AccountName']}}
          {{myRound($sc['Amount']) }} {{myRound($sc['LAmount']) }} {{myRound($sc['Amount']-$sc['LAmount']) }} @if($sc['LAmount'] == 0) 100 @else {{myRound((($sc['Amount']-$sc['LAmount'])*100)/$sc['LAmount'])}} @endif
          @if(App::isLocale('fa') || App::isLocale('pa')) {{$key2+1}}-{{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}}-{{$key2+1}} @endif {{$tc['AccountName']}}
          {{myRound($tc['Amount']) }} {{myRound($tc['LAmount']) }} {{myRound($tc['Amount']-$tc['LAmount']) }} @if($tc['LAmount'] == 0) 100 @else {{myRound((($tc['Amount']-$tc['LAmount'])*100)/$tc['LAmount'])}} @endif
          @lang('layout.Total') {{$sc['AccountName']}} @if(!empty($sc['children'])) [{{myRound($sc['total'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['total']-$sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) @if($sc['Ltotal'] == 0) [100] @else [{{myRound((($sc['total']-$sc['Ltotal'])*100)/$sc['Ltotal'])}}] @endif @endif
          @lang('layout.Total') {{$fc['AccountName']}} @if(!empty($fc['children'])) [{{myRound($fc['total'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['total']-$fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) @if($fc['Ltotal'] == 0) [100] @else [{{myRound((($fc['total']-$fc['Ltotal'])*100)/$fc['Ltotal'])}}] @endif @endif
          @lang('layout.Total') {{$accountRow['AccountName']}} @if(!empty($accountRow['children'])) ({{myRound($accountRow['total'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['total']-$accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) @if($accountRow['Ltotal'] == 0) (100) @else ({{myRound((($accountRow['total']-$accountRow['Ltotal'])*100)/$accountRow['Ltotal'])}}) @endif @endif

      • @lang('layout.TotalOtherCurrentAssets') {{myRound($TotalOtherCurrentAsset)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalOtherCurrentAssetLast)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalOtherCurrentAsset - $TotalOtherCurrentAssetLast)}} {{getHomeCurrency()['symbol']}} @if($TotalOtherCurrentAssetLast == 0) 100 % @else {{myRound((($TotalOtherCurrentAsset - $TotalOtherCurrentAssetLast)*100)/$TotalOtherCurrentAssetLast)}} % @endif
      • @lang('layout.Checking/Savings')
          @foreach($banks as $accountRow) @if($accountRow['Amount'] != 0 || $accountRow['LAmount'] != 0 || !empty($accountRow['children'])) @if(!empty($accountRow['children']) && getShowSubAccount() !="false") @foreach($accountRow['children'] as $key=>$fc) @if($fc['Amount'] != 0 || $fc['LAmount'] != 0 || !empty($fc['children'])) @if(!empty($fc['children'])) @foreach($fc['children'] as $key1=>$sc) @if($sc['Amount'] != 0 || !empty($sc['children'])) @endif @if(!empty($sc['children'])) @foreach($sc['children'] as $key2=>$tc) @if($tc['Amount'] != 0 || $tc['LAmount'] != 0 || !empty($tc['children'])) @endif @endforeach @endif @if(!empty($sc['children'])) @endif @endforeach @endif @if(!empty($fc['children'])) @endif @endif @endforeach @endif @if(!empty($accountRow['children'])) @endif @endif @endforeach
          {{$accountRow['AccountName']}} {{myRound($accountRow['Amount'])}} {{myRound($accountRow['LAmount'])}} {{myRound($accountRow['Amount']- $accountRow['LAmount'])}} {{getHomeCurrency()['symbol']}} @if($accountRow['LAmount'] == 0) 100 @else {{myRound((($accountRow['Amount']-$accountRow['LAmount'])*100)/$accountRow['LAmount'])}} @endif
          {{$key+1}} {{$fc['AccountName']}} {{myRound($fc['Amount']) }} {{myRound($fc['LAmount']) }} {{myRound($fc['Amount']-$fc['LAmount']) }} @if(!empty($fc['children'])) @if($fc['LAmount'] == 0) 100 @else {{myRound((($fc['Amount']-$fc['LAmount'])*100)/$fc['LAmount'])}} @endif @endif
          @if(App::isLocale('fa') || App::isLocale('pa')) {{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}} @endif {{$sc['AccountName']}}
          {{myRound($sc['Amount']) }} {{myRound($sc['LAmount']) }} {{myRound($sc['Amount']-$sc['LAmount']) }} @if($sc['LAmount'] == 0) 100 @else {{myRound((($sc['Amount']-$sc['LAmount'])*100)/$sc['LAmount'])}} @endif
          @if(App::isLocale('fa') || App::isLocale('pa')) {{$key2+1}}-{{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}}-{{$key2+1}} @endif {{$tc['AccountName']}}
          {{myRound($tc['Amount']) }} {{myRound($tc['LAmount']) }} {{myRound($tc['Amount']-$tc['LAmount']) }} @if($tc['LAmount'] == 0) 100 @else {{myRound((($tc['Amount']-$tc['LAmount'])*100)/$tc['LAmount'])}} @endif
          @lang('layout.Total') {{$sc['AccountName']}} @if(!empty($sc['children'])) [{{myRound($sc['total'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['total']-$sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) @if($sc['Ltotal'] == 0) [100] @else [{{myRound((($sc['total']-$sc['Ltotal'])*100)/$sc['Ltotal'])}}] @endif @endif
          @lang('layout.Total') {{$fc['AccountName']}} @if(!empty($fc['children'])) [{{myRound($fc['total'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['total']-$fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) @if($fc['Ltotal'] == 0) [100] @else [{{myRound((($fc['total']-$fc['Ltotal'])*100)/$fc['Ltotal'])}}] @endif @endif
          @lang('layout.Total') {{$accountRow['AccountName']}} @if(!empty($accountRow['children'])) ({{myRound($accountRow['total'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['total']-$accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) @if($accountRow['Ltotal'] == 0) (100) @else ({{myRound((($accountRow['total']-$accountRow['Ltotal'])*100)/$accountRow['Ltotal'])}}) @endif @endif

      • @lang('layout.TotalChecking/Savings') {{myRound($TotalBanks)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalBanksLast)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalBanks - $TotalBanksLast)}} {{getHomeCurrency()['symbol']}} @if($TotalBanksLast == 0) 100 % @else {{myRound((($TotalBanks - $TotalBanksLast)*100)/$TotalBanksLast)}} % @endif
      • @lang('layout.AccountsReceivable')
          @foreach($accountReceivable as $accountRow) @if($accountRow['Amount'] != 0 || $accountRow['LAmount'] != 0 || !empty($accountRow['children'])) @if(!empty($accountRow['children']) && getShowSubAccount() !="false") @foreach($accountRow['children'] as $key=>$fc) @if($fc['Amount'] != 0 || $fc['LAmount'] != 0 || !empty($fc['children'])) @if(!empty($fc['children'])) @foreach($fc['children'] as $key1=>$sc) @if($sc['Amount'] != 0 || !empty($sc['children'])) @endif @if(!empty($sc['children'])) @foreach($sc['children'] as $key2=>$tc) @if($tc['Amount'] != 0 || $tc['LAmount'] != 0 || !empty($tc['children'])) @endif @endforeach @endif @if(!empty($sc['children'])) @endif @endforeach @endif @if(!empty($fc['children'])) @endif @endif @endforeach @endif @if(!empty($accountRow['children'])) @endif @endif @endforeach
          {{$accountRow['AccountName']}} {{myRound($accountRow['Amount'])}} {{myRound($accountRow['LAmount'])}} {{myRound($accountRow['Amount']- $accountRow['LAmount'])}} {{getHomeCurrency()['symbol']}} @if($accountRow['LAmount'] == 0) 100 @else {{myRound((($accountRow['Amount']-$accountRow['LAmount'])*100)/$accountRow['LAmount'])}} @endif
          {{$key+1}} {{$fc['AccountName']}} {{myRound($fc['Amount']) }} {{myRound($fc['LAmount']) }} {{myRound($fc['Amount']-$fc['LAmount']) }} @if(!empty($fc['children'])) @if($fc['LAmount'] == 0) 100 @else {{myRound((($fc['Amount']-$fc['LAmount'])*100)/$fc['LAmount'])}} @endif @endif
          @if(App::isLocale('fa') || App::isLocale('pa')) {{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}} @endif {{$sc['AccountName']}}
          {{myRound($sc['Amount']) }} {{myRound($sc['LAmount']) }} {{myRound($sc['Amount']-$sc['LAmount']) }} @if($sc['LAmount'] == 0) 100 @else {{myRound((($sc['Amount']-$sc['LAmount'])*100)/$sc['LAmount'])}} @endif
          @if(App::isLocale('fa') || App::isLocale('pa')) {{$key2+1}}-{{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}}-{{$key2+1}} @endif {{$tc['AccountName']}}
          {{myRound($tc['Amount']) }} {{myRound($tc['LAmount']) }} {{myRound($tc['Amount']-$tc['LAmount']) }} @if($tc['LAmount'] == 0) 100 @else {{myRound((($tc['Amount']-$tc['LAmount'])*100)/$tc['LAmount'])}} @endif
          @lang('layout.Total') {{$sc['AccountName']}} @if(!empty($sc['children'])) [{{myRound($sc['total'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['total']-$sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) @if($sc['Ltotal'] == 0) [100] @else [{{myRound((($sc['total']-$sc['Ltotal'])*100)/$sc['Ltotal'])}}] @endif @endif
          @lang('layout.Total') {{$fc['AccountName']}} @if(!empty($fc['children'])) [{{myRound($fc['total'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['total']-$fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) @if($fc['Ltotal'] == 0) [100] @else [{{myRound((($fc['total']-$fc['Ltotal'])*100)/$fc['Ltotal'])}}] @endif @endif
          @lang('layout.Total') {{$accountRow['AccountName']}} @if(!empty($accountRow['children'])) ({{myRound($accountRow['total'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['total']-$accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) @if($accountRow['Ltotal'] == 0) (100) @else ({{myRound((($accountRow['total']-$accountRow['Ltotal'])*100)/$accountRow['Ltotal'])}}) @endif @endif

      • @lang('layout.TotalAccountsReceivable') {{myRound($TotalaccountReceivable)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalaccountReceivableLast)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalaccountReceivable - $TotalaccountReceivableLast)}} {{getHomeCurrency()['symbol']}} @if($TotalaccountReceivableLast == 0) 100 % @else {{myRound((($TotalaccountReceivable - $TotalaccountReceivableLast)*100)/$TotalaccountReceivableLast)}} % @endif

    • @lang('layout.TotalCurrentAssets') {{myRound($TotalCurrentAsset)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalCurrentAssetLast)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalCurrentAsset - $TotalCurrentAssetLast)}} {{getHomeCurrency()['symbol']}} @if($TotalCurrentAssetLast == 0) 100 % @else {{myRound((($TotalCurrentAsset - $TotalCurrentAssetLast)*100)/$TotalCurrentAssetLast)}} % @endif
    • @lang('layout.FixAsset')
        @foreach($fixedAssets as $accountRow) @if($accountRow['Amount'] != 0 || $accountRow['LAmount'] != 0 || !empty($accountRow['children'])) @if(!empty($accountRow['children']) && getShowSubAccount() !="false") @foreach($accountRow['children'] as $key=>$fc) @if($fc['Amount'] != 0 || $fc['LAmount'] != 0 || !empty($fc['children'])) @if(!empty($fc['children'])) @foreach($fc['children'] as $key1=>$sc) @if($sc['Amount'] != 0 || !empty($sc['children'])) @endif @if(!empty($sc['children'])) @foreach($sc['children'] as $key2=>$tc) @if($tc['Amount'] != 0 || $tc['LAmount'] != 0 || !empty($tc['children'])) @endif @endforeach @endif @if(!empty($sc['children'])) @endif @endforeach @endif @if(!empty($fc['children'])) @endif @endif @endforeach @endif @if(!empty($accountRow['children'])) @endif @endif @endforeach
        {{$accountRow['AccountName']}} {{myRound($accountRow['Amount'])}} {{myRound($accountRow['LAmount'])}} {{myRound($accountRow['Amount']- $accountRow['LAmount'])}} {{getHomeCurrency()['symbol']}} @if($accountRow['LAmount'] == 0) 100 @else {{myRound((($accountRow['Amount']-$accountRow['LAmount'])*100)/$accountRow['LAmount'])}} @endif
        {{$key+1}} {{$fc['AccountName']}} {{myRound($fc['Amount']) }} {{myRound($fc['LAmount']) }} {{myRound($fc['Amount']-$fc['LAmount']) }} @if(!empty($fc['children'])) @if($fc['LAmount'] == 0) 100 @else {{myRound((($fc['Amount']-$fc['LAmount'])*100)/$fc['LAmount'])}} @endif @endif
        @if(App::isLocale('fa') || App::isLocale('pa')) {{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}} @endif {{$sc['AccountName']}}
        {{myRound($sc['Amount']) }} {{myRound($sc['LAmount']) }} {{myRound($sc['Amount']-$sc['LAmount']) }} @if($sc['LAmount'] == 0) 100 @else {{myRound((($sc['Amount']-$sc['LAmount'])*100)/$sc['LAmount'])}} @endif
        @if(App::isLocale('fa') || App::isLocale('pa')) {{$key2+1}}-{{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}}-{{$key2+1}} @endif {{$tc['AccountName']}}
        {{myRound($tc['Amount']) }} {{myRound($tc['LAmount']) }} {{myRound($tc['Amount']-$tc['LAmount']) }} @if($tc['LAmount'] == 0) 100 @else {{myRound((($tc['Amount']-$tc['LAmount'])*100)/$tc['LAmount'])}} @endif
        @lang('layout.Total') {{$sc['AccountName']}} @if(!empty($sc['children'])) [{{myRound($sc['total'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['total']-$sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) @if($sc['Ltotal'] == 0) [100] @else [{{myRound((($sc['total']-$sc['Ltotal'])*100)/$sc['Ltotal'])}}] @endif @endif
        @lang('layout.Total') {{$fc['AccountName']}} @if(!empty($fc['children'])) [{{myRound($fc['total'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['total']-$fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) @if($fc['Ltotal'] == 0) [100] @else [{{myRound((($fc['total']-$fc['Ltotal'])*100)/$fc['Ltotal'])}}] @endif @endif
        @lang('layout.Total') {{$accountRow['AccountName']}} @if(!empty($accountRow['children'])) ({{myRound($accountRow['total'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['total']-$accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) @if($accountRow['Ltotal'] == 0) (100) @else ({{myRound((($accountRow['total']-$accountRow['Ltotal'])*100)/$accountRow['Ltotal'])}}) @endif @endif

    • @lang('layout.TotalFixedAssets') {{myRound($TotalfixedAssets)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalfixedAssetsLast)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalfixedAssets - $TotalfixedAssetsLast)}} {{getHomeCurrency()['symbol']}} @if($TotalfixedAssetsLast == 0) 100 % @else {{myRound((($TotalfixedAssets - $TotalfixedAssetsLast)*100)/$TotalfixedAssetsLast)}} % @endif
    • @lang('layout.OtherAssets')
        @foreach($otherAssets as $accountRow) @if($accountRow['Amount'] != 0 || $accountRow['LAmount'] != 0 || !empty($accountRow['children'])) @if(!empty($accountRow['children']) && getShowSubAccount() !="false") @foreach($accountRow['children'] as $key=>$fc) @if($fc['Amount'] != 0 || $fc['LAmount'] != 0 || !empty($fc['children'])) @if(!empty($fc['children'])) @foreach($fc['children'] as $key1=>$sc) @if($sc['Amount'] != 0 || !empty($sc['children'])) @endif @if(!empty($sc['children'])) @foreach($sc['children'] as $key2=>$tc) @if($tc['Amount'] != 0 || $tc['LAmount'] != 0 || !empty($tc['children'])) @endif @endforeach @endif @if(!empty($sc['children'])) @endif @endforeach @endif @if(!empty($fc['children'])) @endif @endif @endforeach @endif @if(!empty($accountRow['children'])) @endif @endif @endforeach
        {{$accountRow['AccountName']}} {{myRound($accountRow['Amount'])}} {{myRound($accountRow['LAmount'])}} {{myRound($accountRow['Amount']- $accountRow['LAmount'])}} {{getHomeCurrency()['symbol']}} @if($accountRow['LAmount'] == 0) 100 @else {{myRound((($accountRow['Amount']-$accountRow['LAmount'])*100)/$accountRow['LAmount'])}} @endif
        {{$key+1}} {{$fc['AccountName']}} {{myRound($fc['Amount']) }} {{myRound($fc['LAmount']) }} {{myRound($fc['Amount']-$fc['LAmount']) }} @if(!empty($fc['children'])) @if($fc['LAmount'] == 0) 100 @else {{myRound((($fc['Amount']-$fc['LAmount'])*100)/$fc['LAmount'])}} @endif @endif
        @if(App::isLocale('fa') || App::isLocale('pa')) {{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}} @endif {{$sc['AccountName']}}
        {{myRound($sc['Amount']) }} {{myRound($sc['LAmount']) }} {{myRound($sc['Amount']-$sc['LAmount']) }} @if($sc['LAmount'] == 0) 100 @else {{myRound((($sc['Amount']-$sc['LAmount'])*100)/$sc['LAmount'])}} @endif
        @if(App::isLocale('fa') || App::isLocale('pa')) {{$key2+1}}-{{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}}-{{$key2+1}} @endif {{$tc['AccountName']}}
        {{myRound($tc['Amount']) }} {{myRound($tc['LAmount']) }} {{myRound($tc['Amount']-$tc['LAmount']) }} @if($tc['LAmount'] == 0) 100 @else {{myRound((($tc['Amount']-$tc['LAmount'])*100)/$tc['LAmount'])}} @endif
        @lang('layout.Total') {{$sc['AccountName']}} @if(!empty($sc['children'])) [{{myRound($sc['total'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['total']-$sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) @if($sc['Ltotal'] == 0) [100] @else [{{myRound((($sc['total']-$sc['Ltotal'])*100)/$sc['Ltotal'])}}] @endif @endif
        @lang('layout.Total') {{$fc['AccountName']}} @if(!empty($fc['children'])) [{{myRound($fc['total'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['total']-$fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) @if($fc['Ltotal'] == 0) [100] @else [{{myRound((($fc['total']-$fc['Ltotal'])*100)/$fc['Ltotal'])}}] @endif @endif
        @lang('layout.Total') {{$accountRow['AccountName']}} @if(!empty($accountRow['children'])) ({{myRound($accountRow['total'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['total']-$accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) @if($accountRow['Ltotal'] == 0) (100) @else ({{myRound((($accountRow['total']-$accountRow['Ltotal'])*100)/$accountRow['Ltotal'])}}) @endif @endif

    • @lang('layout.TotalOtherAssets') {{myRound($TotalotherAssets)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalotherAssetsLast)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalotherAssets - $TotalotherAssetsLast)}} {{getHomeCurrency()['symbol']}} @if($TotalotherAssetsLast == 0) 100 % @else {{myRound((($TotalotherAssets - $TotalotherAssetsLast)*100)/$TotalotherAssetsLast)}} % @endif

  • @lang('layout.TotalAssets') {{myRound($totalAsset)}} {{getHomeCurrency()['symbol']}} {{myRound($totalAssetLast)}} {{getHomeCurrency()['symbol']}} {{myRound($totalAsset - $totalAssetLast)}} {{getHomeCurrency()['symbol']}} @if($totalAssetLast == 0) 100 % @else {{myRound((($totalAsset - $totalAssetLast)*100)/$totalAssetLast)}} % @endif
  • @lang('layout.LiabilitiesAndEquity')
    • @lang('layout.Liabilities')
        @foreach($liability as $accountRow) @if($accountRow['Amount'] != 0 || $accountRow['LAmount'] != 0 || !empty($accountRow['children'])) @if(!empty($accountRow['children']) && getShowSubAccount() !="false") @foreach($accountRow['children'] as $key=>$fc) @if($fc['Amount'] != 0 || $fc['LAmount'] != 0 || !empty($fc['children'])) @if(!empty($fc['children'])) @foreach($fc['children'] as $key1=>$sc) @if($sc['Amount'] != 0 || !empty($sc['children'])) @endif @if(!empty($sc['children'])) @foreach($sc['children'] as $key2=>$tc) @if($tc['Amount'] != 0 || $tc['LAmount'] != 0 || !empty($tc['children'])) @endif @endforeach @endif @if(!empty($sc['children'])) @endif @endforeach @endif @if(!empty($fc['children'])) @endif @endif @endforeach @endif @if(!empty($accountRow['children'])) @endif @endif @endforeach
        {{$accountRow['AccountName']}} {{myRound($accountRow['Amount'])}} {{myRound($accountRow['LAmount'])}} {{myRound($accountRow['Amount']- $accountRow['LAmount'])}} {{getHomeCurrency()['symbol']}} @if($accountRow['LAmount'] == 0) 100 @else {{myRound((($accountRow['Amount']-$accountRow['LAmount'])*100)/$accountRow['LAmount'])}} @endif
        {{$key+1}} {{$fc['AccountName']}} {{myRound($fc['Amount']) }} {{myRound($fc['LAmount']) }} {{myRound($fc['Amount']-$fc['LAmount']) }} @if(!empty($fc['children'])) @if($fc['LAmount'] == 0) 100 @else {{myRound((($fc['Amount']-$fc['LAmount'])*100)/$fc['LAmount'])}} @endif @endif
        @if(App::isLocale('fa') || App::isLocale('pa')) {{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}} @endif {{$sc['AccountName']}}
        {{myRound($sc['Amount']) }} {{myRound($sc['LAmount']) }} {{myRound($sc['Amount']-$sc['LAmount']) }} @if($sc['LAmount'] == 0) 100 @else {{myRound((($sc['Amount']-$sc['LAmount'])*100)/$sc['LAmount'])}} @endif
        @if(App::isLocale('fa') || App::isLocale('pa')) {{$key2+1}}-{{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}}-{{$key2+1}} @endif {{$tc['AccountName']}}
        {{myRound($tc['Amount']) }} {{myRound($tc['LAmount']) }} {{myRound($tc['Amount']-$tc['LAmount']) }} @if($tc['LAmount'] == 0) 100 @else {{myRound((($tc['Amount']-$tc['LAmount'])*100)/$tc['LAmount'])}} @endif
        @lang('layout.Total') {{$sc['AccountName']}} @if(!empty($sc['children'])) [{{myRound($sc['total'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['total']-$sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) @if($sc['Ltotal'] == 0) [100] @else [{{myRound((($sc['total']-$sc['Ltotal'])*100)/$sc['Ltotal'])}}] @endif @endif
        @lang('layout.Total') {{$fc['AccountName']}} @if(!empty($fc['children'])) [{{myRound($fc['total'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['total']-$fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) @if($fc['Ltotal'] == 0) [100] @else [{{myRound((($fc['total']-$fc['Ltotal'])*100)/$fc['Ltotal'])}}] @endif @endif
        @lang('layout.Total') {{$accountRow['AccountName']}} @if(!empty($accountRow['children'])) ({{myRound($accountRow['total'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['total']-$accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) @if($accountRow['Ltotal'] == 0) (100) @else ({{myRound((($accountRow['total']-$accountRow['Ltotal'])*100)/$accountRow['Ltotal'])}}) @endif @endif

    • @lang('layout.TotalLiabilities') {{myRound($TotalLiability)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalLiabilityLast)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalLiability - $TotalLiabilityLast)}} {{getHomeCurrency()['symbol']}} @if($TotalLiabilityLast == 0) 100 % @else {{myRound((($TotalLiability - $TotalLiabilityLast)*100)/$TotalLiabilityLast)}} % @endif
    • @lang('layout.Equity')
        @foreach($equity as $accountRow) @if($accountRow['Amount'] != 0 || $accountRow['LAmount'] != 0 || !empty($accountRow['children'])) @if(!empty($accountRow['children']) && getShowSubAccount() !="false") @foreach($accountRow['children'] as $key=>$fc) @if($fc['Amount'] != 0 || $fc['LAmount'] != 0 || !empty($fc['children'])) @if(!empty($fc['children'])) @foreach($fc['children'] as $key1=>$sc) @if($sc['Amount'] != 0 || !empty($sc['children'])) @endif @if(!empty($sc['children'])) @foreach($sc['children'] as $key2=>$tc) @if($tc['Amount'] != 0 || $tc['LAmount'] != 0 || !empty($tc['children'])) @endif @endforeach @endif @if(!empty($sc['children'])) @endif @endforeach @endif @if(!empty($fc['children'])) @endif @endif @endforeach @endif @if(!empty($accountRow['children'])) @endif @endif @endforeach
        {{$accountRow['AccountName']}} {{myRound($accountRow['Amount'])}} {{myRound($accountRow['LAmount'])}} {{myRound($accountRow['Amount']- $accountRow['LAmount'])}} {{getHomeCurrency()['symbol']}} @if($accountRow['LAmount'] == 0) 100 @else {{myRound((($accountRow['Amount']-$accountRow['LAmount'])*100)/$accountRow['LAmount'])}} @endif
        {{$key+1}} {{$fc['AccountName']}} {{myRound($fc['Amount']) }} {{myRound($fc['LAmount']) }} {{myRound($fc['Amount']-$fc['LAmount']) }} @if(!empty($fc['children'])) @if($fc['LAmount'] == 0) 100 @else {{myRound((($fc['Amount']-$fc['LAmount'])*100)/$fc['LAmount'])}} @endif @endif
        @if(App::isLocale('fa') || App::isLocale('pa')) {{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}} @endif {{$sc['AccountName']}}
        {{myRound($sc['Amount']) }} {{myRound($sc['LAmount']) }} {{myRound($sc['Amount']-$sc['LAmount']) }} @if($sc['LAmount'] == 0) 100 @else {{myRound((($sc['Amount']-$sc['LAmount'])*100)/$sc['LAmount'])}} @endif
        @if(App::isLocale('fa') || App::isLocale('pa')) {{$key2+1}}-{{$key1+1}}-{{$key+1}} @endif @if(App::isLocale('en')) {{$key+1}}-{{$key1+1}}-{{$key2+1}} @endif {{$tc['AccountName']}}
        {{myRound($tc['Amount']) }} {{myRound($tc['LAmount']) }} {{myRound($tc['Amount']-$tc['LAmount']) }} @if($tc['LAmount'] == 0) 100 @else {{myRound((($tc['Amount']-$tc['LAmount'])*100)/$tc['LAmount'])}} @endif
        @lang('layout.Total') {{$sc['AccountName']}} @if(!empty($sc['children'])) [{{myRound($sc['total'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) [{{myRound($sc['total']-$sc['Ltotal'])}}] @endif @if(!empty($sc['children'])) @if($sc['Ltotal'] == 0) [100] @else [{{myRound((($sc['total']-$sc['Ltotal'])*100)/$sc['Ltotal'])}}] @endif @endif
        @lang('layout.Total') {{$fc['AccountName']}} @if(!empty($fc['children'])) [{{myRound($fc['total'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) [{{myRound($fc['total']-$fc['Ltotal'])}}] @endif @if(!empty($fc['children'])) @if($fc['Ltotal'] == 0) [100] @else [{{myRound((($fc['total']-$fc['Ltotal'])*100)/$fc['Ltotal'])}}] @endif @endif
        @lang('layout.Total') {{$accountRow['AccountName']}} @if(!empty($accountRow['children'])) ({{myRound($accountRow['total'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) ({{myRound($accountRow['total']-$accountRow['Ltotal'])}}) @endif @if(!empty($accountRow['children'])) @if($accountRow['Ltotal'] == 0) (100) @else ({{myRound((($accountRow['total']-$accountRow['Ltotal'])*100)/$accountRow['Ltotal'])}}) @endif @endif
        @lang('layout.NetProfit/NetIncome') {{myRound($netProfit)}} {{getHomeCurrency()['symbol']}} {{myRound($netProfitLast)}} {{getHomeCurrency()['symbol']}} {{myRound($netProfit - $netProfitLast)}} {{getHomeCurrency()['symbol']}} @if($netProfitLast == 0) 100 % @else {{myRound((($netProfit - $netProfitLast)*100)/$netProfitLast)}} % @endif

    • @lang('layout.TotalEquity') {{myRound($TotalEquities)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalEquitiesLast)}} {{getHomeCurrency()['symbol']}} {{myRound($TotalEquities - $TotalEquitiesLast)}} {{getHomeCurrency()['symbol']}} @if($TotalEquitiesLast == 0) 100 % @else {{myRound((($TotalEquities - $TotalEquitiesLast)*100)/$TotalEquitiesLast)}} % @endif
  • @lang('layout.TotalLibilities&Equity') {{myRound($totalLiabilityAndEquity)}} {{getHomeCurrency()['symbol']}} {{myRound($totalLiabilityAndEquityLast)}} {{getHomeCurrency()['symbol']}} {{myRound($totalLiabilityAndEquity - $totalLiabilityAndEquityLast)}} {{getHomeCurrency()['symbol']}} @if($totalLiabilityAndEquityLast == 0) 100 % @else {{myRound((($totalLiabilityAndEquity - $totalLiabilityAndEquityLast)*100)/$totalLiabilityAndEquityLast)}} % @endif
@endsection @include('groupCompanyFilter.select') @include('print.modal') @push('scripts') @endpush