Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/oldsite/Modules/Subscription/resources/views/user/subscription_history.blade.php
Назад
@extends('user.layout') @section('title') <title>{{ __('Subscription History') }}</title> @endsection @section('user-dashboard') <div class="wsus__dashboard_main_content"> <h4 class="heading">{{ __('Subscription History') }}</h4> <div class="wsus__dash_order mb_25"> <div class="table-responsive"> <table class="table"> <tbody> <tr> <th class="serial">{{ __('Serial') }}</th> <th class="package">{{ __('Plan Name') }}</th> <th class="p_date">{{ __('Purchase Date') }}</th> <th class="e_date">{{ __('Expired Date') }}</th> <th class="price">{{ __('Price') }}</th> <th class="action">{{ __('Action') }}</th> </tr> @foreach ($subscriptionHistories as $index => $history) <tr> <td class="serial">{{ ++$index }}</td> <td class="package"> {{ $history->plan_name }} <br> @if ($history->status == 'active') @if ($history->expired_date == null) <span class="custom-badge">{{ __('Currently Active') }}</span> @else @php $expired_date = date('Y-m-d', strtotime($history->expired_date)); @endphp @if (date('Y-m-d') < $expired_date) <span class="custom-badge">{{ __('Currently Active') }}</span> @endif @endif @endif </td> <td class="p_date">{{ date('Y-m-d', strtotime($history->created_at)) }}</td> <td class="e_date"> @if ($history->expiration == 'lifetime') {{ __('Lifetime') }} @else {{ date('Y-m-d', strtotime($history->expiration_date)) }} @endif </td> <td class="price">{{ currency($history->plan_price) }}</td> <td class="action"> <a href="{{ route('subscription.show-subscription-history', $history->id) }}"> <i class="fa fa-eye" aria-hidden="true"></i> </a> </td> </tr> @endforeach </tbody> </table> </div> </div> {{ $subscriptionHistories->links('custom_paginator') }} </div> @endsection
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка