@use('App\Services\Date') @extends('reports::layouts.master_pdf') @php $subdomain = request()->route()->parameter('subdomain'); $is_student = app(\Hyn\Tenancy\Repositories\HostnameRepository::class)->findByHostname($subdomain)->website->company->is_student; @endphp @section('koolreport')
@if($is_student) @include('draft_report') @endif
@isset($data['account'],$data['year'],$data['year'])

@lang('reports::reports.Account Summary') - {{ $data['account']->code }} - {{ $data['account']->name }}

{{ $data['companyName'] }}

@lang('from') {{ Date::format($data['year']->year.'-'. $data['year']->month.'-'. $data['year']->day, 'date') }} @lang('to') {{ Date::format($data['year']->closing_date, 'date') }}

@endisset
@if(request()->all())
@foreach ($data['dataSource'] as $month) @endforeach
@lang('reports::reports.account_summary.month') @lang('reports::reports.account_summary.actual_update')
{{$month['month']}} @if($month['actual update']<0) ({{ number_format( (abs($month['actual update'])),2) }} ) @else {{ number_format($month['actual update'],2) }} @endif
@endif
@endsection