@extends('layouts.app') @section('title', 'Profit Rules') @section('content')
Profit-sharing configuration per investor-project
| # | Investor | Project | Type | Value | Description | Actions |
|---|---|---|---|---|---|---|
| {{ $rule->id }} | {{ $rule->investor?->name ?? 'N/A' }} | {{ $rule->project?->project_name ?? 'N/A' }} | {{ ucfirst($rule->profit_type) }} | @if ($rule->profit_type === 'percentage') {{ number_format($rule->profit_value, 2) }}% @else {{ number_format($rule->profit_value, 2) }} @endif | {{ Str::limit($rule->description, 40) }} | |
| No profit rules configured. | ||||||