@extends('layouts.admin') @section('title', $user->name) @section('content')

{{ $user->name }}

作为 {{ $user->name }} 登录 @if ($user->banned_at)

已被封禁,原因: {{ $user->banned_reason }}

@endif

余额: {{ $user->balance }} 元, {{ $drops }} Drops

注册时间: {{ $user->created_at }}

邮箱: {{ $user->email }}

{{-- hosts --}}

主机列表

@php($drops_rage = config('drops.rate')) @foreach($hosts as $host) @endforeach
ID 模块 名称 价格 / 5 分钟 操作
{{ $host->id }} {{ $host->module_id }} {{ $host->name }} {{ $host->managed_price ?? $host->price }} Drops{{ round($host->managed_price ?? $host->price / $drops_rage * (30 * 24 * 60 / 5), 2) }} 元 / 月 查看
{{ $hosts->links() }} {{-- Work Orders --}}

工单列表

@foreach($workOrders as $workOrder) @endforeach
ID 模块 标题 状态 操作
{{ $workOrder->id }} {{ $workOrder->module_id }} {{ $workOrder->title }} 编辑
{{ $workOrders->links() }}

充值记录

@foreach($balances as $b) @endforeach
订单号 支付方式 金额 完成时间
{{ $b->order_id }} {{ $b->amount }} {{ $b->paid_at }}
{{ $balances->links() }} {{-- transactions_page--}} {{-- 账号操作 --}}

账号操作

@csrf @method('PATCH')
{{-- 封禁 --}}
{{-- 原因 --}}
{{-- 一次性操作 --}}
@endsection