@extends('layouts.app') @section('content')

Profit & Loss Statement

@if(request('compare_with')) @endif @foreach($revenues as $revenue) @if(request('compare_with')) @endif @endforeach @if(request('compare_with')) @endif @foreach($costOfGoodsSold as $cogs) @if(request('compare_with')) @endif @endforeach @if(request('compare_with')) @endif @if(request('compare_with')) @endif @foreach($operatingExpenses as $expense) @if(request('compare_with')) @endif @endforeach @if(request('compare_with')) @endif @if(request('compare_with')) @endif @foreach($otherIncomeExpenses as $item) @if(request('compare_with')) @endif @endforeach @if(request('compare_with')) @endif @if(request('compare_with')) @endif @if(request('compare_with')) @endif
Description Current PeriodComparison Period Variance % Change
Revenue
{{ $revenue->name }} {{ number_format($revenue->amount, 2) }}{{ number_format($revenue->comparison_amount, 2) }} {{ number_format($revenue->variance, 2) }} {{ number_format($revenue->percentage_change, 2) }}%
Total Revenue {{ number_format($totalRevenue, 2) }}{{ number_format($totalRevenueComparison, 2) }} {{ number_format($totalRevenueVariance, 2) }} {{ number_format($totalRevenuePercentageChange, 2) }}%
Cost of Goods Sold
{{ $cogs->name }} {{ number_format($cogs->amount, 2) }}{{ number_format($cogs->comparison_amount, 2) }} {{ number_format($cogs->variance, 2) }} {{ number_format($cogs->percentage_change, 2) }}%
Total Cost of Goods Sold {{ number_format($totalCOGS, 2) }}{{ number_format($totalCOGSComparison, 2) }} {{ number_format($totalCOGSVariance, 2) }} {{ number_format($totalCOGSPercentageChange, 2) }}%
Gross Profit {{ number_format($grossProfit, 2) }}{{ number_format($grossProfitComparison, 2) }} {{ number_format($grossProfitVariance, 2) }} {{ number_format($grossProfitPercentageChange, 2) }}%
Operating Expenses
{{ $expense->name }} {{ number_format($expense->amount, 2) }}{{ number_format($expense->comparison_amount, 2) }} {{ number_format($expense->variance, 2) }} {{ number_format($expense->percentage_change, 2) }}%
Total Operating Expenses {{ number_format($totalOperatingExpenses, 2) }}{{ number_format($totalOperatingExpensesComparison, 2) }} {{ number_format($totalOperatingExpensesVariance, 2) }} {{ number_format($totalOperatingExpensesPercentageChange, 2) }}%
Operating Profit {{ number_format($operatingProfit, 2) }}{{ number_format($operatingProfitComparison, 2) }} {{ number_format($operatingProfitVariance, 2) }} {{ number_format($operatingProfitPercentageChange, 2) }}%
Other Income/Expenses
{{ $item->name }} {{ number_format($item->amount, 2) }}{{ number_format($item->comparison_amount, 2) }} {{ number_format($item->variance, 2) }} {{ number_format($item->percentage_change, 2) }}%
Net Profit Before Tax {{ number_format($netProfitBeforeTax, 2) }}{{ number_format($netProfitBeforeTaxComparison, 2) }} {{ number_format($netProfitBeforeTaxVariance, 2) }} {{ number_format($netProfitBeforeTaxPercentageChange, 2) }}%
Income Tax {{ number_format($incomeTax, 2) }}{{ number_format($incomeTaxComparison, 2) }} {{ number_format($incomeTaxVariance, 2) }} {{ number_format($incomeTaxPercentageChange, 2) }}%
Net Profit After Tax {{ number_format($netProfitAfterTax, 2) }}{{ number_format($netProfitAfterTaxComparison, 2) }} {{ number_format($netProfitAfterTaxVariance, 2) }} {{ number_format($netProfitAfterTaxPercentageChange, 2) }}%
@endsection @push('scripts') @endpush