@extends('layouts.user.profile.layout') @section('title') {{ $websiteLang->where('lang_key','order')->first()->custom_text }} @endsection @section('user-dashboard')

{{ $websiteLang->where('lang_key','order')->first()->custom_text }}

@foreach ($orders as $index => $order) @endforeach
{{ $websiteLang->where('lang_key','serial')->first()->custom_text }} {{ $websiteLang->where('lang_key','package')->first()->custom_text }} {{ $websiteLang->where('lang_key','purchase_date')->first()->custom_text }} {{ $websiteLang->where('lang_key','expired_date')->first()->custom_text }} {{ $websiteLang->where('lang_key','price')->first()->custom_text }} {{ $websiteLang->where('lang_key','action')->first()->custom_text }}
{{ ++$index }} {{ $order->package->package_name }}
@if ($order->status==1) @if ($order->expired_date==null) {{ $websiteLang->where('lang_key','currently_active')->first()->custom_text }} @else @if (date('Y-m-d') < $order->expired_date) {{ $websiteLang->where('lang_key','currently_active')->first()->custom_text }} @endif @endif @endif
{{ $order->purchase_date }} {{ $order->expired_date == null ? $websiteLang->where('lang_key','unlimited')->first()->custom_text :$order->expired_date }} {{ $order->currency_icon }}{{ $order->amount_real_currency }}
{{ $orders->links('user.paginator') }}
@endsection