����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 13.58.121.29 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/bofirmacademy.com/resources/views/frontend/saas/ |
Upload File : |
@extends('frontend.layouts.app') @section('content') <div class="bg-page"> <header class="page-banner-header blank-page-banner-header gradient-bg position-relative"> <div class="section-overlay"> <div class="blank-page-banner-wrap"> <div class="container"> <div class="row"> <div class="col-12 col-sm-12 col-md-12"> <div class="page-banner-content text-center"> <h3 class="page-banner-heading color-heading pb-15">{{ __(@$pageTitle) }}</h3> <nav aria-label="breadcrumb"> <ol class="breadcrumb justify-content-center"> <li class="breadcrumb-item font-14"><a href="{{ url('/') }}">{{ __('Home') }}</a></li> <li class="breadcrumb-item font-14 active" aria-current="page"> {{ __(@$pageTitle) }}</li> </ol> </nav> </div> </div> </div> </div> </div> </div> </header> <section class="wishlist-page-area my-courses-page"> <div class="container"> <div class="row"> <div class=""> @if(count($userPackages) > 0) <div class="table-responsive"> <table class="table bg-white my-courses-page-table"> <thead> <tr> <th scope="col" class="color-gray font-15 font-medium">{{ __('SL') }}</th> <th scope="col" class="color-gray font-15 font-medium">{{ __('Package Title') }}</th> <th scope="col" class="color-gray font-15 font-medium">{{ __('Enroll Date') }}</th> <th scope="col" class="color-gray font-15 font-medium">{{ __('Expired Date') }}</th> @if(auth()->user()->role == PACKAGE_TYPE_SAAS_ORGANIZATION) <th scope="col" class="color-gray font-15 font-medium">{{ __('Student') }}</th> <th scope="col" class="color-gray font-15 font-medium">{{ __('Instructor') }}</th> @endif <th scope="col" class="color-gray font-15 font-medium">{{ __('Course') }}</th> <th scope="col" class="color-gray font-15 font-medium">{{ __('Bundle Course') }}</th> <th scope="col" class="color-gray font-15 font-medium">{{ __('Consultancy') }}</th> </tr> </thead> <tbody> @php $current = 0; @endphp @foreach ($userPackages as $userPackage) <tr> <td>{{ $loop->iteration }}</td> <td> @if ($userPackage->where('status', PACKAGE_STATUS_ACTIVE)->whereDate('enroll_date', '<=', now())->whereDate('expired_date', '>=', now()) && !$current) @php $current = 1; @endphp <a href="{{ route('saas_plan_details',$userPackage->id) }}">{{ $userPackage->package->title }} <span class="badge bg-success">{{ __('Current') }}</span></a> @else {{ $userPackage->package->title }} @endif </td> <td>{{ date('Y-m-d H:i',strtotime($userPackage->enroll_date)) }}</td> <td>{{ date('Y-m-d H:i',strtotime($userPackage->expired_date)) }}</td> @if(auth()->user()->role == PACKAGE_TYPE_SAAS_ORGANIZATION) <td>{{ $userPackage->student }}</td> <td>{{ $userPackage->instructor }}</td> @endif <td>{{ $userPackage->course }}</td> <td>{{ $userPackage->bundle_course }}</td> <td>{{ $userPackage->consultancy }}</td> </tr> @endforeach </tbody> </table> </div> @else <div class="empty-data"> <img src="{{ asset('frontend/assets/img/empty-data-img.png') }}" alt="img" class="img-fluid"> <h4 class="my-3">{{ __('Empty Saas Plan') }}</h4> </div> @endif </div> </div> </div> </section> </div> @endsection