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

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

@if($prepaidPlan)
@endif
@foreach($orderList as $order) @endforeach
# {{trans('user.invoice.id')}} {{trans('user.shop.service')}} {{trans('user.payment_method')}} {{trans('user.invoice.amount')}} {{trans('user.bought_at')}} {{trans('common.expired_at')}} {{trans('common.status')}} {{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}} {{$order->created_at}} {{empty($order->goods) || $order->goods_id === 0 || $order->status === 3 ? '' : $order->expired_at}} {!! $order->status_label !!}
@if($order->status === 0 && $order->payment) @if($order->payment->qr_code) {{trans('user.pay')}} @elseif($order->payment->url) {{trans('user.pay')}} @endif @elseif ($order->status === 1) @endif
@endsection @section('javascript') @endsection