@extends('user.layouts') @section('css') @endsection @section('content')

{{ trans('user.menu.invoices') }}

@if ($prepaidPlan)
@endif
@foreach ($orderList as $order) @endforeach
# {{ trans('model.order.id') }} {{ trans('user.shop.service') }} {{ trans('user.payment.method') }} {{ trans('user.invoice.amount') }} {{ trans('user.bought_at') }} {{ trans('common.expired_at') }} {{ trans('common.status.attribute') }} {{ trans('common.action') }}
{{ $loop->iteration }} {{ $order->sn }} {{ $order->goods->name ?? trans('user.recharge_credit') }} {{ $order->pay_way === 1 ? trans('user.shop.pay_credit') : trans('user.shop.pay_online') }} {{ $order->amount_tag }} {{ $order->created_at }} {{ empty($order->goods) || $order->goods_id === null || $order->status === 3 ? '' : $order->expired_at }} {!! $order->status_label !!}
@if ($order->status === 0 && $order->pay_way !== 1) @if ($order->payment) @if ($order->payment->qr_code) {{ trans('user.pay') }} @elseif($order->payment->url) {{ trans('user.pay') }} @endif @endif @elseif ($order->status === 1) @endif
@endsection @section('javascript') @endsection