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

{{\App\Components\Helpers::systemConfig()['website_name']}}

{{trans('home.invoice_title')}}

{{trans('home.invoice_table_id')}}:{{$order->order_sn}}

{{trans('home.invoice_table_pay_way')}}:{{$order->pay_way === 1 ? trans('home.service_pay_button') : trans('home.online_pay')}}

{{trans('home.invoice_table_create_date')}}: {{$order->created_at}}

{{trans('home.invoice_table_expire_at')}}: {{$order->expire_at}}

@if(!$order->is_expire) @if($order->status == -1)

{{trans('home.invoice_table_closed')}}

@elseif($order->status == 0)

{{trans('home.invoice_table_wait_payment')}}

@elseif($order->status == 1)

{{trans('home.invoice_table_wait_confirm')}}

@elseif($order->status == 2)

{{trans('home.invoice_table_wait_active')}}

@else

{{trans('home.invoice_table_expired')}}

@endif @else

{{trans('home.invoice_table_expired')}}

@endif
{{trans('home.service_name')}} {{trans('home.service_desc')}} {{trans('home.service_price')}} {{trans('home.service_quantity')}} {{trans('home.coupon')}} {{trans('home.service_total_price')}} 状态

{{empty($order->goods) ? ($order->goods_id == -1 ? '余额充值': trans('home.invoice_table_goods_deleted')) : $order->goods->name}}

@if($order->goods) {{trans('home.service_days')}} {{$order->goods->days}} {{trans('home.day')}}
@if($order->goods->type == '2') {{$order->goods->traffic_label}} {{trans('home.bandwidth')}}/{{trans('home.month')}} @else {{$order->goods->traffic_label}} {{trans('home.bandwidth')}}/{{$order->goods->days}} {{trans('home.day')}} @endif @else 余额充值 @endif
¥ {{$order->origin_amount}} 1 {{$order->coupon ? $order->coupon->name : '无'}} ¥{{$order->amount}} {{$order->status_label}}
@endsection @section('script') @endsection