@extends('layouts.admin') @section('content')
MINING TRACKS
@if(count($tracks)==0) @endif @foreach ($tracks as $item) @php $diff = ($now->diffInSeconds($item->created_at)); $daily = $item->speed*$gnl->daily; $perSec = $daily/86400; $total = $diff*$perSec; $balance = $total - $item->withdraw; @endphp @endforeach
ACCOUNT SPEED BALANCE WITHDRAW START AT STATUS
NO DATA AVAILABLE
{{$item->account->wallet}} {{$item->speed}} DH/S {{round($balance,8)}} {{$gnl->cur}} {{round($item->withdraw,8)}} {{$gnl->cur}} {{$item->created_at}} {{$item->status==1?'Active':'Expired'}}
{{$tracks->links()}}
@endsection