@extends('templates.default') @section('css') {{ HTML::style('css/select2.css') }} {{ HTML::style('css/select2-bootstrap.css') }} {{ HTML::style('css/bootstrap-datetimepicker.min.css') }} @endsection @section('nav')
  • Home
  • Orden Entrega
  • Registrar
  • @endsection @section('content') @if($errors->count() > 0)
    @endif
    {{ Form::token() }} {{ $form->id }}
    @if( $orden && $orden->gestion != 'ALQ')
    {{ $form->solo_pase_puerta }}
    @endif @if( $orden && $orden->gestion )
    {{ $orden->getGestionDisplay() }}
    @endif @if( $orden == null || $orden->gestion == 'ALQ' ) @if( Usuario::getLogueado()->rol == 'transporte' || Usuario::getLogueado()->rol == 'administrador' ) @else @endif @endif
    {{ $form->vehiculo }}
    {{ $form->chofer }}
    @if( Usuario::getLogueado()->rol == 'administrador' || Usuario::getLogueado()->rol == 'operaciones')

    {{ $form->horario_entrada }}
    {{ $form->horario_salida }}
    @endif

    @foreach($form->destinos as $destino) @endforeach
    Orden Destino Celular Email Dirección
    {{ $it+1 }} {{ $destino->destino }} {{ $errors->{'destino_'.$it}->first('destino', ':message') }} {{ $destino->celular }} {{ $errors->{'destino_'.$it}->first('celular', ':message') }} {{ $destino->email }} {{ $errors->{'destino_'.$it}->first('email', ':message') }} {{ $destino->direccion }} {{ $errors->{'destino_'.$it}->first('direccion', ':message') }}
     Agregar Destino

    {{ $form->descripcion }}

    @endsection @section('js-footer') {{ HTML::script('js/jquery.maskedinput.min.js') }} {{ HTML::script('js/detalleordenentrega.js') }} {{ HTML::script('js/moment.js') }} {{ HTML::script('js/bootstrap-datetimepicker.js') }} @endsection