@extends('layouts.logeado') @if($method == "post") @section('sub_title', 'Novedad en servicio: '. $servicio->id) @else @section('sub_title', 'Atender novedad en servicio: '. $novedad->servicios_id) @endif @section('sub_content')
{{ Form::model($novedad, ['route' => $route, 'method' => $method] ) }} {{ Form::hidden('id', null) }} @if($method == "put") {{ Form::hidden('servicios_id', $novedad->servicios_id) }} @else {{ Form::hidden('servicios_id', $servicio->id) }} @endif
{{ Form::label('tipo', 'Tipo de novedad', ['class' => 'label-required col-md-2']) }}
{!! $errors->first('cuenta', '

:message

') !!}
{{ Form::label('estado', 'Estado', ['class' => 'label-required col-md-2']) }}
{!! $errors->first('estado', '

:message

') !!}
{{ Form::label('detalle', 'Detalle novedad', ['class' => 'label-required col-md-2']) }}
@if($method == "post") @else @endif {!! $errors->first('detalle', '

:message

') !!}
{{ Form::label('solucion', 'Solución/Gestión', ['class' => 'col-md-2']) }}
@if($method == "post") @else @endif {!! $errors->first('solucion', '

:message

') !!}
{!! Form::button('Enviar', ['type' => 'submit', 'class' => 'btn btn-dark']) !!}
{{ Form::close() }}
@endsection @section('modal') @endsection @section('script') @if ($method == 'put') @endif @endsection @section('sincro') @endsection