@extends('backend.layouts.app') @section('title', @$title) @section('style') @endsection @section('content') {!! breadcrumb([ 'title' => @$title, route('admin.dashboard') => _trans('common.Dashboard'), '#' => @$title, ]) !!}
@csrf

{{ _trans('common.General Info') }}

@if($errors->has('name'))
{{ $errors->first('name') }}
@endif {{ _trans('common.Plan Name already exists!') }}
@if($errors->has('employee_limit'))
{{ $errors->first('employee_limit') }}
@endif
@if($errors->has('basic_price'))
{{ $errors->first('basic_price') }}
@endif
@if($errors->has('is_popular'))
{{ $errors->first('is_popular') }}
@endif
@if($errors->has('status_id'))
{{ $errors->first('status_id') }}
@endif

{{ _trans('common.Pricing Plan Prices') }}

{{ _trans('common.Please add Basic Price first!') }}
{{ _trans('common.At least one pricing plan required') }}
@foreach ($planDurationTypes ?? [] as $id => $name) @endforeach
pricingPlanPrices->pluck('plan_duration_type_id')->toArray()) && @$pricingPlan->pricingPlanPrices->where('plan_duration_type_id', $id)->first()->status_id == 1 ? 'checked' : '' }} ` >

{{ _trans('common.Feature') }}

{{ _trans('common.At least one feature required') }}
@foreach ($planFeatures as $id => $title) @endforeach
pricingPlanFeatures) == count($planFeatures)) checked @elseif (!@$pricingPlan) checked @endif >
pricingPlanFeatures->pluck('plan_feature_id')->toArray())) checked @elseif (!@$pricingPlan) checked @endif >
{{ $title }}
@endsection @section('script') @endsection