Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
resources
/
views
/
admin
/
Plans
:
activeinv.blade.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
@extends('layouts.app') @section('content') <x-page-title> Active user investment </x-page-title> <x-admin.alert /> <div class="col-12 card shadow p-4 "> <div class="table-responsive" data-example-id="hoverable-table"> <table id="ShipTable" class="table table-hover "> <thead> <tr> <th>Client name</th> <th>Plan</th> <th>Amount Invested</th> <th>Duration</th> <th>ROI</th> <th>Start Date</th> <th>Expiration Date</th> <th></th> </tr> </thead> <tbody> @foreach ($plans as $plan) <tr> <td>{{ $plan->duser->name }}</td> <td>{{ $plan->dplan->name }}</td> <td>{{ $settings->currency }}{{ number_format($plan->amount) }}</td> <td>{{ $plan->inv_duration }}</td> <td> {{ $settings->currency }}{{ $plan->profit_earned ? $plan->profit_earned : '0' }} </td> <td>{{ $plan->created_at->toDayDateTimeString() }}</td> <td>{{ \Carbon\Carbon::parse($plan->expire_date)->toDayDateTimeString() }}</td> <td> <div class="dropdown"> <button class="btn btn-secondary btn-sm dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-expanded="false"> Action </button> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> <a class="dropdown-item text-danger" href="{{ route('deleteplan', $plan->id) }}">Delete</a> <a class="dropdown-item" href="{{ route('user.plans', $plan->duser->id) }}">More actions</a> </div> </div> </td> </tr> @endforeach </tbody> </table> </div> </div> @endsection