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

交易记录

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