@extends('layouts.app') @section('style') @stop @section('content')
@lang('menu.IncomeStatement')    (   {{getHomeCurrency()['name']}})
@permission(['financialReport-list']) @endpermission @permission('financialReport-export') @endpermission
@if(getFinancialClass() =='true') @permission('financialClass-list')
@endpermission @endif
{{-- --}} @foreach($income as $incomeAccount) @if($incomeAccount['Amount'] != 0 || !empty($incomeAccount['children'])) @endif @if(!empty($incomeAccount['children']) && getShowSubAccount() !="false") @foreach($incomeAccount['children'] as $key=>$fc) @if($fc['Amount'] != 0 || !empty($fc['children'])) @endif @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 || !empty($tc['children'])) @endif @endforeach @endif @endforeach @endif @endforeach @endif @endforeach @foreach($costOfGoodSold as $incomeAccount) @if($incomeAccount['Amount'] != 0 || !empty($incomeAccount['children'])) {{-- --}} @endif @if(!empty($incomeAccount['children']) && getShowSubAccount() !="false") @foreach($incomeAccount['children'] as $key=>$fc) @if($fc['Amount'] != 0 || !empty($fc['children'])) {{-- --}} @endif @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 || !empty($tc['children'])) @endif @endforeach @endif @endforeach @endif @endforeach @endif @endforeach {{-- --}} @foreach($expense as $expenseRo) @if($expenseRo['Amount'] != 0 || !empty($expenseRo['children'])) {{-- --}} @endif @if(!empty($expenseRo['children']) && getShowSubAccount() !="false") @foreach($expenseRo['children'] as $key=>$fc) @if($fc['Amount'] != 0 || !empty($fc['children'])) {{-- --}} @endif @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 || !empty($tc['children'])) @endif @endforeach @endif @endforeach @endif @endforeach @endif @endforeach @foreach($otherExpense as $incomeAccount) @if($incomeAccount['Amount'] != 0 || !empty($incomeAccount['children'])) {{-- --}} @endif @if(!empty($incomeAccount['children']) && getShowSubAccount() !="false") @foreach($incomeAccount['children'] as $key=>$fc) @if($fc['Amount'] != 0 || !empty($fc['children'])) {{-- --}} @endif @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 || !empty($tc['children'])) @endif @endforeach @endif @endforeach @endif @endforeach @endif @endforeach {{-- --}} @foreach($otherIncome as $incomeAccount) @if($incomeAccount['Amount'] != 0 || !empty($incomeAccount['children'])) {{-- --}} @endif @if(!empty($incomeAccount['children']) && getShowSubAccount() !="false") @foreach($incomeAccount['children'] as $key=>$fc) @if($fc['Amount'] != 0 || !empty($fc['children'])) {{-- --}} @endif @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 || !empty($tc['children'])) @endif @endforeach @endif @endforeach @endif @endforeach @endif @endforeach @if(systemConfig()[29] == 1) @endif
@lang('layout.Category') @lang('layout.AccountName')@lang('layout.AccountType')@lang('layout.Amount')
@lang('layout.Income')
{{$incomeAccount['AccountName']}} {{myRound($incomeAccount['Amount']) }} @if(!empty($incomeAccount['children']))
@lang('layout.Total') {{$incomeAccount['AccountName']}} :{{myRound($incomeAccount['total'])}} @endif
      {{$key+1}} {{$fc['AccountName']}} {{myRound($fc['Amount']) }} @if(!empty($fc['children']))
@lang('layout.Total') {{$fc['AccountName']}} :{{myRound($fc['total'])}} @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']) }} @if(!empty($sc['children']))
@lang('layout.Total') {{$sc['AccountName']}} :{{myRound($sc['total'])}} @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']) }} @if(!empty($tc['children']))
@lang('layout.Total') {{$tc['AccountName']}} :{{myRound($tc['total'])}} @endif
@lang('layout.TotalIncome') : {{myRound($totalIncome)}}
{{$incomeAccount['AccountName']}} {{myRound($incomeAccount['Amount']) }} @if(!empty($incomeAccount['children']))
@lang('layout.Total') {{$incomeAccount['AccountName']}} :{{myRound($incomeAccount['total'])}} @endif
      {{$key+1}} {{$fc['AccountName']}} {{myRound($fc['Amount']) }} @if(!empty($fc['children']))
