@extends('adminlte::page') @section('content') @section('content_header', __('admin.orders'))
@if(count($errors) > 0)
@foreach($errors->all() as $error)

{{$error}}

@endforeach
@endif @if(Session::has('success'))

{{ Session::get('success') }}

@endif
@foreach($orders as $row) @endforeach
ID @lang('admin.payment_method') @lang('admin.package') @lang('admin.price') @lang('admin.payment_status') @lang('admin.details') @lang('admin.date') @lang('admin.view')
{{$row->id}} {{$array_data['payment_method_name'][$row->payment_method] ?? '-'}} {{$array_data['package_name'][$row->package]}} @if($row->price=='0.00')@lang('general.free') @else{{$row->currency_symbol}}{{$row->price}}@endif @if($row->price == '0.00') - @else @if($row->payment_status=='0')@lang('general.not_paid')@endif @if($row->payment_status=='1')@endif @if($row->payment_status=='3')@lang('general.processing')@endif @if($row->payment_status=='4')@lang('general.expired')@endif @endif {{$row->is_renewal == 1 ? __('general.renewal') : __('general.submission') }} {{\Carbon\Carbon::parse($row->created_at)->translatedFormat('M d, Y')}} @lang('admin.view')
@if($orders->isEmpty())
@lang('admin.no_record').
@endif
{{ $orders->links()}} @endsection