@extends('admin.layouts.master') @section('css') @endsection @section('content')
{!! Form::open(array('route' => \App\Helpers\Helper::adminPrefix(). '.store', 'name' => 'user-form', 'id' => 'user-form', 'autocomplete' => 'off')) !!}

{{ __('Create') }} {{ \App\Helpers\Helper::pagePrefix(2) }}

{!! Form::label('service_id', 'Service :', ['class' => 'control-label']) !!} {!! Form::select('service_id', \App\Helpers\Helper::services(false), old('service_id'), ['class' => $errors->has('service_id') ? 'form-control is-invalid' : 'form-control', 'id' => 'service_id']) !!} @if ($errors->has('service_id')) {{ $errors->first('service_id') }} @endif
{!! Form::label('promo_limit', 'Promo Limit :', ['class' => 'control-label']) !!} {!! Form::number('promo_limit', old('promo_limit', 0), ['class' => $errors->has('promo_limit') ? 'form-control is-invalid' : 'form-control', 'id' => 'promo_limit', 'placeholder' => 'Promo limit']) !!} @if ($errors->has('promo_limit')) {{ $errors->first('promo_limit') }} @endif
{!! Form::label('promo_at', 'Promo Date :', ['class' => 'control-label']) !!}
{!! Form::text('promo_at', old('promo_at'), ['class' => $errors->has('promo_at') ? 'form-control is-invalid' : 'form-control', 'id' => 'promo_at']) !!}
@if ($errors->has('promo_at')) {{ $errors->first('promo_at') }} @endif
{!! Form::close() !!}
@endsection @section('script') @endsection