%PDF- %PDF-
Direktori : /var/www/pjc/resources/views/gestioneOre/ |
Current File : /var/www/pjc/resources/views/gestioneOre/add.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-danger" role="alert"> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> {{ Session::get('message') }} </div> @endif <div class="panel panel-colorful"> <div class="panel-heading ui-draggable-handle"> <h1 class="panel-title">Aggiungi ore commessa {{ $dati}} </h1> </div> <div class="panel-body"> {{ Form::open(array('url' => 'gestioneore/addore/1', '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"> <div class="input-group"> <span class="input-group-addon"><span class="fa fa-cogs"></span></span> <input name="commessa" type="text" class="form-control" id="commessa" value="{{ $dati }}"> </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=""> </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"> </div> <span class="help-block">Inserisci il tempo 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"></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="programmata" value="{{ $dati }}"> <input type="hidden" name="mese" value="{{ $mese }}"> <input type="hidden" name="anno" value="{{ $anno }}"> <input type="hidden" name="idriga" value="{{ $riga->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