@extends('layouts.app') @section('head') @include('layouts.partials.headersection',['title'=>'Plans']) @endsection @section('content')
@if(Session::has('fail'))
{{ Session::get('fail') }}
@endif @if(Session::has('success'))
{{ Session::get('success') }}
@endif
@foreach($posts as $row) @php $data=json_decode($row->data); @endphp
{{ $row->name }}
{{ amount_admin_format($row->price) }}
@if($row->days == 365) {{ __('Yearly') }} @elseif($row->days == 30) Monthly @else {{ $row->days }} Days @endif

{{ $row->description }}

{{ __('Products Limit') }} {{ $data->product_limit }}
{{ __('Storage Limit') }} {{ number_format($data->storage) }}MB
@if(env('MULTILEVEL_CUSTOMER_REGISTER') == true)
{{ __('Customer Limit') }} {{ number_format($data->customer_limit) }}
@endif
{{ __('Shipping Zone Limit') }} {{ $data->location_limit ?? '' }}
{{ __('Category Limit') }} {{ $data->category_limit ?? '' }}
{{ __('Brand Limit') }} {{ $data->brand_limit ?? '' }}
{{ __('Product Variation Limit') }} {{ $data->variation_limit ?? '' }}
{{ __('Use your own domain') }}   
@if($data->custom_domain == true)
@else
@endif
{{ __('Google Analytics') }}   
{{ __('Facebook Pixel') }}   
{{ __('Google Tag Manager') }}   
{{ __('Whatsapp Plugin') }}   
{{ __('Inventory Management') }}   
{{ __('POS') }}   
{{ __('PWA') }}   
{{ __('QRCODE') }}   
{{ __('Custom Js') }}   
{{ __('Custom Css') }}   
{{ __('Seller Support') }}   
{{ __('Customer Panel Access') }}   
{{ __('Multi Language') }}   
{{ __('Image Optimization') }}   
@if(url('/') == env('APP_URL')) {{ __('Subscribe') }} @else {{ __('Subscribe') }} @endif
@endforeach

{{ __('Order History') }}

@php $posts=\App\Models\Userplan::with('plan','category')->where('user_id',Auth::id())->where('amount','>',0)->latest()->paginate(20); @endphp
@foreach($posts as $row) @endforeach
{{ __('Order') }} {{ __('Name') }} {{ __('Purchase Date') }} {{ __('Expiry date') }} {{ __('Total') }} {{ __('Tax') }} {{ __('Payment Method') }} {{ __('Payment Status') }} {{ __('Fulfillment') }}
{{ $row->order_no }} {{ $row->plan_info->name ?? '' }} {{ $row->created_at->format('Y-m-d') }} {{ $row->will_expire }} {{ amount_admin_format($row->amount,2) }} {{ amount_admin_format($row->tax,2) }} {{ $row->category->name ?? '' }} @if($row->payment_status==1) {{ __('Paid') }} @elseif($row->payment_status==2) {{ __('Pending') }} @else {{ __('Fail') }} @endif @if($row->status == 1) Approved @elseif($row->status == 2) {{ __('Pending') }}@elseif($row->status == 3) {{ __('Expired') }}@else {{ __('Cancelled') }} @endif
@endsection