@extends('backend.layouts.app') @section('title', __('labels.backend.orders.title').' | '.app_name()) @section('content')

@lang('labels.backend.orders.title')

@if($order->invoice != "") @endif
@lang('labels.backend.orders.fields.reference_no') {{$order->reference_no}}
@lang('labels.backend.orders.fields.ordered_by') Name : {{$order->user->name}}
Email : {{$order->user->email}}
@lang('labels.backend.orders.fields.items') @foreach($order->items as $key=>$item) @php $key++ @endphp {{$key.'. '.$item->item->title}}
@endforeach
@lang('labels.backend.orders.fields.amount') {{ $order->amount.' '.$appCurrency['symbol'] }}
@lang('labels.backend.orders.fields.payment_type.title') @if($order->payment_type == 1) {{trans('labels.backend.orders.fields.payment_type.stripe') }} @elseif($order->payment_type == 2) {{trans('labels.backend.orders.fields.payment_type.paypal')}} @else {{trans('labels.backend.orders.fields.payment_type.offline')}} @endif
@lang('labels.backend.orders.fields.payment_status.title') @if($order->status == 0) {{trans('labels.backend.orders.fields.payment_status.pending') }} {{trans('labels.backend.orders.complete')}}
@csrf
@elseif($order->status == 1) {{trans('labels.backend.orders.fields.payment_status.completed')}} @else {{trans('labels.backend.orders.fields.payment_status.failed')}} @endif
@lang('labels.backend.orders.fields.date') {{ $order->created_at->format('d M, Y | h:i A') }}
@lang('strings.backend.general.app_back_to_list')
@stop