@extends('layouts.master') @section('title',__('Create Package')) @section('breadcum') @endsection @section('maincontent')
@if ($errors->any()) @endif
{{ __('Back') }}
{{__('Create Package')}}
{!! Form::open(['method' => 'POST', 'action' => 'PackageController@store']) !!}
{!! Form::label('plan_id', __('PlanID')) !!} {!! Form::text('plan_id', null, ['class' => 'form-control', 'required' => 'required', 'data-toggle' => 'popover','data-content' => __('Unique Package').' ex. basic10', 'data-placement' => 'bottom']) !!} {{ $errors->first('plan_id') }}
{!! Form::label('name', __('Package Name')) !!} {!! Form::text('name', null, ['class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('name') }}
{!! Form::label('feature',__('Package Feature')) !!} * {{ $errors->first('feature') }}
{!! Form::hidden('currency', $currency_code) !!}
{!! Form::label('free', __('Free')) !!}
{{ $errors->first('free') }}
{!! Form::label('amount', __('Your Plan Amount')) !!}
{!! Form::number('amount', null, ['class' => 'form-control', 'step'=>'0.01']) !!}
{{ $errors->first('amount') }}
{!! Form::label('interval_count', __('Your Plan Duration')) !!} {!! Form::number('interval_count', null, ['min' => 1, 'class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('interval_count') }}
{!! Form::label('interval', __('Plan Duration Unit')) !!} {!! Form::select('interval', ['day'=>'Daily', 'week' => 'Weekly', 'month' => 'Monthly', 'year' => 'yearly'], ['month' => 'Monthly'], ['class' => 'form-control select2', 'required' => 'required']) !!} {{ $errors->first('interval') }}
{!! Form::label('trial_period_days', __('Your Plan Trail Period Days')) !!} {!! Form::number('trial_period_days', null, ['class' => 'form-control']) !!} {{ $errors->first('trial_period_days') }}
{!! Form::label('screen', __('Screens')) !!} {!! Form::number('screens', null, ['class' => 'form-control', 'min' => '1', 'max' => '4']) !!} {{ $errors->first('screen') }}
{!! Form::label('download', __('Do You Want Download Limit')) !!}
{{ $errors->first('download') }}
{{ $errors->first('downloadlimit') }}
{!! Form::label('status',__('Status')) !!} * {{ $errors->first('status') }}
@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::close() !!}
@endsection @section('script') @endsection