%PDF- %PDF-
Direktori : /var/www/pjc/resources/views/gestioneOre/ |
Current File : /var/www/pjc/resources/views/gestioneOre/update.blade.php |
@extends('layouts.main') @section('content') <!-- START BREADCRUMB --> <ul class="breadcrumb"> <li><a href="">Home</a></li> <li> Commessa</li> <li class="active"> </li> </ul> <!-- END BREADCRUMB --> <div class="row"> <div class="col-md-12"> @if (Session::has('message')) <div class="alert alert-success" role="alert"> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> <strong>Well done!</strong> {{{ Session::get('message') }}}. </div> @endif <div class="panel panel-colorful"> <div class="panel-heading ui-draggable-handle"> <h1 class="panel-title">Modifica ore commessa {{ $dati[0]->commessa }} </h1> </div> <div class="panel-body"> {{ Form::open(array('url' => 'a/gestioneore/saveupdate', 'class' => 'form-horizontal')) }} <div class="panel panel-default"> <div class="panel-body"> <p>Inserimento ore lavorate commessa</p> </div> <div class="panel-body form-group-separated"> <div class="form-group" > <label class="col-md-3 col-xs-12 control-label">Commessa</label> <div class="col-md-6 col-xs-12" style="z-index: 100"> <div class="input-group"> <span class="input-group-addon"><span class="fa fa-cogs"></span></span> <select name="commessa" class="form-control select" data-live-search="true"> @foreach ($commessearray as $item => $key) <option value="{{ $item }}" @if($item == $dati[0]->commessa) selected @endif>{{ substr($key,0,60) }}</option> @endforeach </select> </div> <span class="help-block">Commessa</span> </div> </div> <div class="form-group"> <label class="col-md-3 col-xs-12 control-label">Data</label> <div class="col-md-6 col-xs-12"> <div class="input-group"> <span class="input-group-addon"><span class="fa fa-calendar"></span></span> <input name="data" type="text" class="form-control datepicker" value="{{ $dati[0]->data }}"> </div> <span class="help-block">Inserisci la data del lavoro</span> </div> </div> <div class="form-group"> <label class="col-md-3 col-xs-12 control-label">Tempo</label> <div class="col-md-6 col-xs-12"> <div class="input-group"> <span class="input-group-addon"><span class="fa fa-clock-o"></span></span> <input name="tempo" type="time" class="form-control" value="{{ $dati[0]->tempo }}"> </div> <span class="help-block">Inserisci la data del lavoro</span> </div> </div> <div class="form-group"> <label class="col-md-3 col-xs-12 control-label">Descrizione</label> <div class="col-md-6 col-xs-12"> <textarea name="descrizione" class="form-control" rows="5">{{ $dati[0]->descrizione }}</textarea> <span class="help-block">Inserisci la descrizione del lavoro svolto</span> </div> </div> </div> <input type="hidden" name="idUtente" value="{{ Session::get('idUtente', function() { return 'guest'; }) }}"> <input type="hidden" name="utente" value="{{ Session::get('users', function() { return 'guest'; }) }}"> <input type="hidden" name="id" value="{{ $dati[0]->id}}"> <div class="panel-footer"> <button class="btn btn-default">Annulla</button> <button class="btn btn-primary pull-right">Salva</button> </div> </div> {{ Form::close() }} </div> </div> </div> </div> @stop