@extends('layouts.app') @section('head') @include('layouts.partials.headersection',['title'=>'Order No: '. $info->order_no]) @endsection @section('content')

{{ __('Order Information') }}

{{ __('Order No') }} {{ $info->order_no }}
{{ __('Order Status') }} @if($info->status == 1) {{ __('Approved') }} @elseif($info->status == 2) {{ __('Pending') }}@elseif($info->status == 3) {{ __('Expired') }}@else {{ __('Cancelled') }} @endif
{{ __('Order Created Date') }} {{ $info->created_at->format('Y-m-d') }}
{{ __('Order Created At') }} {{ $info->created_at->diffForHumans() }}
{{ __('Order Will Be Expired') }} {{ $info->will_expire }}
{{ __('Order Amount') }} {{ amount_format($info->amount) }}
{{ __('Order Tax Amount') }} {{ amount_format($info->tax) }}
{{ __('Order Total Amount') }} {{ amount_format($info->tax+$info->amount) }}
{{ __('Plan Name') }} {{ $info->plan_info->name ?? '' }}
{{ __('Payment Mode') }} {{ $info->category->name ?? '' }}
{{ __('Transaction Id') }} {{ $info->trx }}
{{ __('Transaction Status') }} @if($info->payment_status==1) {{ __('Paid') }} @elseif($row->payment_status == 2) {{ __('Pending') }} @else {{ __('Fail') }} @endif

{{ __('User Information') }}

{{ __('User Name') }} {{ $info->user->name ?? '' }}
{{ __('User Email') }} {{ $info->user->email ?? '' }}
{{ __('User Domain') }} {{ $user->user_domain->domain ?? '' }}
{{ __('Domain Status') }} @if(!empty($user->user_domain)) @if($user->user_domain->status==1) {{ __('Active') }} @elseif($user->user_domain->status==0) {{ __('Trash') }} @elseif($user->user_domain->status==2) {{ __('Draft') }} @elseif($user->user_domain->status==3) {{ __('Requested') }} @endif @endif
@endsection