%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pjc/resources/views/gestioneOre/
Upload File :
Create Path :
Current File : /var/www/pjc/resources/views/gestioneOre/addglobal.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>
                {{ Session::get('message') }}
            </div>
        @endif


        <div class="panel panel-colorful">
            <div class="panel-heading ui-draggable-handle">
                <h1 class="panel-title">Aggiungi ore commesse</h1>
            </div>

            <div class="panel-body">
                {{ Form::open(array('url' => 'a/gestioneore/saveoreglobal', 'class' => 'form-horizontal')) }}

                <div class="panel panel-default">

                    <div class="panel-body">
                        <p>Inserimento ore lavorate commesse</p>
                    </div>
                    <div class="panel-body form-group-separated">
                        <div class="form-group" >
                            <label class="col-md-3 col-xs-12 control-label">Utente</label>
                            <div class="col-md-6 col-xs-12" style="z-index: 102">
                                <div class="input-group">
                                    <span class="input-group-addon"><span class="fa fa-cogs"></span></span>
                                    @if($tecnico == 0)
                                    <select  name="idUtente" class="form-control select"
                                            data-live-search="true"> @foreach ($utenti as $item => $key)
                                            <option value="{{ $item }}">{{ substr($key,0,60) }}</option> @endforeach
                                    </select>
                                    @else
                                      <select  name="idUtente" class="form-control select"
                                               data-live-search="true" readonly> 
                                            <option value="{{ $tecnico }}">{{ $tecnico }}</option> 
                                    </select>
                                    @endif
                                </div>
                                <span class="help-block">Tecnico</span>
                            </div>
                        </div>


                        <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 ($commesse as $item => $key)
                                            <option value="{{ $item }}">{{ 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="">
                                </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" style="z-index: 97">
                            <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>

                    <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

Zerion Mini Shell 1.0