@extends('admin.layouts.app') @section('title') {{ __('plan_list') }} @endsection @section('content')
@if (userCan('plan.update') && $plans->count())
@csrf
@endif
@if (userCan('plan.create'))   {{ __('create') }} @endif
{{-- --}} {{-- --}} @if(@$plans->count() > 0) @foreach (@$plans as $plan) {{-- --}} {{-- --}} @endforeach @else @endif
Plan Id Package Name Price CodeDescriptionCountry Edit PlanDelete Plan
{{@$plan->id}} {{@$plan->title}} {{@$plan->currency}} {{$plan->price}} {{@$plan->code}} @php $description=@$plan->description; $firstPart = substr(@$description, 0, 45); $remainingPart = substr(@$description, 45); @endphp
{!! @$firstPart !!}
@if(strlen(@$remainingPart) > 0)
@endif
{{ @$plan->country->name }} @if (userCan('plan.update')) @endif
@csrf @method('delete')
@if (userCan('plan.create')) {{ __('add_your_first_plan') }} @endif
@endsection @section('style') @endsection @section('script') @endsection