@extends('layouts.app') @section('style') @stop @section('content') @include('reports.modal')

Warning: Undefined variable $from_date in E:\Ampps\www\CAS\resources\views\financial\fiscal_year_date_profit.blade.php on line 137

Warning: Undefined variable $to_date in E:\Ampps\www\CAS\resources\views\financial\fiscal_year_date_profit.blade.php on line 138

Warning: Undefined variable $from_date1 in E:\Ampps\www\CAS\resources\views\financial\fiscal_year_date_profit.blade.php on line 139

Warning: Undefined variable $to_date1 in E:\Ampps\www\CAS\resources\views\financial\fiscal_year_date_profit.blade.php on line 140
{!!company()['name']!!}
@lang('menu.ProfitAndLossYTDComparison')
@lang('layout.AccountName') {{$from_date}} -- {{$to_date}} {{$from_date1}} -- {{$to_date1}} @lang('layout.Change') {{getHomeCurrency()['symbol']}} @lang('layout.Change')%
@lang('layout.Note')
@lang('layout.MainAccount') 500
@lang('layout.FirstSubAccount') (200)
@lang('layout.SecondSubAccount') [300]
@lang('layout.Income') {{currency()->format($totalIncome,getRelatedCurrencyCode())}} {{currency()->format($last_totalIncome,getRelatedCurrencyCode())}} {{currency()->format($totalIncome-$last_totalIncome,getRelatedCurrencyCode())}} @if($last_totalIncome == 0) 100 @else {{myRound((($totalIncome-$last_totalIncome)*100)/$last_totalIncome)}} @endif
@foreach($income 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']) }} @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.TotalIncome') {{currency()->format($totalIncome,getRelatedCurrencyCode())}} {{currency()->format($last_totalIncome,getRelatedCurrencyCode())}} {{currency()->format($totalIncome-$last_totalIncome,getRelatedCurrencyCode())}} @if($last_totalIncome == 0) 100 @else {{myRound((($totalIncome-$last_totalIncome)*100)/$last_totalIncome)}} @endif
@lang('layout.CostOfGoodSold') {{currency()->format($totalCostOfGoodSold,getRelatedCurrencyCode())}} {{currency()->format($last_totalCostOfGoodSold,getRelatedCurrencyCode())}} {{currency()->format($totalCostOfGoodSold-$last_totalCostOfGoodSold,getRelatedCurrencyCode())}} @if($last_totalCostOfGoodSold == 0) 100 @else {{myRound((($totalCostOfGoodSold-$last_totalCostOfGoodSold)*100)/$last_totalCostOfGoodSold)}} @endif
@foreach($costOfGoodSold 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']) }} @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.TotalCostOfGoodSold') {{currency()->format($totalCostOfGoodSold,getRelatedCurrencyCode())}} {{currency()->format($last_totalCostOfGoodSold,getRelatedCurrencyCode())}} {{currency()->format($totalCostOfGoodSold-$last_totalCostOfGoodSold,getRelatedCurrencyCode())}} @if($last_totalCostOfGoodSold == 0) 100 @else {{myRound((($totalCostOfGoodSold-$last_totalCostOfGoodSold)*100)/$last_totalCostOfGoodSold)}} @endif

@lang('layout.GrossProfit')

{{currency()->format($grossProfit,getRelatedCurrencyCode())}} {{currency()->format($last_grossProfit,getRelatedCurrencyCode())}} {{currency()->format($grossProfit-$last_grossProfit,getRelatedCurrencyCode())}} @if($last_grossProfit == 0) 100 @else {{myRound((($grossProfit-$last_grossProfit)*100)/$last_grossProfit)}} @endif
@lang('layout.Expense') {{currency()->format($totalExpense,getRelatedCurrencyCode())}} {{currency()->format($last_totalExpense,getRelatedCurrencyCode())}} {{currency()->format($totalExpense-$last_totalExpense,getRelatedCurrencyCode())}} @if($last_totalExpense == 0) 100 @else {{myRound((($totalExpense-$last_totalExpense)*100)/$last_totalExpense)}} @endif
@foreach($expense 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']) }} @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.TotalExpenses') {{currency()->format($totalExpense,getRelatedCurrencyCode())}} {{currency()->format($last_totalExpense,getRelatedCurrencyCode())}} {{currency()->format($totalExpense-$last_totalExpense,getRelatedCurrencyCode())}} @if($last_totalExpense == 0) 100 @else {{myRound((($totalExpense-$last_totalExpense)*100)/$last_totalExpense)}} @endif

@lang('layout.NetOrdinaryIncome')

{{currency()->format($netOrdeinaryIncome,getRelatedCurrencyCode())}} {{currency()->format($last_netOrdeinaryIncome,getRelatedCurrencyCode())}} {{currency()->format($netOrdeinaryIncome-$last_netOrdeinaryIncome,getRelatedCurrencyCode())}} @if($last_netOrdeinaryIncome == 0) 100 @else {{myRound((($netOrdeinaryIncome-$last_netOrdeinaryIncome)*100)/$last_netOrdeinaryIncome)}} @endif
@lang('layout.OtherExpense') {{currency()->format($totalOtherExpense,getRelatedCurrencyCode())}} {{currency()->format($last_totalOtherExpense,getRelatedCurrencyCode())}} {{currency()->format($totalOtherExpense-$last_totalOtherExpense,getRelatedCurrencyCode())}} @if($last_totalOtherExpense == 0) 100 @else {{myRound((($totalOtherExpense-$last_totalOtherExpense)*100)/$last_totalOtherExpense)}} @endif
@foreach($otherExpense 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']) }} @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.TotalOtherExpenses') {{currency()->format($totalOtherExpense,getRelatedCurrencyCode())}} {{currency()->format($last_totalOtherExpense,getRelatedCurrencyCode())}} {{currency()->format($totalOtherExpense-$last_totalOtherExpense,getRelatedCurrencyCode())}} @if($last_totalOtherExpense == 0) 100 @else {{myRound((($totalOtherExpense-$last_totalOtherExpense)*100)/$last_totalOtherExpense)}} @endif
@lang('layout.OtherIncome') {{currency()->format($totalOtherIncome,getRelatedCurrencyCode())}} {{currency()->format($last_totalOtherIncome,getRelatedCurrencyCode())}} {{currency()->format($totalOtherIncome-$last_totalOtherIncome,getRelatedCurrencyCode())}} @if($last_totalOtherIncome == 0) 100 @else {{myRound((($totalOtherIncome-$last_totalOtherIncome)*100)/$last_totalOtherIncome)}} @endif
@foreach($otherIncome 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']) }} @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.TotalOtherIncome') {{currency()->format($totalOtherIncome,getRelatedCurrencyCode())}} {{currency()->format($last_totalOtherIncome,getRelatedCurrencyCode())}} {{currency()->format($totalOtherIncome-$last_totalOtherIncome,getRelatedCurrencyCode())}} @if($last_totalOtherIncome == 0) 100 @else {{myRound((($totalOtherIncome-$last_totalOtherIncome)*100)/$last_totalOtherIncome)}} @endif

@lang('layout.NetIncome')

{{currency()->format($netProfit,getRelatedCurrencyCode())}} {{currency()->format($last_netProfit,getRelatedCurrencyCode())}} {{currency()->format($netProfit-$last_netProfit,getRelatedCurrencyCode())}} @if($last_netProfit == 0) 100 @else {{myRound((($netProfit-$last_netProfit)*100)/$last_netProfit)}} @endif
@stop @include('groupCompanyFilter.select') @push('scripts') @endpush