@extends('accounting.layout') @section('accounting_content') @include('accounting.partials.report_styles')
Profit & Loss Statement
Back to Accounting
Net Sales{{ \App\Models\SystemSetting::formatMoney($summary->sales) }}
Gross Profit / (Loss){{ \App\Models\SystemSetting::formatMoney($summary->gross_profit) }}
Net Profit / (Loss){{ \App\Models\SystemSetting::formatMoney($summary->profit) }}
@foreach(['sales'=>'Sales & Returns','cost_of_sales'=>'Cost of Sales','operating_expenses'=>'Operating Expenses','other_income'=>'Other Income','finance_costs'=>'Finance Costs','income_tax'=>'Income Tax'] as $key=>$label) @foreach($groups[$key] as $line) @endforeach @if($key==='cost_of_sales')@endif @if($key==='finance_costs')@endif @endforeach
AccountAmount
{{ $label }}
{{ $line->account_name }}{{ \App\Models\SystemSetting::formatMoney($line->amount) }}
Total {{ $label }}{{ \App\Models\SystemSetting::formatMoney($groups[$key]->sum('amount')) }}
Gross Profit / (Loss){{ \App\Models\SystemSetting::formatMoney($summary->gross_profit) }}
Profit / (Loss) Before Income Tax{{ \App\Models\SystemSetting::formatMoney($summary->profit_before_tax) }}
Net Profit / (Loss) {{ \App\Models\SystemSetting::formatMoney($summary->profit) }}
@endsection