%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pjc/resources/views/planning/
Upload File :
Create Path :
Current File : /var/www/pjc/resources/views/planning/addCommessa.blade.php

 @extends('layouts.main') @section('content')

<!-- START BREADCRUMB -->
<ul class="breadcrumb">
	<li><a href="">Home</a></li>
	<li>Planning</li>
	<li class="active">Aggiungi commessa</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 Commessa al Planning di {{ $mese }}
					{{ $anno }}</h1>
			</div>

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

				<div class="panel panel-default">

					<div class="panel-body">
						<p>Inserimento dati</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">

								<select name="id_commessa" class="form-control select"
									data-live-search="true"> @foreach ($commesse as $item => $key)
									<option value="{{ $item }}">{{ $key }}</option> @endforeach
								</select>
							</div>


						</div>

						<div class="form-group">
							<label class="col-md-3 col-xs-12 control-label">Tecnico</label>

							<div class="col-md-6">

								<select name="id_tecnico" class="form-control select"
									data-live-search="true"> @foreach ($tecnici as $item => $key)
									<option value="{{ $item }}">{{ $key }}</option> @endforeach
								</select>
							</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="carico" type="time" class="form-control" required>
								</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">Assistenza?</label>
                                        <div class="col-md-4">                                    
                                            <input type="checkbox" name="programmata" class="icheckbox"/> 
                                        </div>
                                        
                                    </div>





					</div>
					<input type="hidden" name="anno" value="{{ $anno }}"> 
                                        <input type="hidden" name="mese" value="{{ $mesen }}">
                                        <input type="hidden" name="id_utente" value="{{Session::get('idUtente') }}">
                                        <input type="hidden" name="id_settore" value="{{Session::get('idSettore') }}">
					<div class="panel-footer">
                                            <a href="{{ action('Planning@create',[$mesen,$anno]) }}" class="btn btn-primary">Annulla</a>
						<button class="btn btn-primary pull-right">Salva</button>
					</div>
				</div>
				{{ Form::close() }}
			</div>
		</div>
	</div>
</div>


@stop

Zerion Mini Shell 1.0