@extends('layouts.app') @section('title', 'Profit & Loss') @section('page', 'reports') @section('content') @include('reports.partials.header', [ 'title' => 'Profit & Loss', 'subtitle' => 'Gross profit from product sales vs cost. Net profit after expenses and payroll. '.$dateFrom.' to '.$dateTo.'.', ])
Total Revenue
{{ money($pnlKpis['revenue']['value']) }}
{{ $pnlKpis['revenue']['trend']['label'] }} {{ $pnlCompareLabel }}
Gross Profit
{{ money($pnlKpis['grossProfit']['value']) }}
{{ $pnlKpis['grossProfit']['trend']['label'] }} {{ $pnlCompareLabel }}
Operating Profit
{{ money($pnlKpis['operatingProfit']['value']) }}
Net Profit
{{ money($pnlKpis['netProfit']['value']) }}
{{ $pnlKpis['netProfit']['trend']['label'] }} {{ $pnlCompareLabel }}
| Description | Amount | % of Sales |
|---|---|---|
| {{ $row['label'] }} | @if ($row['amount'] < 0) ({{ money(abs($row['amount'])) }}) @else {{ money($row['amount']) }} @endif | {{ number_format($row['pct'], 2) }}% |
Target: {{ $gauge['target'] }}
Sales Revenue
{{ money($salesRevenue) }}
Product Cost
{{ money($productCost) }}
Gross Profit
{{ money($grossProfit) }}
Gross Margin
{{ number_format($grossMargin, 2) }}%
| Product | Qty | Sales | Cost | Profit |
|---|---|---|---|---|
| {{ $row->product_name }} | {{ $row->qty }} | {{ money($row->revenue) }} | {{ money($row->cost) }} | {{ money($row->profit) }} |
| No product sales in this period. | ||||