%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/sommario.blade.php

<?php
use App\Utility;
?>
  @extends('layouts.main')
  @section('content')

  <!-- START BREADCRUMB -->
  <ul class="breadcrumb">
    <li><a href="">Home</a></li>                    
    <li> Utenti</li>
    <li class="active"> Sommario </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 inserire per utente</h1>
          
        </div>
          
        <div class="panel-body">
     

                 <div class="table-responsive">
                                        <table class="table table-bordered table-striped table-actions">
                                            <thead>
                                                <tr>
                                                  <th width="50">Data/Utente</th>
                                                  @foreach($dati['date'] as $item)
                                                    <th width="50" class="text-center">{{ Utility::giornoData($item) }}<br>{{ date("d M Y",strtotime($item)) }}</th>
                                                  @endforeach
                                                </tr>
                                            </thead>
                                            <tbody> 
                                             @foreach($dati['ore'] as $item => $value)                             
                                                <tr id="trow_1">
                                                  <td class="text-center"><a href="{{ action('gestioneOre@utente',$dati['id'][$item])}}">{{ $item }}</a></td>
                                                  @foreach($dati['ore'][$item] as $ore => $value)
                                                  
                                                  @if($dati['ore'][$item][$ore][0]->somma)
                                                  <td class="text-center"><span class="label label-success">{{ $dati['ore'][$item][$ore][0]->somma }}</span></td>
                                                  @else
                                                  <td class="text-center"><span class="label label-danger">00:00:00</span></td>
                                                  @endif
                                                  @endforeach



                                                   
                                                </tr>
                                              @endforeach
                                                
                                            </tbody>
                                        </table>
                                    </div>
        </div>
      </div>
      </div>
    </div>

  
  @stop

Zerion Mini Shell 1.0