%PDF- %PDF-
Direktori : /var/www/pjc/resources/views/gestioneOre/ |
Current File : /var/www/pjc/resources/views/gestioneOre/oreassegnate.blade.php |
@extends('layouts.main') @section('content') <!-- START BREADCRUMB --> <ul class="breadcrumb"> <li><a href="">Home</a></li> <li class="active">Ore assegnate</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">Ore Assegnate</h1> </div> <div class="panel-body"> <table class="table datatable"> <thead> <th>Mese</th> <th>Commessa</th> <th>Descrizione</th> <th>Cliente</th> <th>Impegno h</th> <th>Ore fatte</th> <th>Azioni</th> </thead> <tbody> @foreach ($planning as $item) <tr> <td>{{$item->mese}}.{{ $mesi[$item->mese ]}}</td> <td>@if(isset($commesse[$item->id_commessa]))<a target="_blank" href="{{ action('gestioneOre@vcommessa', $commesse[$item->id_commessa]->name) }}">{{ $commesse[$item->id_commessa]->name}}</a>@endif</td> <td>@if(isset($commesse[$item->id_commessa])) {{ $commesse[$item->id_commessa]->description}} @endif</td> <td>@if(isset($commesse[$item->id_commessa])){{ $accounts[$commesse[$item->id_commessa]->account_id] }} @endif</td> <td class="text-center">{{ $item->carico }}</td> <td class="text-center">{{ $item->fatte}}</td> <td>@if(isset($commesse[$item->id_commessa]))<a href="{{ action('gestioneOre@add',$item->id) }}"><button class="btn btn-default"> <i class="fa fa-clock-o" data-toggle="tooltip" data-placement="top" title="" data-original-title="aggiungi ore"></i> </button></a>@endif</td> </tr> @endforeach </tbody> </table> </div> </div> </div> </div> @stop