@extends('andes.zbase::layout') @section('content')
{!! Breadcrumbs::render('fretes.editar') !!}

Fretes

Dados do frete
{!! Form::model($frete, ['route'=>['andes.fretes.salvar', $frete->id], 'class'=>'form-horizontal form-validate', 'role'=>'form']) !!}
{!! Form::text('transportadora', null, ['class'=>'form-control', 'maxlength'=>'255', 'required']) !!} @if($errors->has('transportadora')) {{ $errors->first('transportadora') }} @endif
{!! Form::text('estado', null, ['class'=>'form-control', 'maxlength'=>'2', 'required']) !!} @if($errors->has('estado')) {{ $errors->first('estado') }} @endif
@if($errors->has('is_interior')) {{ $errors->first('is_interior') }} @endif
{!! Form::text('prazo', null, ['class'=>'form-control dias', 'maxlength'=>'3', 'required']) !!} dias
@if($errors->has('prazo')) {{ $errors->first('prazo') }} @endif
{!! Form::text('peso_minimo', null, ['class'=>'form-control decimal', 'maxlength'=>'6', 'required']) !!} Kg
@if($errors->has('peso_minimo')) {{ $errors->first('peso_minimo') }} @endif
{!! Form::text('peso_maximo', null, ['class'=>'form-control decimal', 'maxlength'=>'6', 'required']) !!} Kg
@if($errors->has('peso_maximo')) {{ $errors->first('peso_maximo') }} @endif
R$ {!! Form::text('preco', null, ['class'=>'form-control decimal', 'maxlength'=>'7', 'required']) !!}
@if($errors->has('preco')) {{ $errors->first('preco') }} @endif
{!! Form::submit('Salvar', ['class'=>'btn green']) !!}
{!! Form::close() !!}
@endsection @section('scripts') @endsection