@extends('admin.layouts.main') @section('content')

{{ trans('messages.Create Subscribtion') }}

{!! Form::open([ 'method' => 'PUT', 'route' => ['theorySubscription.update', $theorySubscription->id], 'files' => true, 'id' => 'edit-theoryPackage-form', ]) !!}
{!! Form::select('user_id', $clients, $theorySubscription->user_id, [ 'class' => 'form-control select2', 'id' => 'package_id', 'data-placeholder' => trans('Package'), ]) !!}
{!! Form::hidden('theory_package_id', $theorySubscription->theory_package_id, []) !!}
{!! Form::number('price', $theorySubscription->price, [ 'class' => 'form-control', 'id' => 'price', 'placeholder' => trans('messages.Price'), ]) !!}
{!! Form::number('whatsapp', $theorySubscription->whatsapp, [ 'class' => 'form-control', 'id' => 'whatsapp', 'placeholder' => trans('messages.Whatsapp'), ]) !!}
{!! Form::datetimeLocal('subscription_date', $theorySubscription->subscription_date, [ 'class' => 'form-control', 'placeholder' => trans('messages.Start date'), ]) !!}
{!! Form::datetimeLocal('expiration_date', $theorySubscription->expiration_date, [ 'class' => 'form-control', 'placeholder' => trans('messages.Expiration date'), ]) !!}
{!! Form::Close() !!}
@endsection @section('script') @endsection