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

{{ $title }}

Add Profit or Loss to Participants
@if ($trade->participants->count() > 0)
@csrf
Info: Enter a positive number for profit or negative number for loss. This amount will be added to each selected participant's profit/loss and their wallet balance.
@error('profit_loss')
{{ $message }}
@enderror

When checked, this will: add the profit/loss to each participant's wallet balance, record a performance entry for the trader (with calculated ROI %), and update the trader's displayed balance.
Cancel
@else
No Participants

This trade has no participants yet. Add participants before adding profit/loss.

Add Participants
@endif
@endsection