%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pjc/storage/framework/views/
Upload File :
Create Path :
Current File : /var/www/pjc/storage/framework/views/0fa2e3d31822d683fba2abaa51b8a4436de77db0.php

  <?php $__env->startSection('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">
		<?php 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>
			<?php echo e(Session::get('message')); ?>.
		</div>
		<?php 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>
						<?php $__currentLoopData = $planning; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
						<tr>
                                                    <td><?php echo e($item->mese); ?>.<?php echo e($mesi[$item->mese ]); ?></td>  
							<td><?php if(isset($commesse[$item->id_commessa])): ?><a target="_blank"
								href="<?php echo e(action('gestioneOre@vcommessa', $commesse[$item->id_commessa]->name)); ?>"><?php echo e($commesse[$item->id_commessa]->name); ?></a><?php endif; ?></td>
							<td><?php if(isset($commesse[$item->id_commessa])): ?> <?php echo e($commesse[$item->id_commessa]->description); ?> <?php endif; ?></td>
							<td><?php if(isset($commesse[$item->id_commessa])): ?><?php echo e($accounts[$commesse[$item->id_commessa]->account_id]); ?> <?php endif; ?></td>
							
							<td class="text-center"><?php echo e($item->carico); ?></td>
							<td class="text-center"><?php echo e($item->fatte); ?></td>
							<td><?php if(isset($commesse[$item->id_commessa])): ?><a
								href="<?php echo e(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><?php endif; ?></td>

						</tr>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					</tbody>
				</table>

			</div>
		</div>
	</div>
</div>


<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/pjc/resources/views/gestioneOre/oreassegnate.blade.php ENDPATH**/ ?>

Zerion Mini Shell 1.0