@extends('admin.layouts.master') @section('title', __('Profits / Interests')) @php use App\Enums\TransactionCalcType; use App\Enums\LedgerTnxType; @endphp @section('content')

{{ __('Profits / Interests') }}

{!! __('Total :num entries.', ['num' => ''.$profits->total().'' ]) !!}

{{ ($type=='pending') ? __('Outstanding Profits') : __(':Type Profits', ['type' => $type]) }}
@if(filled($profits))
@foreach($profits as $profit) @endforeach
{{ __('Desc') }} {{ __('Invest ID') }} {{ __('User ID') }} {{ __('Date & Time') }} {{ __('Paid') }} {{ __('Amount') }}
{{ __("Profit for :plan", ['plan' => data_get($profit, 'invest.scheme.name')]) }} money($profit->invested, base_currency()) ]) }}"> {{ $profit->invest->ivx }} {{ the_uid($profit->user_id) }} {{ show_date($profit->calc_at, true) }} {!! ($profit->payout) ? ' $profit->payout]). '"> ' . show_date($profit->updated_at, true) : ''.__("Not yet").'' !!} + {{ amount_z($profit->amount, base_currency(), ['dp' => 'calc']) }}
@if(filled($profits)) {{ $profits->appends(request()->all())->links('misc.pagination') }} @endif
@else

{{ __('No profit found.') }}

@endif
@endsection @push('modal') @endpush @push('scripts') @endpush