@extends('layouts.admin') @section('title', '交易记录') @section('content')

交易记录

收入 支出 转账记录
@foreach ($transactions as $t) @endforeach
模块 支付方式 说明 用户 ID 主机 ID 金额 余额 交易时间
{{ $t->module_id }}
筛选
{{ $t->description }} @if ($t->user_id) {{ $t->user_id }}
筛选 @endif
@if ($t->host_id) {{ $t->host_id }}
筛选 @endif
@if ($t->type === 'payout') 支出 {{ $t->amount }} 元 @elseif($t->type === 'income') 收入 {{ $t->amount }} 元 @endif @if ($t->user_id) 用户 {{ $t->user_remain }} 元 @endif
@if ($t->module_id) 模块 {{ $t->module_remain }} 元 @endif
{{ $t->created_at }}
{{ $transactions->links() }} @endsection