@lang('layout.Total') {{$fc['AccountName']}} :{{myRound($fc['total'])}} @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']) }} @if(!empty($sc['children']))
@lang('layout.Total') {{$sc['AccountName']}} :{{myRound($sc['total'])}} @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']) }} @if(!empty($tc['children']))
@lang('layout.Total') {{$tc['AccountName']}} :{{myRound($tc['total'])}} @endif
@lang('layout.TotalCostOfGoodSold'): {{currency()->format($totalCostOfGoodSold,getRelatedCurrencyCode())}}
@lang('layout.GrossProfit'): {{-- {{$totalAsset}} --}} {{myRound($grossProfit)}}
@lang('layout.Category') @lang('layout.AccountName')@lang('layout.AccountType')@lang('layout.Amount')
@lang('layout.AllExpenseAccounts')
{{$expenseRo['AccountName']}} {{myRound($expenseRo['Amount']) }} @if(!empty($expenseRo['children']))
@lang('layout.Total') {{$expenseRo['AccountName']}} :{{myRound($expenseRo['total'])}} @endif
      {{$key+1}} {{$fc['AccountName']}} {{myRound($fc['Amount']) }} @if(!empty($fc['children']))
@lang('layout.Total') {{$fc['AccountName']}} :{{myRound($fc['total'])}} @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']) }} @if(!empty($sc['children']))
@lang('layout.Total') {{$sc['AccountName']}} :{{myRound($sc['total'])}} @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']) }} @if(!empty($tc['children']))
@lang('layout.Total') {{$tc['AccountName']}} :{{myRound($tc['total'])}} @endif
@lang('layout.TotalOtherExpenses'): {{-- {{$TotalLiability}} --}} {{myRound($totalExpense)}}
@lang('layout.AllOtherExpenseAccounts'):
{{$incomeAccount['AccountName']}} {{myRound($incomeAccount['Amount']) }} @if(!empty($incomeAccount['children']))
@lang('layout.Total') {{$incomeAccount['AccountName']}} :{{myRound($incomeAccount['total'])}} @endif
      {{$key+1}} {{$fc['AccountName']}} {{myRound($fc['Amount']) }} @if(!empty($fc['children']))
@lang('layout.Total') {{$fc['AccountName']}} :{{myRound($fc['total'])}} @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']) }} @if(!empty($sc['children']))
@lang('layout.Total') {{$sc['AccountName']}} :{{myRound($sc['total'])}} @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']) }} @if(!empty($tc['children']))
@lang('layout.Total') {{$tc['AccountName']}} :{{myRound($tc['total'])}} @endif
@lang('layout.TotalOtherExpenses'): {{-- {{$TotalEquities}} --}} {{myRound($totalOtherExpense)}}
@lang('layout.Category') @lang('layout.AccountName')@lang('layout.AccountType')@lang('layout.Amount')
@lang('layout.AllOtherIncomeAccounts'):
{{$incomeAccount['AccountName']}} {{myRound($incomeAccount['Amount']) }} @if(!empty($incomeAccount['children']))
@lang('layout.Total') {{$incomeAccount['AccountName']}} :{{myRound($incomeAccount['total'])}} @endif
      {{$key+1}} {{$fc['AccountName']}} {{myRound($fc['Amount']) }} @if(!empty($fc['children']))
@lang('layout.Total') {{$fc['AccountName']}} :{{myRound($fc['total'])}} @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']) }} @if(!empty($sc['children']))
@lang('layout.Total') {{$sc['AccountName']}} :{{myRound($sc['total'])}} @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']) }} @if(!empty($tc['children']))
@lang('layout.Total') {{$tc['AccountName']}} :{{myRound($tc['total'])}} @endif
@lang('layout.TotalOtherIncome'): {{-- {{$TotalLiability}} --}} {{myRound($totalOtherIncome)}}
@lang('layout.ChangeRateProfit'): {{myRound($TodayNetProfit)}}
@lang('layout.NetProfit'): {{-- {{$TotalLiability}} --}} {{myRound($netProfit)}}
@endsection @include('print.modal') @include('groupCompanyFilter.select') @push('scripts') @endpush