@extends('backend.partials.master') @section('title') {{ ___('admin.profit_8544a4') }} & {{ ___('admin.loss_12e24a') }} @endsection @section('maincontent') @include('backend.accounting.partials._filters')
{{ $from ? \Illuminate\Support\Carbon::parse($from)->translatedFormat('d M Y') : 'Since the first entry' }} → {{ $to ? \Illuminate\Support\Carbon::parse($to)->translatedFormat('d M Y') : 'today' }}
{{ ___('admin.income_1c89b1') }}
@forelse($incomeRows as $r) @empty @endforelse
{{ $r['code'] }} — {{ $r['name'] }} {{ currency_symbol() }}{{ number_format($r['net'], 2) }}
{{ ___('admin.no_income_in_this_period_be88a1') }}
{{ ___('admin.total_income_7c29ae') }} {{ currency_symbol() }}{{ number_format($totalIncome, 2) }}
{{ ___('admin.expenses_8d437d') }}
@forelse($expenseRows as $r) @empty @endforelse
{{ $r['code'] }} — {{ $r['name'] }} {{ currency_symbol() }}{{ number_format($r['net'], 2) }}
{{ ___('admin.no_expenses_in_this_period_800725') }}
{{ ___('admin.total_expenses_750134') }} {{ currency_symbol() }}{{ number_format($totalExpense, 2) }}
{{ ___('admin.net_profit_8bebc6') }} {{ currency_symbol() }}{{ number_format($netProfit, 2) }}
@endsection