@extends('admin.table_layouts') @push('css') @endpush @section('content')
@foreach ($orders as $order) {{ $order->id }} @if (empty($order->user)) 【{{ trans('common.deleted_item', ['attribute' => trans('common.account')]) }}】 @else @can('admin.user.index') {{ $order->user->username }} @else {{ $order->user->username }} @endcan @endif {{ $order->sn }} {{ $order->goods->name ?? trans('user.recharge_credit') }} {{ $order->coupon ? $order->coupon->name . ' - ' . $order->coupon->sn : '' }} {{ $order->origin_amount_tag }} {{ $order->amount_tag }} {{ $order->pay_way_label }} {!! $order->status_label !!} {{ $order->is_expire ? trans('common.status.expire') : $order->expired_at }} {{ $order->created_at }} @can(['admin.order.edit']) @if ($order->status !== -1) @endif @if ($order->status !== 2) @endif @if ($order->status !== 3) @endif @endcan @endforeach
@endsection @push('javascript') @if (app()->getLocale() !== 'en') @endif @endpush