{!! Form::open(['url' => '/admin/voucher-create']) !!}
{!! Form::label('Name') !!}
{!! Form::text('voucher_name', null, ['class' => 'form-control', 'placeholder' => 'Name','id' => 'voucher_name']) !!}
@if ($errors->has('voucher_name'))
{!! $errors->first('voucher_name') !!}@endif
{!! Form::label('Code') !!}
{!! Form::text('voucher_code', null, ['class' => 'form-control', 'placeholder' => 'Name','id' => 'voucher_code']) !!}
@if ($errors->has('voucher_code'))
{!! $errors->first('voucher_code') !!}@endif
{!! Form::label('Amount') !!}
{!! Form::text('amount', null, ['class' => 'form-control', 'placeholder' => 'Amount']) !!}
@if ($errors->has('amount'))
{!! $errors->first('amount') !!}@endif
{!! Form::label('Amount Type') !!}
{!! Form::select('amount_type', [''=>'Select Amount Type', 'Amount' => 'Amount','Percentage' => 'Percentage', ], null, ['class' => 'form-control']) !!}
{!! Form::label('Item Type') !!}
{!! Form::select('item_type', $item_type, null, ['class' => 'form-control','id' => 'item_type','placeholder' => 'Select Item Type']) !!}
@if ($errors->has('item_type'))
{!! $errors->first('item_type') !!}@endif
{!! Form::label('Brand') !!}
{!! Form::select('brand', $brand, null, ['class' => 'form-control','id' => 'brand','placeholder' => 'Select Brand']) !!}
@if ($errors->has('brand'))
{!! $errors->first('brand') !!}@endif
{!! Form::label('Category') !!}
{!! Form::select('category', $category, null, ['class' => 'form-control','id' => 'category','placeholder' => 'Select Category']) !!}
@if ($errors->has('category'))
{!! $errors->first('category') !!}@endif
{!! Form::label('Note') !!}
{!! Form::textarea('note', null, ['class' => 'form-control', 'rows' => '3','placeholder' => 'Note', 'id' => 'note']) !!}
@if ($errors->has('note'))
{!! $errors->first('note') !!}@endif
{!! Form::label('From') !!}
{!! Form::date('from', \Carbon\Carbon::now(), ['class' => 'form-control']) !!}
{!! Form::label('To') !!}
{!! Form::date('to', \Carbon\Carbon::now(), ['class' => 'form-control']) !!}
{!! Form::label('Show') !!}
{!! Form::select('is_show', ['Yes' => 'Yes','No' => 'No' ], null, ['class' => 'form-control']) !!}
{!! Form::label('Status') !!}
{!! Form::select('is_exist', ['Active' => 'Active', 'Inactive' => 'Inactive'], null, ['class' => 'form-control']) !!}