@extends('layouts.main') @section('title') {{ __('Packages') }} @endsection @section('page-title')

@yield('title')

@endsection @section('content')
@if (has_permissions('create', 'package'))
{!! Form::open(['route' => 'package.store', 'data-parsley-validate', 'files' => true]) !!}
{{ Form::label('name', __('Package Name'), ['class' => 'form-label col-12 ']) }} {{ Form::text('name', '', [ 'class' => 'form-control ', 'placeholder' => trans('Package Name'), 'data-parsley-required' => 'true', 'id' => 'name', ]) }}
{{ Form::label('ios_product_id', __('IOS Product ID'), ['class' => 'form-label col-12 ']) }} {{ Form::text('ios_product_id', '', [ 'class' => 'form-control ', 'placeholder' => trans('IOS Product ID'), 'id' => 'ios_product_id', ]) }}
{{ Form::label('duration', __('Duration'), ['class' => 'form-label col-12 ']) }} {{ Form::number('duration', '', [ 'class' => 'form-control ', 'placeholder' => trans('Duration (in days)'), 'data-parsley-required' => 'true', 'id' => 'duration', 'min' => '1', ]) }}
{{ Form::label('price', __('Price') . '(' . $currency_symbol . ')', [ 'class' => 'form-label col-12 ', ]) }} {{ Form::number('price', '', [ 'class' => 'form-control ', 'placeholder' => trans('Price'), 'data-parsley-required' => 'true', 'id' => 'price', 'min' => '0', 'step' => '0.01' ]) }}
{{ Form::label('price', __('Type'), ['class' => 'form-label col-12 ']) }} {{-- Product List and Promote --}}
{{-- Premium User --}}
{{ Form::label('price', __('Property'), ['class' => 'form-label col-12 ']) }}
{{ Form::label('limit', __('Limit'), ['class' => 'form-label col-12 ']) }} {{ Form::number('property_limit', '', [ 'class' => 'form-control', 'type' => 'number', 'min' => '1', 'placeholder' => trans('Limitation'), 'id' => 'propertylimit', 'min' => '1', ]) }}
{{ Form::label('limit', __('Limit'), ['class' => 'form-label col-12 ']) }} {{ Form::number('advertisement_limit', '', [ 'class' => 'form-control ', 'type' => 'number', 'min' => '1', 'placeholder' => trans('Limitation'), 'id' => 'advertisementlimit', 'min' => '1', ]) }}
{{ Form::submit(trans('Add Package'), ['class' => 'center btn btn-primary']) }}
{!! Form::close() !!}
@endif
@if (has_permissions('update', 'package')) @endif
{{ __('ID') }} {{ __('IOS Product ID') }} {{ __('Name') }} {{ __('Duration') }} {{ __('Price') }} {{ __('Limit For Property') }} {{ __('Limit For Advertisement') }} {{ __('Enable/Disable') }} {{ __('Action') }}
@endsection @section('script') @endsection