@extends('layouts.admin') @section('title',__('adminstaticwords.CreatePackage')) @section('content')

@can('package.view') reply @endcan {{__('adminstaticwords.CreatePackage')}}

{!! Form::open(['method' => 'POST', 'action' => 'PackageController@store']) !!}
{!! Form::label('plan_id', __('adminstaticwords.PlanID')) !!}

- {{__('adminstaticwords.UniquePackage')}}

{!! Form::text('plan_id', null, ['class' => 'form-control', 'required' => 'required', 'data-toggle' => 'popover','data-content' => __('adminstaticwords.UniquePackage').' ex. basic10', 'data-placement' => 'bottom']) !!} {{ $errors->first('plan_id') }}
{!! Form::label('name', __('adminstaticwords.PackageName')) !!}

- {{__('adminstaticwords.PleaseEnterYourPlanName')}}

{!! Form::text('name', null, ['class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('name') }}
{!! Form::hidden('currency', $currency_code) !!}
{!! Form::label('free', __('adminstaticwords.Free')) !!}
{{ $errors->first('free') }}
{!! Form::label('amount', __('adminstaticwords.YourPlanAmount')) !!}

-{{__('adminstaticwords.PlanAmountMinMax')}}

{!! Form::number('amount', null, ['class' => 'form-control']) !!}
{{ $errors->first('amount') }}
{!! Form::label('interval_count', __('adminstaticwords.YourPlanDuration')) !!}

- {{__('adminstaticwords.PleaseEnterPlanDuration')}}

{!! Form::number('interval_count', null, ['min' => 1, 'class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('interval_count') }}
{!! Form::label('interval', __('adminstaticwords.PlanDurationUnit')) !!}

- {{__('adminstaticwords.PlanDurationUnitDescription')}}

{!! Form::select('interval', ['day'=>'Daily', 'week' => 'Weekly', 'month' => 'Monthly', 'year' => 'yearly'], ['month' => 'Monthly'], ['class' => 'form-control select2', 'required' => 'required']) !!} {{ $errors->first('interval') }}
{!! Form::label('feature',__('adminstaticwords.PackageFeature')) !!} *

- {{__('adminstaticwords.PackageFeatureNotes')}}

{{ $errors->first('feature') }}
{!! Form::label('trial_period_days', __('adminstaticwords.YourPlanTrailPeriodDays')) !!}

- {{__('adminstaticwords.YourPlanTrailPeriodDaysDescription')}}

{!! Form::number('trial_period_days', null, ['class' => 'form-control']) !!} {{ $errors->first('trial_period_days') }}
{!! Form::label('screen', __('adminstaticwords.Screens')) !!}

- {{__('adminstaticwords.ScreensDescription')}}

{!! Form::number('screens', null, ['class' => 'form-control', 'min' => '1', 'max' => '4']) !!} {{ $errors->first('screen') }}
{!! Form::label('download', __('adminstaticwords.DoYouWantDownloadLimit')) !!}
{{ $errors->first('download') }}
{{ $errors->first('downloadlimit') }} @php $webconfig = App\Button::first(); @endphp @if($webconfig->remove_ads == 1)
{!! Form::label('ads_in_web', __('Do you want show Ads in Web')) !!}
{{ $errors->first('ads_in_web') }}
@endif @php $appconfig = App\AppConfig::first(); @endphp @if($appconfig->remove_ads == 1)
{!! Form::label('ads_in_app', __('Do you want show Ads in App')) !!}
{{ $errors->first('ads_in_app') }}
@endif
{!! Form::label('status',__('adminstaticwords.Status')) !!} *

- {{__('Please select status')}}

{{ $errors->first('status') }}
{!! Form::close() !!}
@endsection @section('custom-script') @endsection