@extends('layouts.admin')
@section('title', 'Profit split · Aromaniacs ERP')
@section('overline', 'Equity')
@section('heading', 'Partner profit allocation')
@section('content')
Orders {{ $result['sales_snapshot']['order_count'] }} Sold amount ৳ {{ number_format($result['sales_snapshot']['sold_amount'], 2) }} Product revenue ৳ {{ number_format($result['sales_snapshot']['product_revenue'], 2) }} Box costs ৳ {{ number_format($result['sales_snapshot']['box_costs'], 2) }} Pool (net) ৳ {{ number_format($result['pool'], 2) }}
Equal split mode: no partner had positive average employed capital — each active partner receives an equal share.
| Partner | Avg capital | Weight | Allocated |
|---|---|---|---|
| {{ $shareholderNames[$line['shareholder_id']] ?? 'Partner #'.$line['shareholder_id'] }} | {{ number_format($line['avg_capital'], 4) }} | {{ number_format($line['ratio'] * 100, 4) }}% | ৳ {{ number_format($line['allocated'], 2) }} |
| No active partners. Add partners before allocating profit. | |||
Method: {{ $methodLabel }} · Σ avg capital {{ number_format($result['total_avg_capital'], 4) }}
No snapshots yet.
@else| Partner | Avg capital | Weight | Allocated |
|---|---|---|---|
| {{ $ln->shareholder?->display_name }} | {{ number_format((float) $ln->avg_capital_employed, 4) }} | {{ number_format((float) $ln->capital_weight_ratio * 100, 4) }}% | ৳ {{ number_format((float) $ln->allocated_profit, 2) }} |