@extends('AdminPanel.layouts.master') @section('content')

{{__('common.expensesRevenueChart')}}
{{__('common.month')}}: {{$month}} {{__('common.year')}}: {{$year}}

{{__('common.totalOutcome')}}

{{__('common.L.E')}} {{round(expensesTotals($branch, $month, $year)['total'])}}

{{__('common.totalIncome')}}

{{__('common.L.E')}} {{round(revenuesTotals($branch, $month, $year)['total'])}}

{{__('common.net')}}

{{__('common.L.E')}} {{round(revenuesTotals($branch, $month, $year)['total'] - expensesTotals($branch, $month, $year)['total'])}}

{{__('common.expensesRevenueThisYear')}}
{{__('common.year')}}: {{$year}}

{{__('common.totalOutcome')}}

{{__('common.L.E')}} {{round(expensesTotals($branch, $month, $year)['yearTotal'])}}

{{__('common.totalIncome')}}

{{__('common.L.E')}} {{round(revenuesTotals($branch, $month, $year)['yearTotal'])}}

{{__('common.net')}}

{{__('common.L.E')}} {{round(revenuesTotals($branch, $month, $year)['yearTotal'] - expensesTotals($branch, $month, $year)['yearTotal'])}}

@foreach(monthsForThisYear($year) as $singleMonth) @endforeach
{{__('common.month')}} {{__('common.revenues')}} {{__('common.expenses')}} {{__('common.net')}} {{__('common.actions')}}
{{arabicMonth($year.'-'.$singleMonth.'-1').', '.$year}} {{round(revenuesTotals($branch, $singleMonth, $year)['total'])}} {{round(expensesTotals($branch, $singleMonth, $year)['total'])}} {{round(revenuesTotals($branch, $singleMonth, $year)['total'] - expensesTotals($branch, $singleMonth, $year)['total'])}}
@stop @section('page_buttons') {{__('common.search')}}