@extends('admin.layout') @php use App\Models\Language; $selLang = Language::where('code', request()->input('language'))->first(); @endphp @if (!empty($selLang) && $selLang->rtl == 1) @section('styles') @endsection @endif @section('content')
{{ __('Packages') }}
{{ __('Add Package') }}
@if (count($packages) == 0)

{{ __('NO PACKAGE FOUND YET') }}

@else
@foreach ($packages as $key => $package) @endforeach
{{ __('Title') }} {{ __('Cost') }} {{ __('Status') }} {{ __('Actions') }}
{{ strlen($package->title) > 30 ? mb_substr($package->title, 0, 30, 'UTF-8') . '...' : $package->title }} @if ($package->term == 'monthly') {{ __('Monthly') }} @elseif ($package->term == 'yearly') {{ __('Yearly') }} @elseif ($package->term == 'lifetime') {{ __('Lifetime') }} @endif @if ($package->price == 0) {{ __('Free') }} @else {{ format_price($package->price) }} @endif @if ($package->status == 1)

{{ __('Active') }}

@else

{{ __('Deactive') }}

@endif
@csrf
@endif
@include('admin.packages.create') @endsection @section('script') @endsection