@extends('layouts.app') @section('title', 'Edit Gift Voucher') @section('content')

Edit Gift Voucher

{!! Form::open(['url' => action('GiftVoucherController@update', [$gift_voucher->id]), 'method' => 'PUT', 'id' => 'update_gift_voucher']) !!}
{!! Form::label('status', 'Gift voucher Status' . ':*') !!} status == 1 ? ' checked' : '') }}>
{!! Form::label('type', __('Type') . ':*' ) !!}
{!! Form::select('type', ['fixed' => __('lang_v1.fixed'), 'percentage' => __('lang_v1.percentage')], $gift_voucher->type , ['class' => 'form-control','placeholder' => __('messages.please_select'), 'required']); !!}
{!! Form::label('amount', ' Amount' . ':*') !!} {!! Form::number('amount', $gift_voucher->amount, ['class' => 'form-control', 'required', 'placeholder' => 'Amount']) !!}
{!! Form::label('issuedDate', ' Issued Date' . ':*') !!} {!! Form::date('issuedDate', $gift_voucher->issuedDate, ['class' => 'form-control', 'required', 'placeholder' => 'Issued Date']) !!}
{!! Form::label('expiryDate', ' Expiry Date' . ':*') !!} {!! Form::date('expiryDate', $gift_voucher->expiryDate, ['class' => 'form-control', 'required', 'placeholder' => 'Expiry Date']) !!}
{!! Form::close() !!}
@endsection