@extends('user.layouts.master') @section('css') @endsection @section('user-content')
| ID | Amount | Profit Per | Duration | Total Amount | Phone | Transaction ID | Receipt | Date | Reason/Remark | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $data->id }} | {{ find_investment_package($data->package_id)->invest_amount }} $ | {{ find_investment_package($data->package_id)->profit_per }} % | {{ find_investment_package($data->package_id)->duration }} Day | @php $total = find_investment_package($data->package_id)->invest_amount + (find_investment_package($data->package_id)->invest_amount * find_investment_package($data->package_id)->profit_per)/100; @endphp {{ $total }} $ | {{ $data->phone }} | {{ $data->transaction_id }} | {{ \Carbon\Carbon::parse($data->created_at)->format('d/m/Y g:i A')}} | {{ $data->reason }} | @if($data->status == 0) Pending @elseif($data->status == 1) Paid @else Rejected @endif |