@extends('dashboard.layouts.master') @section('title', 'Subscription Management| Admin Panel') @include('sweetalert::alert') @push('after-styles') @can('subscription.plan.update') @endcan @endpush @section('content') @can('subscription.plan.update')

Edit Subscription

{{ __('backend.dashboard') }} / Subscription Management/ Edit Subscription
{{ Form::open(['method' => 'POST', 'files' => true, 'enctype' => 'multipart/form-data', 'id' => 'storeForm']) }}
@php $i = $index ?? 0; @endphp @if ($getSubscriptionDetails->benefits->count() > 0) @foreach ($getSubscriptionDetails->benefits as $index => $benefit)
@if ($index == 0) @endif @error("benefit.{$index}.benefits_en") {{ $message }} @enderror
@if ($index == 0) @endif @error("benefit.{$index}.benefits_ar") {{ $message }} @enderror
@if ($getSubscriptionDetails->benefits->count() > 1 && $index > 0) @endif
@endforeach @endif
@else @endcan @endsection @push('after-scripts') @endpush