@if (isset($doc))
{!! Form::model($doc, array('url' => url('package/'.$doc->id), 'method' => 'put', 'files'=> true,'id'=>'fvalidate')) !!}
@else
{!! Form::open(array('url' => route('package.store'), 'method' => 'post', 'files'=> true,'id'=>'fvalidate')) !!}
@endif
{!! Form::label('name', 'Tên gói', array('class' => ' required')) !!}
{!! Form::text('name',null, array('class' => 'form-control', 'required' => true)) !!}
{{ $errors->first('name', ':message') }}
{!! Form::label('order_price', 'Giá bán', array('class' => ' required')) !!}
{!! Form::text('order_price',@number_format($doc->order_price), array('class' => 'form-control price', 'required' => true)) !!}
{{ $errors->first('order_price', ':message') }}
{!! Form::label('price', 'Giá nạp cho KH', array('class' => ' required')) !!}
{!! Form::text('price',@number_format($doc->price), array('class' => 'form-control price', 'required' => true)) !!}
{{ $errors->first('price', ':message') }}