@extends('layouts.master') @section('title',__('Edit Package')) @section('breadcum') @endsection @section('maincontent')
@if ($errors->any()) @endif
{{ __('Back') }}
{{__('Edit Package')}}
{!! Form::model($package, ['method' => 'PATCH', 'action' => ['PackageController@update', $package->id]]) !!}
{!! Form::label('plan_id', __('PlanID')) !!} {!! Form::text('plan_id', null, ['class' => 'form-control', 'required' => 'required', 'data-toggle' => 'popover','data-content' => 'Create Your Unique Plan ID ex. basic10', 'data-placement' => 'bottom']) !!} {{ $errors->first('plan_id') }}
{!! Form::label('name', __('Plan Name')) !!} {!! Form::text('name', null, ['class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('name') }}
{!! 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']) !!}
@if($package->currency_symbol=='') @else @endif {{ $errors->first('amount') }}
{!! Form::label('feature', __('Package Feature')) !!}* {{ $errors->first('feature') }}
{!! Form::label('screens', __('Screens')) !!} {!! Form::number('screens', null, ['class' => 'form-control', 'min' => '1', 'max' => '4']) !!} {{ $errors->first('screens') }}
{!! Form::label('download', __('Do You Want Download Limit')) !!}
{{ $errors->first('download') }}
{{ $errors->first('downloadlimit') }}
{!! Form::label('downloadlimit', __('DownloadLimit')) !!} {!! Form::number('download limit', null, ['class' => 'form-control']) !!} {{__('Note')}} :-
1. {{__('Given download limit will apply for each screens')}}.
2. {{__('If you enter 0 it means user can unlimited download')}}
@php $webconfig = App\Button::first(); @endphp @if($webconfig->remove_ads == 1)
{!! Form::label('ads_in_web', __('Do you want Remove 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 Remove Ads in App')) !!}
{{ $errors->first('ads_in_app') }}
@endif
{!! Form::label('status',__('Status')) !!}* {{ $errors->first('status') }}
{!! Form::close() !!}
@endsection @section('script') @endsection