@php $layout = 'layouts.admin'; $todayDate = now()->format('d-m-Y H:i'); $expiryDate = now()->addYear()->format('d-m-Y H:i'); @endphp @extends($layout) @section('content')
{{ Form::open(['route' => 'gift-card-orders.store', 'method' => 'POST' ,'id' => 'ajaxSave'])}}
{{Form::label('card_amount', __('gift_card.gift_card_amount'), ['class' => 'control-label'])}} {{ Form::number('card_amount', '', ['class' => 'form-control' , 'required' => 'true'])}}
{{Form::label('to_email', __('gift_card.email'), ['class' => 'control-label'])}} {{ Form::email('to_email', '', ['class' => 'form-control' ,'required' => 'true'])}}
{{Form::label('start_date', __('gift_card.start_date'), array('class' => 'control-label'))}} {!!Form::text('start_date',$todayDate,['class'=>'form-control datepicker-input-sch']) !!}
{{Form::label('expiry_date', __('gift_card.end_date'), array('class' => 'control-label'))}} {!!Form::text('expiry_date',$expiryDate,['class'=>'form-control datepicker-input-sch']) !!}
{{ Form::label('message', __('gift_card.gift_message'), ['class' => 'control-label'])}} {{ Form::textarea('message', null, ['class'=>'form-control', 'size' => '4x4', 'id' => 'content']); }}
  • {{ Form::submit( __('gift_card.send'), array('class' => 'btn btn-primary width80'));}}
{{ Form::close()}}
@endsection @section('script') @endsection