@extends('umrah.layouts.admin') @section('content') {!! Form::model($model, ['class'=>'form-horizontal']) !!} @include('_version_02.umrah.layouts.partials._alert')

{{App\Language::trans('Detail Form')}}

{!! Form::label('name', App\Language::trans('Name'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('name', null, ['class'=>'form-control','autofocus','required']) !!} {!!$errors->first('name', '')!!}
{!! Form::label('store_id', App\Language::trans('Store'), ['class'=>'control-label col-md-4']) !!}
{!! Form::select('store_id', App\Store::combobox(), null, ['class'=>'form-control','required']) !!} {!!$errors->first('store_id', '')!!}
{!! Form::label('valid_duration', App\Language::trans('Valid Duration'), ['class'=>'control-label col-md-4']) !!}
{!! Form::number('valid_duration', 1, ['class'=>'form-control','min'=>1]) !!} {{App\Language::trans('Note: Valid duration start count from date issued.')}} {!!$errors->first('valid_duration', '')!!}
{!! Form::label('amount', App\Language::trans('Amount'), ['class'=>'control-label col-md-4']) !!}
{!! Form::text('amount', null, ['class'=>'form-control','required']) !!} {!!$errors->first('amount', '')!!}
{!! Form::label('description', App\Language::trans('Description'), ['class'=>'control-label col-md-2']) !!}
{!! Form::textarea('description', null, ['rows'=>5,'class'=>'form-control']) !!} {!!$errors->first('description', '')!!}
{!! Form::close() !!} @endsection @section('script') @endsection