@extends('layouts.app') @section('title', __('master::lang.create_free_subscription')) @section('content')

@lang('master::lang.create_free_subscription_for'): {{ $client->name }}

@if(session('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::open([ 'url' => route('master.subscription.freeSubscriptionStore'), 'method' => 'POST', ]) !!} {!! Form::hidden('client_id', $client->id) !!} {!! Form::hidden('subdomain_id', $client->subdomain_id) !!}
{!! Form::label('users_count', __('master::lang.users_count')) !!} {!! Form::number('users_count', 1, ['class'=>'form-control', 'min'=>1, 'required']) !!}
{!! Form::label('billing_cycle', __('master::lang.billing_cycle')) !!} {!! Form::select('billing_cycle', ['monthly'=>__('master::lang.monthly'),'yearly'=>__('master::lang.yearly')], 'monthly', ['class'=>'form-control', 'required']) !!}
{!! Form::submit(__('master::lang.create_free_subscription'), ['class'=>'btn btn-success']) !!}
{!! Form::close() !!}
@endsection