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

Entregas

Dados da entrega
{!! Form::model($entrega, ['route'=>['andes.entregas.salvar', $entrega->id], 'class'=>'form-horizontal form-validate', 'role'=>'form']) !!}
{!! Form::text('motoboy', null, ['class'=>'form-control', 'maxlength'=>'255', 'required']) !!} @if($errors->has('motoboy')) {{ $errors->first('motoboy') }} @endif
{!! Form::text('cep', null, ['class'=>'form-control cep', 'maxlength'=>'9', 'required']) !!} @if($errors->has('cep')) {{ $errors->first('cep') }} @endif
{!! Form::text('prazo', null, ['class'=>'form-control dias', 'maxlength'=>'3', 'required']) !!} dias
@if($errors->has('prazo')) {{ $errors->first('prazo') }} @endif
R$ {!! Form::text('preco', null, ['class'=>'form-control decimal', 'maxlength'=>'7', 'required']) !!}
@if($errors->has('preco')) {{ $errors->first('preco') }} @endif
{!! Form::text('altura', null, ['class'=>'form-control decimal', 'maxlength'=>'6']) !!} cm
@if($errors->has('altura')) {{ $errors->first('altura') }} @endif
{!! Form::text('largura', null, ['class'=>'form-control decimal', 'maxlength'=>'6']) !!} cm
@if($errors->has('largura')) {{ $errors->first('largura') }} @endif
{!! Form::text('profundidade', null, ['class'=>'form-control decimal', 'maxlength'=>'6']) !!} cm
@if($errors->has('profundidade')) {{ $errors->first('profundidade') }} @endif
{!! Form::submit('Salvar', ['class'=>'btn green']) !!}
{!! Form::close() !!}
@endsection @section('scripts') @endsection