@extends('layouts.main.app') @section('head') @include('layouts.main.headersection',[ 'title' => __('Subscription Plan'), 'buttons' => [ [ 'name'=> __('Back'), 'url'=> url('/user/subscription'), ] ] ]) @endsection @section('content')
@if(count($orders ?? []) == 0)

{{ __('!Opps You Have Not Created Any Order Now') }}

@else
@foreach($orders ?? [] as $log) @endforeach
{{ __('Order No') }} {{ __('Plan Name') }} {{ __('Payment Method') }} {{ __('Amount') }} {{ __('Staus') }} {{ __('Order Date') }} {{ __('Will Expire') }}
{{ $log->invoice_no }} {{ $log->plan->title ?? '' }} {{ $log->gateway->name ?? '' }} {{ amount_format($log->amount) }} {{ badge($log->status)['text'] }} {{ $log->created_at->format('d F Y') }} {{ \Carbon\Carbon::parse($log->will_expire)->format('d F Y') }}
{{ $orders->links('vendor.pagination.bootstrap-4') }}
@endif
@endsection