@extends('layouts/layoutMaster') @section('title', __('locale.Packages')) @section('content')
@php use Illuminate\Support\Str; // Status $statusMeta = $package?->status == 1 ? ['color' => 'success', 'text' => 'Enabled', 'icon' => 'circle-check'] : ['color' => 'warning', 'text' => 'Disabled', 'icon' => 'xbox-x']; @endphp
{{-- Header --}}
{{ $package?->name ?? '' }}
{{ __('locale.Price') }}: {{ \App\Helpers\Helpers::setting('currency_symbol', 'currency') }}{{ $package->price }}
{{-- Description --}} @if ($package?->description) {{ __('locale.Description') }}:

{{ $package->description }}

@endif {{-- Link Type & Status --}}
{{ __('locale.Duration') }}: {{ $package['duration']?->name }} {{ Str::plural($package['duration']?->weeks, $package['duration']?->name) }} {{ $statusMeta['text'] }}
@endsection