{{trans('home.invoices')}}
# |
{{trans('home.invoice_table_id')}} |
{{trans('home.invoice_table_name')}} |
{{trans('home.invoice_table_pay_way')}} |
{{trans('home.invoice_table_price')}} |
{{trans('home.invoice_table_create_date')}} |
{{trans('home.invoice_table_expire_at')}} |
{{trans('home.invoice_table_status')}} |
{{trans('home.invoice_table_actions')}} |
@if($orderList->isEmpty())
{{trans('home.invoice_table_none')}} |
@else
@foreach($orderList as $order)
{{$loop->iteration}} |
{{$order->order_sn}} |
{{empty($order->goods) ? ($order->goods_id == -1 ? '余额充值': trans('home.invoice_table_goods_deleted')) : $order->goods->name}} |
{{$order->pay_way === 1 ? trans('home.service_pay_button') : trans('home.online_pay')}} |
¥{{$order->amount}} |
{{$order->created_at}} |
{{empty($order->goods) ? '' : $order->goods_id == -1 || $order->status == 3 ? '' : $order->expire_at}} |
@switch($order->status)
@case(-1)
{{trans('home.invoice_status_closed')}}
@break
@case(0)
{{trans('home.invoice_status_wait_payment')}}
@break
@case(1)
{{trans('home.invoice_status_wait_confirm')}}
@break
@case(2)
@if ($order->goods_id == -1)
{{trans('home.invoice_status_payment_confirm')}}
@else
@if($order->is_expire)
{{trans('home.invoice_table_expired')}}
@else
{{trans('home.invoice_table_active')}}
@endif
@endif
@break
@case(3)
{{trans('home.invoice_table_prepay')}}
@break
@endswitch
|
@if($order->status == 0 && !empty($order->payment))
@if(!empty($order->payment->jump_url))
{{trans('home.pay')}}
@elseif(!empty($order->payment->sn))
{{trans('home.pay')}}
@endif
@elseif ($order->status == 3)
@endif
|
@endforeach
@endif
@endsection
@section('script')
@endsection