@extends('layouts.admin') @section('title', $pageTitle) @section('content') @include('include.admin.toast')

@include('admin.plan.search')
@forelse ($plans as $plan) @empty @endforelse
{{ __('SR No') }} {{ __('Name') }} {{ __('Currency') }} {{ __('Monthly amount') }} {{ __('Yearly amount') }} {{ __('Description') }} {{ __('Status') }} {{ __('Action') }}
{{ $plans->firstItem() + $loop->index }} {{ $plan->name }} @if (!$plan->hasPrice()) {{ __('Default') }} @endif {{ $plan->currency ? $plan->currency : '-' }} {{ $plan->amount_month ? $plan->amount_month : '-' }} {{ $plan->amount_year ? $plan->amount_year : '-' }} {{ $plan->description }} @if ($plan->id == 1) - @else
status == 1 ? 'checked' : '' }}>
@endif
{{ __('Edit') }}
{{ __('No Records Found') }}
@if ($plans->hasPages())
{{ $plans->links('pagination::bootstrap-5') }}
@endif
@endsection